Re: Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-06-01 Thread Steve Holden
Joey C. wrote: > Steve Holden wrote: > >>It's not a common question, but it's relatively easily answered. You are >>splitting everything but the filename off with os.path.split and then >>complaining about the result! Once you stop doing that your problem is >>solved. > > > Thus, it's a stupid n

Re: Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Joey C.
Steve Holden wrote: > It's not a common question, but it's relatively easily answered. You are > splitting everything but the filename off with os.path.split and then > complaining about the result! Once you stop doing that your problem is > solved. Thus, it's a stupid newbie question. Thanks a l

Re: Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Steve Holden
Joey C. wrote: > Hi, I want to make a configuration script for something and it needs to > read inputs from an HTML file. A couple of these inputs are textboxes > that the user inputs a path in. For example: > Your Home Directory: > [/home/me/public_html/] > > So, I'm using Python to read these

Re: Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Jatinder Singh
Hi Joey, I am not sure but still I might mean something and give you some clues. Just try to change / with double slash(//) or with backslash(\ or \\). next option is read about os module it can give u some hints about how paths should be written. Hope These will help. Quoting "Joey C." <[EMAIL P

Stupid Newbie Question Concerning CGI and Reading Forward Slashes

2005-05-31 Thread Joey C.
Hi, I want to make a configuration script for something and it needs to read inputs from an HTML file. A couple of these inputs are textboxes that the user inputs a path in. For example: Your Home Directory: [/home/me/public_html/] So, I'm using Python to read these inputs and store them in a co