os.system question
Wojtek Walczak
gminick at nie.ma.takiego.adresu.w.sieci.pl
Tue Aug 12 19:18:07 EDT 2008
Dnia 12 Aug 2008 22:58:22 GMT, Steven D'Aprano napisa³(a):
>> but if I was in a hurry to find out who I was I would be tempted still
>> to use the deprecated "os.popen('whoami').read()".
>
> Is it really deprecated? Since when? I'm using Python 2.5 and it doesn't
> raise any warnings or mention anything in the doc string.
I think that the deprecation warnings were added in Python 2.6.
--
Regards,
Wojtek Walczak,
http://www.stud.umk.pl/~wojtekwa/
More information about the Python-list
mailing list