> mmm ... I kind of see what you mean.
>
> Does anyone have like a realy large shovel so I can dig a hole and hide ?
No worries, we've all been there before. Sometimes you just can't see
what's right in front of your face.
Don't let it stop you, or stop you from asking questions.
Peace
Bill Mil
[EMAIL PROTECTED] wrote:
import os.path
print os.path.expanduser('~/memo.txt')
C:\Documents and Settings\Administrator/memo.txt
f = open(os.path.expanduser('~/memo.txt'))
Traceback (most recent call last):
File "", line 1, in ?
f = open(os.path.expanduser('~/memo.tx
> > >>>
> > >>>
> > >>> import os.path
> > >>> print os.path.expanduser('~/memo.txt')
> > C:\Documents and Settings\Administrator/memo.txt
> > >>> f = open(os.path.expanduser('~/memo.txt'))
> > Traceback (most recent call last):
> > File "", line 1, in ?
> > f = open(os.path.expanduser('~/memo.txt'
Dave,
> >>>
> >>>
> >>> import os.path
> >>> print os.path.expanduser('~/memo.txt')
> C:\Documents and Settings\Administrator/memo.txt
> >>> f = open(os.path.expanduser('~/memo.txt'))
> Traceback (most recent call last):
> File "", line 1, in ?
> f = open(os.path.expanduser('~/memo.txt'))
> I
Danny Yoo wrote:
[Windows bashing cut]
Python's support for Windows stuff is actually quite good, thanks to the
work of Mark Hammond:
http://starship.python.net/crew/mhammond/
A lot of us here do use Windows for COM programming. Let's get back to
talking about Python programming and let's help
On Mar 9, 2005, at 01:13, Shitiz Bansal wrote:
Whats worse, I had found that the rule is different
for different versions of windows.Just proves what we
all know...Windows Suxx.
The Windows OS sucks!
And blows!
At the same time!
(name the reference, get a cookie ;) )
-- Max
maxnoel_fr at yahoo dot
> I have a script that converts data relating to my work.
> It works great on my Linux system but some of my colleagues run windows.
> I am attempting to convert the file paths to windows but am having no luck.
> I need to access 'memo.txt' in 'my documents' on windows & am struggling.
> I have
[Windows bashing cut]
Python's support for Windows stuff is actually quite good, thanks to the
work of Mark Hammond:
http://starship.python.net/crew/mhammond/
A lot of us here do use Windows for COM programming. Let's get back to
talking about Python programming and let's help Dave with hi
On Tue, 8 Mar 2005, Dave S wrote:
> IOError: [Errno 2] No such file or directory: 'c:\\my documents\\memo.txt'
My two thoughts.
1) is there actually a directory named "my documents" at the root? I
don't know about Win2000, but for Win XP, the "my documents" directory is
actually
C:\Documen
have permission to get to
> it.
>
> John
>
> -Original Message-
> From: Dave S [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 08, 2005 14:50
> To: [EMAIL PROTECTED]
> Cc: 'Python Tutor'
> Subject: Re: [Tutor] Acessing files in Windows
or'
Subject: Re: [Tutor] Acessing files in Windows 2000
John Purser wrote:
>Try c:\\my documents\\memo.txt
>
>
>John
>
>
Unfortunately thats a no go ...
palm.py
palm memo.txt to oocalc data.csv convertor, written by lentil ;)
[EMAIL PROTECTED] - enter "palm softwar
John Purser wrote:
Try c:\\my documents\\memo.txt
John
Unfortunately thats a no go ...
palm.py
palm memo.txt to oocalc data.csv convertor, written by lentil ;)
[EMAIL PROTECTED] - enter "palm software" in the title or it will be junked
09-03-2005 v1.02w Coded for Windows
07-03-2005 v1.02 Cod
Quoting Dave S <[EMAIL PROTECTED]>:
> I need to access 'memo.txt' in 'my documents' on windows & am
> struggling.
> I have tried just about every combination of \ and / and \\ and // but
> to no avail.
> I need something like ...
>
> C:\My Documents\memo.txt
>
> Can anyone advise me ?
I've nev
On Mar 8, 2005, at 22:26, John Purser wrote:
Try c:\\my documents\\memo.txt
John
Or even better, c:/My Documents/memo.txt
In most programming languages, you can use the slash as a path
separator under Windows as well. It'll save you a lot of trouble.
-- Max
maxnoel_fr at yahoo dot fr -- ICQ
Try something like this (change the username to the user you're logged in as,
or Administrator if that's how you're logged in):
c:\\documents and settingsmy documents\\memo.txt
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Dave S
Sent: Tuesday, Marc
Try c:\\my documents\\memo.txt
John
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dave S
Sent: Tuesday, March 08, 2005 14:24
To: Python Tutor
Subject: [Tutor] Acessing files in Windows 2000
I have a script that converts data relating to my work.
It w
16 matches
Mail list logo