Default path for writing a file (in PythonWin)
Tyler Eaves
tyler at cg1.org
Mon Feb 3 14:17:38 EST 2003
More information about the Python-list mailing list
Mon Feb 3 14:17:38 EST 2003
- Previous message (by thread): Default path for writing a file (in PythonWin)
- Next message (by thread): Default path for writing a file (in PythonWin)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
dbrown2 at yahoo.com unleashed the following on comp.lang.python: > > > A couple questions from a relatively new Python user trying to get his > bearings: > > What should be the default path for myfile.write(mystring) if I use > myfile = file('thefile','w')? It looks like files are going to a > library or package directory for me. Is this a Python setting of > PythonWin? Is there a way to change it? > > Also, I have not been able to get a startup file to work in PythonWin. > I guess I need a specific description of where to place the startup > file, what to name it, etc. > > I would like to use Python interactively but getting a comfortable > enviroment with customized default settings has not been possible so > far (though I like PythonWin quite a bit). Any tips for these issues > or more generally would be appreciated. > > David With PythonWin, it's more or less anyone's guess. Normally, when run from the command line, a file with no path compenent will be in the current working directory. -- Tyler Eaves Funadmental Python - Free Ebook! http://cg1.org/pythontut.pdf
- Previous message (by thread): Default path for writing a file (in PythonWin)
- Next message (by thread): Default path for writing a file (in PythonWin)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list