os.path.join doubt
harryos
oswald.harry at gmail.com
Wed Feb 2 23:46:12 EST 2011
More information about the Python-list mailing list
Wed Feb 2 23:46:12 EST 2011
- Previous message (by thread): looking for new members to join grid of storage nodes using tahoe-lafs which is implemented in python.
- Next message (by thread): os.path.join doubt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In windows ,I tried this p1 = "C:\Users\me\Documents" p2 = "..\Pictures\images\my.jpg" print os.path.join(p1,p2) This gives 'C:\\Users\\me\\Documents\\..\\Pictures\\images\\my.jpg' I expected I would get 'C:\\Users\\me\\Pictures\\images\\my.jpg' I thought os.path.join would join the paths more intelligently..Any idea why this happens ? harry
- Previous message (by thread): looking for new members to join grid of storage nodes using tahoe-lafs which is implemented in python.
- Next message (by thread): os.path.join doubt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list