Message130739
| Author | gwideman |
|---|---|
| Recipients | QuantumTim, docs@python, eli.bendersky, facundobatista, georg.brandl, gwideman, r.david.murray, v+python |
| Date | 2011-03-13.12:36:02 |
| SpamBayes Score | 9.2462805e-08 |
| Marked as misclassified | No |
| Message-id | <1300019763.52.0.929139365543.issue11479@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Eli: Excellent and thoughtful point. This would indeed be exactly the place to suggest os.path.join as an alternative. In addition, there are still occasions where one needs to form a string with trailing backslash. Two examples: 1. When writing the string specifying root directory: r'C:\ '[:-1] 2. Using python to prepare command lines to run other command line programs, where an argument may require a final backslash to explicitly specify a target directory (as opposed to a file). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-03-13 12:36:03 | gwideman | set | recipients: + gwideman, georg.brandl, facundobatista, QuantumTim, v+python, r.david.murray, eli.bendersky, docs@python |
| 2011-03-13 12:36:03 | gwideman | set | messageid: <1300019763.52.0.929139365543.issue11479@psf.upfronthosting.co.za> |
| 2011-03-13 12:36:02 | gwideman | link | issue11479 messages |
| 2011-03-13 12:36:02 | gwideman | create | |