doing cross platform file work

Gurpreet Singh karamheenkuriyaar at gmail.com
Thu Jun 23 03:13:18 EDT 2011


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:) - as such same scripts will work in both places



More information about the Python-list mailing list