Re: Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Simon Brunning
On 4/22/05, Roman Neuhauser <[EMAIL PROTECTED]> wrote: > > import os > > a = 'books' > > os.chdir( '/test') > > os.mkdir("/test/"a) > > > > the last line does not seem to work. os.mkdir(a) makes the directory > > books, but i want this directory as a subdirectory of test. > http://docs.python.

Re: Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2005-04-22 00:13:05 -0700: > Hello! > > I can't seem to get paths and variables working together: > > import os > a = 'books' > os.chdir( '/test') > os.mkdir("/test/"a) > > the last line does not seem to work. os.mkdir(a) makes the directory > books, but i want this direct

Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a))

2005-04-22 Thread Shaun
Hello! I can't seem to get paths and variables working together: import os a = 'books' os.chdir( '/test') os.mkdir("/test/"a) the last line does not seem to work. os.mkdir(a) makes the directory books, but i want this directory as a subdirectory of test. I also tried: os.mkdir("/test/",a), and