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.
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
micseydel
 
Posts: 2994
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to General Discussions

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests