On 1 Mar, 20:17, Steve Holden [EMAIL PROTECTED] wrote:
Jeremy Nicoll - news posts wrote:
Jeremy Nicoll - news posts [EMAIL PROTECTED] wrote:
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then
On 3 Mar, 17:12, [EMAIL PROTECTED] wrote:
(unless of course I _did_ miss something and my guess is completely
wrong; I should have done some experiment
before posting, but I'm too lazy for that).
Ciao
---
FB- Nascondi testo tra virgolette -
- Mostra testo tra virgolette -
Oops... I
En Mon, 03 Mar 2008 14:39:20 -0200, [EMAIL PROTECTED] escribió:
On 3 Mar, 17:12, [EMAIL PROTECTED] wrote:
Oops... I tried removing python25.zip from sys.path, and I can still
import packages from zip files ...
Yes, python25.zip is in sys.path by default, not to enable zipimport
(which is
Jeremy Nicoll - news posts [EMAIL PROTECTED] wrote:
Does every Windows user have: 2 C:\WINDOWS\system32\python25.zip
in their sys.path? What's the point of having a zip in the path?
Starting with Python 2.4, Python is able to import modules directly from a
zip, as if it were a directory. It's
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then other
directories as specified in sys.path.
I assume there are standard locations inside my installed Python - in my
case inside: C:\Program
Jeremy Nicoll - news posts wrote:
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then other
directories as specified in sys.path.
Technically, I believe it just puts the script's directory at the start
Jeremy Nicoll - news posts [EMAIL PROTECTED] wrote:
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then
other directories as specified in sys.path.
Sorry to followup my own question, but I ran
for
Jeremy Nicoll - news posts wrote:
Jeremy Nicoll - news posts [EMAIL PROTECTED] wrote:
If I understand correctly, when I import something under Windows, Python
searches the directory that the executing script was loaded from, then
other directories as specified in sys.path.
Sorry to