[Beginner] - Hanging in the code, can't figure out what's wrong

BartC bc at freeuk.com
Sat Apr 2 20:12:09 EDT 2016


On 02/04/2016 23:31, Loop.IO wrote:

> Oh i see, so the code prompts for a name.. so i'm more lost than i thought, what do I need to change to make it just create the file with the chosen name Launch2.bat without the prompt?

If you don't want the user to enter anything, then I explained how 
before, just use:

      name='C:\\Documents\\PythonCoding\\launch2.bat'

if that's the file name you need.

-- 
Bartc



More information about the Python-list mailing list