title: How to create a file one directory up?
body: <p>How can I create a file in python one directory up, without using the full path?</p>
  
  <p>I would like a way that worked both for windows and linux.</p>
  
  <p>Thanks.</p>