[Tutor] dir

john public apython101@yahoo.com
Wed, 13 Mar 2002 13:30:11 -0800 (PST)


--0-1167446793-1016055011=:35981
Content-Type: text/plain; charset=us-ascii


I typed:

>>>dir(_builtins_)

in IDLE then hit return. I was expecting to get a list of the built in modules in python. As shown in chapter 8 on modules in learning Python. I got an error message stating that builtins were not defined. What did I do wrong?

John Q. Public



---------------------------------
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
--0-1167446793-1016055011=:35981
Content-Type: text/html; charset=us-ascii

<P>I typed:</P>
<P>&gt;&gt;&gt;dir(_builtins_)</P>
<P>in IDLE then hit return. I was expecting to get a list of the built in modules in python. As shown in chapter 8 on modules in learning Python. I got an error message stating that builtins were not defined. What did I do wrong?</P>
<P>John Q. Public</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
Try FREE <a href="$rd_url/tag/http://mail.yahoo.com/">Yahoo! Mail</a> - the world's greatest free email!
--0-1167446793-1016055011=:35981--