Re: doing cross platform file work

2011-06-23 Thread Gurpreet Singh
File system paths are a thing you need to take care moving from one OS to other. Perhaps simplest way to avoid this in windows is install cygwin and enjoy. Keep your accessible files in directories /var or /home which are common (but not in something like /cygdrive/c - Cygwin equilvalent of C:) -

Re: doing cross platform file work

2011-06-23 Thread Rhodri James
On Thu, 23 Jun 2011 08:13:18 +0100, Gurpreet Singh karamheenkuriy...@gmail.com wrote: ...Cygwin spam. Twice. Please don't mail to both comp.lang.python and python-list. They are gatewayed to each other, so we see your messages twice, which makes us roughly half as likely to respond to

Re: doing cross platform file work

2011-06-23 Thread Ryan Kelly
On Wed, 2011-06-22 at 10:44 -0700, Tim Hanson wrote: Thanks for your responses to my student question about using OS paths in Python. For the more general case, I am a Linux user interested in making my scripts platform neutral, which would include Linux, Unix (including Mac), and

doing cross platform file work

2011-06-22 Thread Tim Hanson
Thanks for your responses to my student question about using OS paths in Python. For the more general case, I am a Linux user interested in making my scripts platform neutral, which would include Linux, Unix (including Mac), and Windows. I have looked at the python.org os segment and didn't

Re: doing cross platform file work

2011-06-22 Thread John Gordon
In mailman.292.1308764714.1164.python-l...@python.org Tim Hanson tjhan...@yahoo.com writes: For the more general case, I am a Linux user interested in making my scripts platform neutral, which would include Linux, Unix (including Mac), and Windows. I have looked at the python.org os