On Wed, Sep 6, 2017 at 12:26 AM, Andrej Viktorovich
<viktorovichand...@gmail.com> wrote:
> 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?

Easy way to find out:

>>> import os
>>> os.getcwd()
'/home/rosuav'

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to