• billysnake

    @JonB
    My file wasn’t in my scripts folder as I had thought after running your print(os.getcwd()) script. Have now managed to move the file, not obvious on the iPad, and all now works. I have been struggling with this problem for days. Thank you so much for your help.

    Bill

    posted in Pythonista read more
  • billysnake

    In addition I've tried print(editor.get_path())
    and used the long path string that returns in my Open statement, but file still not recognised

    posted in Pythonista read more
  • billysnake

    Thanks for the reply.
    When I type print(os.listdir)) in the console It says 'os' is not defined. Apologies for my naivety but I'm on a learning curve fairly near the origin.
    I think I've got the csv and script files in the same place but how can I check. When I'm in Phythonista and I look in script library, This iPad all I see is an examples folder and my scripts. Any help appreciated
    Bill

    posted in Pythonista read more
  • billysnake

    Just loaded pythonista on my ipad pro.
    I want to read in a data csv file which I cannot do.
    Can anyone tell me where to put my data file and how do I specify the path name. I know the python command but can't get the code to recognise the file. This seems so basic, but its sending me crazy. Please help.
    Thanks

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!