In article <9aaf6a31-a34e-454b-a8f0-e206ad9b7...@t2g2000yqn.googlegroups.com>,
koranthala wrote:
>
>path = r'C:/"Program Files"/testfolder/2.3/test.txt'
>if os.path.lexists(path):
>print 'Path Exists'
>else:
>print 'No file found in path - %s' %path
>print Popen(path, stdout=PIPE, shell=T
koranthala schreef:
> Hi all,
>My code is as follows:
>
> path = r'C:/"Program Files"/testfolder/2.3/test.txt'
> if os.path.lexists(path):
> print 'Path Exists'
> else:
> print 'No file found in path - %s' %path
> print Popen(path, stdout=PIPE, shell=True).stdout.read()
>
> The output
On Sat, Oct 31, 2009 at 11:26 AM, koranthala wrote:
> Hi all,
> My code is as follows:
>
> path = r'C:/"Program Files"/testfolder/2.3/test.txt'
> if os.path.lexists(path):
> print 'Path Exists'
> else:
> print 'No file found in path - %s' %path
> print Popen(path, stdout=PIPE, shell=True).