Re: [Tutor] Importing libraries

2012-02-04 Thread Devin Jeanpierre
On Sat, Feb 4, 2012 at 6:35 AM, Steven D'Aprano wrote: > Michael Lewis wrote: >> >> Why don't I have to import str or list to access their attributes like I >> do >> with the math or random or any other library? > > > > Because they are built-in. That means they live inside the Python > compiler/i

Re: [Tutor] Importing libraries

2012-02-04 Thread Steven D'Aprano
Michael Lewis wrote: Why don't I have to import str or list to access their attributes like I do with the math or random or any other library? Because they are built-in. That means they live inside the Python compiler/interpreter itself. They are built-in because str, list, etc. are fundame

Re: [Tutor] Importing libraries

2012-02-04 Thread Blockheads Oi Oi
On 04/02/2012 05:37, Michael Lewis wrote: Why don't I have to import str or list to access their attributes like I do with the math or random or any other library? -- Michael J. Lewis mjole...@gmail.com 415.815.7257 ___ T

[Tutor] Importing libraries

2012-02-03 Thread Michael Lewis
Why don't I have to import str or list to access their attributes like I do with the math or random or any other library? -- Michael J. Lewis mjole...@gmail.com 415.815.7257 ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription