[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Request for tips on my first python script.
From:       Maric Michaud <maric () aristote ! info>
Date:       2006-09-08 12:00:55
Message-ID: 200609081400.56221.maric () aristote ! info
[Download RAW message or body]

Le vendredi 08 septembre 2006 13:56, Maric Michaud a écrit :
> maric@redflag2 jeu sep 07 09:17:51:~/test$ export HOME=/etc
> maric@redflag2 ven sep 08 13:53:17:/home/maric/test$ cd ~
> maric@redflag2 ven sep 08 13:53:22:~$ pwd
> /etc
> maric@redflag2 ven sep 08 13:55:46:~$ python -c 'import os
>
> > print os.path.expanduser("~")
> > '
>
> /etc

Of course it's not the same as :

maric@redflag2 ven sep 08 13:58:25:~$ export HOME=/etc
maric@redflag2 ven sep 08 14:00:11:~$ python -c 'import os
print os.path.expanduser("~maric")
'
/home/maric




-- 
_____________

Maric Michaud
_____________

Aristote - www.aristote.info
3 place des tapis
69004 Lyon
Tel: +33 426 880 097
-- 
http://mail.python.org/mailman/listinfo/python-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic