• lukecov

    @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.

    posted in Pythonista read more
  • lukecov

    @TutorialDoctor I tried your script, it always tells me no matter what name I put in that it "isn't defined." Also is there any need for importing arguments?

    posted in Pythonista read more
  • lukecov

    Looking for someone to help me figure out why this doesn't work.

    from sys import argv
    script,filename = argv

    filename = input()

    target.open(filename)

    target.write("hello world this is a random text file.")

    target.close(filename)

    I also have tried adding in 'w' so that it opens it in write mode.

    posted in Pythonista read more
  • lukecov

    @TutorialDoctor thanks that will help a lot. I have my default interpruter set at 2.7 because that the closest to what they use on learn python the hard way. I'll have to play around with it some more.

    posted in Pythonista read more
  • lukecov

    Thanks @TutorialDoctor I had looked on multiple websites and they hadn't offered much help.

    posted in Pythonista read more
  • lukecov

    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.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!