Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8274

Re: doing cross platform file work

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <karamheenkuriyaar@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.054
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'paths': 0.07; 'scripts': 0.09; 'message-id:@glegroupsg2000goo.googlegroups.com': 0.09; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'subject:file': 0.13; 'simplest': 0.16; 'cc:addr:python-list': 0.16; 'cc:2**0': 0.21; '(but': 0.22; 'cc:no real name:2**0': 0.22; 'header:In-Reply- To:1': 0.22; 'moving': 0.25; 'windows': 0.27; 'accessible': 0.29; 'cc:addr:python.org': 0.30; 'header:User-Agent:1': 0.34; 'file': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'install': 0.38; 'something': 0.38; 'subject:: ': 0.38; 'common': 0.39; 'perhaps': 0.39; 'received:209': 0.39; 'your': 0.61; 'other.': 0.62; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'care': 0.73; 'reply-to:addr:googlegroups.com': 0.74; 'received:209.85.210.56': 0.93; 'received:mail- pz0-f56.google.com': 0.93
Newsgroups comp.lang.python
Date Thu, 23 Jun 2011 00:13:18 -0700 (PDT)
In-Reply-To <mailman.292.1308764714.1164.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=202.54.232.135; posting-account=cd4MoAoAAAC_Z_VEetjRh5MLyyCUPBNM
User-Agent G2/1.0
X-Google-Web-Client true
MIME-Version 1.0
Subject Re: doing cross platform file work
From Gurpreet Singh <karamheenkuriyaar@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To comp.lang.python@googlegroups.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.316.1308813201.1164.python-list@python.org> (permalink)
Lines 3
NNTP-Posting-Host 82.94.164.166
X-Trace 1308813201 news.xs4all.nl 14136 [::ffff:82.94.164.166]:59304
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8274

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: doing cross platform file work Gurpreet Singh <karamheenkuriyaar@gmail.com> - 2011-06-23 00:13 -0700
  Re: doing cross platform file work "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2011-06-23 23:25 +0100

csiph-web