How to Access Unix Shell
PaxDiablo
nobody at nowhere.com
Mon Jun 14 04:38:25 EDT 2004
"Miki Tebeka" <miki.tebeka at zoran.com> wrote in message
news:mailman.929.1087194935.6949.python-list at python.org...
> Hello PaxDiablo,
>
> > [[snip]]
> How about :
> ===
> files = os.listdir(".")
> ===
>
> Bye.
> --
> -------------------------------------------------------------------------
> Miki Tebeka <miki.tebeka at zoran.com>
> The only difference between children and adults is the price of the toys.
>
Well, I could claim that I knew about listdir but was simply answering the
original question which was how to run arbitrary shell commands.
But in fact I knew nothing of listdir (all of my coding so far has been with
wx(Python|Widgets) so I rarely use the python system stuff) , so I thank you
for the education :-).
Pax.
More information about the Python-list
mailing list