omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Turtle.py Error

    Pythonista
    2
    2
    1264
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wreyford
      wreyford last edited by

      We are working with students with the Pythonista app for iOS. The app is up-to-date (v3.2) and so is the iOS (12.1).

      We are getting an error trying to pull the attribute Turtle from turtle.py. This is the error we are getting:

      “<type: module>

      <module ‘turtle’ from ‘/private/var/mobile/Containers/Shared/AppGroup/5CB32DA0-5049-485D-9C91-F99CE6DAA62C/Pythonista3/Docments/turtle.py’>”

      The code that the students are typing in is the following:

      “spiral = turtle.Turtle()”

      Only two students are having the above issue. I did a search for turtle.py and after comparing the documents on a working device and a non-working device, I didn’t see anything out of the ordinary.

      We also tried completely reinstalling the app with no luck.

      We are also experiencing with another student who had it working, but after changing some colors around, the program stopped working mid-way through executing the program saying it couldn’t contact turtle.py.

      Anyone else experience this and/or know a fix for this issue?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @wreyford last edited by

        @wreyford your error message seems to indicate that you call your own script turtle.py...and that is to be avoided because it has the same name as the imported module.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB Forums | Contributors