Python console's workspace path

Andrej Viktorovich viktorovichandrej at gmail.com
Tue Sep 5 10:26:23 EDT 2017


Hello,

I run Python 3.6 console under windows 10. Where is default console directory?

I run script:
>>> tf = open ("aaa.txt", "w")
>>> tf.write("aaaa %s" % 123)
>>> tf.close()

Where file aaa.txt will be created? Can I change default work space location? How?



More information about the Python-list mailing list