title: How to create relative path from *args?
body: <p>How do I parse the inputed <code>*args</code> into a path in the form of <code>(working_dir, '..', 'path', 'to', 'file')</code>? Right now I get <code>..,json succesfully created</code> even though I can't see the folder.</p>
  
  <pre><code>import os
  
  def mkdir_json(*args):
      """Creates a folder with a relative path to the working directory
  
          Args:
              *Args: path to folder that is to be created
      """
  
      working_dir = os.path.dirname(__file__) #Get's the current working directory
      path = ",".join(args)
      target_dir = os.path.join(working_dir, path)
      try: 
          if os.path.exists(target_dir) == True:
              print(target_dir, 'exists')
          else:
              os.mkdir(os.path.join(working_dir, path))
              print(os.path.join(working_dir, path), 'succesfully created')
      except OSError as e:
          print(folder,'coult not be created', e)
  
  mkdir_json('..', 'json' )
  </code></pre>