title: using printed value as input value in Python
body: <p>Can somebody help me in my problem,please.</p>
  
  <p>I am writting small script that reads user home directory,append name of folder and using file from that folder</p>
  
  <pre><code>import os
  i=os.path.expanduser('~')
  print ('{}\.myfolder'.format (i))
  </code></pre>
  
  <p>after that </p>
  
  <pre><code>myFile= ?????here must be resul of printing 
  winsound.PlaySound(myFile,winsound.SND_NOSTOP)
  </code></pre>