dir function

A forum for general discussion of the Python programming language.

dir function

Postby emllac » Sat Jul 05, 2014 4:33 am

hello , I am trying to post first article. And reference "newly registered User" restrictions.

The article says a simple function dir().
Explain : It can be used to query a module, code as below

Code: Select all
dir(os)


The builtin function dir shows all attribute, method of module os.

Thanks for read this and say Hi to all.
Last edited by micseydel on Sat Jul 05, 2014 5:16 am, edited 1 time in total.
Reason: Lock.
emllac
 
Posts: 2
Joined: Sat Jul 05, 2014 2:30 am

Re: dir function

Postby micseydel » Sat Jul 05, 2014 5:14 am

I don't understand this post, did you have a question? There are some questionable things about your profile that make it appear that you might be a spammer.
Join the #python-forum IRC channel on irc.freenode.net!
User avatar
micseydel
 
Posts: 1179
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 4 guests