@dgelessus thanks that helps a lot, and makes a lot sense. I'll make sure to not use input() on version 2. Even though I was just making files to mess around with not for any real purpose. Thanks a lot for explaining it.
Latest posts made by lukecov
Making files with python script
Looking for someone to help me figure out why this doesn't work.
from sys import argv
script,filename = argv
filename = input()
target.write("hello world this is a random text file.")
I also have tried adding in 'w' so that it opens it in write mode.
I am fairly new to python and have been doing the "learnPythonTheHardWay book" on my computer. So I downloaded Pythonista so I could practice when not at home. I have run into a small problem though because very few of the things I have learned through that book work on here. Such as "raw_input()" it just says that it's not defined. Please help I don't want this to have been a waste of $10.