Re: Python Help Needed

2017-02-21 Thread AudioGames . net Forum — Developers room : tabutcu via Audiogames-reflector
Re: Python Help Needed i thing python is a cool language. URL: http://forum.audiogames.net/viewtopic.php?pid=298725#p298725 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: Python Help Needed

2017-02-20 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
Re: Python Help Needed Regarding the filename part, are you specifying the name as a program parameter? If so, spaces could be breaking it.I'm not sure if the forum is removing part of the code, but that code should be throwing runtime errors.    with open("{}".format(file

Re: Python Help Needed

2017-02-20 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Python Help Needed Hm, well if thats the case then python may be having difficulty recognizing the path to the file. You can get the full path like so:os.path.join(os.path.abspath("."), "2of12inf.txt")Just use it when loading the file. URL: http://forum.audiogam

Re: Python Help Needed

2017-02-20 Thread AudioGames . net Forum — Developers room : superb via Audiogames-reflector
Re: Python Help Needed That's the purplexing part. It is in the same directory as my script: my desktop. Why else could I be getting that error? URL: http://forum.audiogames.net/viewtopic.php?pid=298616#p298616 ___ Audiogames-reflector

Re: Python Help Needed

2017-02-20 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
Re: Python Help Needed Running your script with a file called "2of12inf.txt" seems to run ok, which would mean that the file your trying to load is either misspelled or not in the same directory as the script thats trying to load it. There's a few problems with your approach as w

Python Help Needed

2017-02-20 Thread AudioGames . net Forum — Developers room : superb via Audiogames-reflector
Python Help Needed Hello guys. I have an error that I can't quite fix. I am trying to create a program that will do the following things as of now.1. open a file and read it.2. put all the file's information in a list.3. strip any percent characters from any words in the list.4. print