Calling all Python experts

David Bandel david.bandel
Thu Dec 21 19:28:43 PST 2006


On 12/21/06, Matthew Carpenter <mcarpenter at intelguardians.com> wrote:
> On Wednesday 20 December 2006 16:08, Bill Campbell wrote:
> > As in perl, there's more than one way to do it.
> >
> > Bill
>
>
> os.getenv("USER", "defaultlog")
>
>
>
> Here's a trick you can't pull in Perl:
>
> $ python
>
> >>> import os
> >>> help(os)
>

don't have to go through all that trouble.
perl -M<module>
will give me an error if that module can't be found.
And man <module>
will give me all the help on that module I need including examples
that are usually sufficient just cut and pasted.  Heck, with Perl, I
don't even have to code to write a program!

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list