On Wed, Aug 11, 2010 at 12:06 PM, Emile van Sebille wrote:
> On 8/11/2010 8:48 AM Pete said...
>
> Hi,
>>
>> A common line I've seen in Python code I come across is:
>>
>> #!/usr/bin/python
>> import os
>> import sys
>> import errors
>>
>
>
> ... so there seem to be more than one 'errors.py' -
On 8/11/2010 8:48 AM Pete said...
Hi,
A common line I've seen in Python code I come across is:
#!/usr/bin/python
import os
import sys
import errors
... so there seem to be more than one 'errors.py' - one for the email module,
one for Skype4Py, etc.
How does the interpreter know which one t
Hi,
A common line I've seen in Python code I come across is:
#!/usr/bin/python
import os
import sys
import errors
I was wondering about the line that says, "import errors". I understand what
it's for, but what I don't get is how Python knows which 'errors.py' to import.
On my laptop:
macbook: