[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_python



Igor Stroh wrote:
> Can anyone think of an example where whitespaces in
> package's paths would be valid?
You mean as in the following?
/tmp$ mkdir a\ b
/tmp$ echo > a\ b/x.py
/tmp$ python
Python 2.3.4 (#2, Jul  5 2004, 09:15:05)
[GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/tmp/a b')
>>> import x
>>> x.__file__
'/tmp/a b/x.py'
>>>

Regards

T.
-- 
Thomas Viehmann, <http://thomas.viehmann.net/>



Reply to: