• 810D

    Thank you so much, it is working.

    posted in Pythonista read more
  • 810D

    I tried but it still gives me a UnicodeDecodeError on the line with .readlines()

    Edit: Here is the Error:
    Traceback (most recent call last):
    File "/private/var/mobile/Containers/Shared/AppGroup/8D3D7AE1-1CB4-436D-B202-B8EBCDA65D5F/Pythonista3/Documents/mcdonalds.py", line 6, in <module>
    lines = fil.readlines()
    File "/var/containers/Bundle/Application/25DCAAA8-B420-4833-8B49-78EB3B0BD979/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/encodings/ascii.py", line 27, in decode
    return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3461: ordinal not in range(128)

    posted in Pythonista read more
  • 810D

    I tried both .readline() and .readlines()

    My script isn’t anything fancy

    import csv
    file=open("menu.csv","r").readlines()
    print(file.Readline())

    Neither is working

    posted in Pythonista read more
  • 810D

    I tried opening and reading from a csv file with .readline() but it didn’t work.

    I searched it up on the internet, installed stash but stash couldn’t pip install it either.
    I couldn’t find any solution to install it manually.

    Any help is appreciated.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!