greg <[EMAIL PROTECTED]> wrote:
>
>Dennis Lee Bieber wrote:
>> The command line is the only place the slash direction has any
>> effect any way... Avoid os.system(), subprocess with shell = True, and
>> forward is safe in any position.
>
>I'm not sure that's quite true. On Windows, it's not the
>sh
Dennis Lee Bieber wrote:
The command line is the only place the slash direction has any
effect any way... Avoid os.system(), subprocess with shell = True, and
forward is safe in any position.
I'm not sure that's quite true. On Windows, it's not the
shell that splits up the command line into arg
On Oct 20, 4:47 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> Marcin201 wrote:
> > Is there an built-in functionality in python to convert Windows paths
> > to Unix paths? I am running into problems when creating data files on
> > Windows and the running them on a Unix platform. I create paths usi
Marcin201 wrote:
Is there an built-in functionality in python to convert Windows paths
to Unix paths? I am running into problems when creating data files on
Windows and the running them on a Unix platform. I create paths using
os.path.join.
os.path.join('Pictures', '01.jpg') returns 'Pictures\
In message
<[EMAIL PROTECTED]>,
Marcin201 wrote:
> os.path.join('Pictures', '01.jpg') returns 'Pictures\\01..jpg' on
> Win. When I read files created on Win under Unix this is a problem,
> python cannot open 'Pictures\\01.jpg'
But it can on Windows, right?
os.path contains functions specific to
On Oct 19, 6:00 am, Marcin201 <[EMAIL PROTECTED]> wrote:
> Is there an built-in functionality in python to convert Windows paths
> to Unix paths? I am running into problems when creating data files on
> Windows and the running them on a Unix platform. I create paths using
> os.path.join.
>
> os.p
Is there an built-in functionality in python to convert Windows paths
to Unix paths? I am running into problems when creating data files on
Windows and the running them on a Unix platform. I create paths using
os.path.join.
os.path.join('Pictures', '01.jpg') returns 'Pictures\\01..jpg' on
Win.