Message183582
os.chdir missed a back slash in rewriting a file path see example below (the extra backslash was missing from the trunk directory).
Modifying the path with an extra slash enabled this to work for some reason. (os windows 8 64 bit Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32 :
spyder console output:
>>> os.chdir("C:\Projects\trunk\BusPirate\dangerous-prototypes-open-hardware-read-only\Bus_Pirate\scripts\pyBusPirateLite")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
WindowsError: [Error 123] The filename, directory name or volume label syntax is incorrect: 'C:\\Projects\trunk\\BusPirate\\dangerous-prototypes-open-hardware-read-only\\Bus_Pirate\\scripts\\pyBusPirateLite'
>>> os.chdir("C:\Projects\\trunk\BusPirate\dangerous-prototypes-open-hardware-read-only\Bus_Pirate\scripts\pyBusPirateLite")
>>> from pyBusPirateLite.SPI import * |
|
Date |
User |
Action |
Args |
2013-03-06 07:20:02 | DaveH | set | recipients:
+ DaveH |
2013-03-06 07:20:02 | DaveH | set | messageid: <1362554402.61.0.445452595453.issue17366@psf.upfronthosting.co.za> |
2013-03-06 07:20:02 | DaveH | link | issue17366 messages |
2013-03-06 07:20:02 | DaveH | create | |
|