sys.path
web.py not importing MySQLdb
I\'m working with web.py and for some reason I am getting the following error: [Thu Sep 29 13:47:20 2011] [error] [client 64.8.210.120]File \"/usr/lib/python2.6/site-packages/web.py-0.36-py2.6.egg/w[详细]
2023-04-09 16:53 分类:问答Application-specific PYTHONPATH
I have an application with a heirarchy of packages.There are a fair number of modules that reference other modules higher up in the package heirarchy.As exemplified below, I can use relative imports t[详细]
2023-03-22 07:36 分类:问答Is there anyway I can access File from Online SVN in python?
I\'ve made a python module file and uploaded in the SVN Repo (say string_utl.py which does string related operation). Is the anyway that I can access the the file Direclty for the SVN. Though I checko[详细]
2023-02-10 19:36 分类:问答How can I load the parent directory of a script as a module, without adding all of the siblings of that directory's parent directory to my sys.path?
I\'m hoping there\'s an easy answer to this question that I\'m simply overlooking. Here\'s the setup: foo/[详细]
2023-02-01 12:30 分类:问答How do you modify sys.path in Google App Engine (Python)?
I\'ve tried adding the following line to my handler script (main.py), but it doesn\'t seem to work: 开发者_运维知识库sys.path.append(\'subdir\')[详细]
2022-12-21 07:56 分类:问答PYTHONPATH vs. sys.path
Another developer and I disagree about whether PYTHONPATH or sys.path should be used to allow Python to find a Python package in a user (e.g., development) directory.[详细]
2022-12-14 01:07 分类:问答