Spreading it to the list... ---------- Forwarded message ---------- From: Spencer Parker <inthefri...@gmail.com> Date: Wed, May 12, 2010 at 3:07 PM Subject: Re: [Tutor] raw_input a directory path To: Luke Paireepinart <rabidpoob...@gmail.com>
Forget all of what I said...I found the problem...I was encasing the variable with quotes instead of just letting it be a variable. I am dumb... On Wed, May 12, 2010 at 2:33 PM, Luke Paireepinart <rabidpoob...@gmail.com>wrote: > On Wed, May 12, 2010 at 2:44 PM, Spencer Parker <inthefri...@gmail.com> > wrote: > > I have a search and replace script that I am having the user put in the > > directory path as raw_input. The problem lies when I run the script it > > doesn't pick that up for some reason. Is there an appropriate way to > take a > > directory path as input? This is on windows... > > Well I could speculate about all the different problems this could be > caused by, > or you could provide more detail. > Let's go with that. > > How do you know the script doesn't input the data correctly? > and why do you think it doesn't? > Where is the code that performs this? > How are you running the script? > > Directory path should be no different than any other string. > I'm guessing it has to do with backslashes but I'll wait until you > explicate. > -Luke >
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor