Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4265 closed (invalid)

trailing slash for os.chdir?

Reported by: anonymous Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

os.chdir(.....
setting should end with a trailing slash I think.

Change History (2)

comment:1 Changed 10 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

This ticket contains no useful details, and no point of contact for more details.

comment:2 Changed 10 years ago by Gary Wilson <gary.wilson@…>

It works for me without a trailing slash:

>>> os.chdir("/tmp")
>>> os.getcwd()
'/tmp'
>>> os.chdir("/tmp/")
>>> os.getcwd()
'/tmp'
Note: See TracTickets for help on using tickets.
Back to Top