Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618822
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:20:34+00:00 2026-05-22T02:20:34+00:00

I am teaching myself python from this site . On Chapter 3 , when

  • 0

I am teaching myself python from this site. On Chapter 3, when I typed the code in the given example, I got the following error–

Python 3.2 (r32:88445, Mar 25 2011, 19:28:28) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import turtle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "turtle.py", line 2, in <module>
    wn = turtle.Screen()
AttributeError: 'module' object has no attribute 'Screen'
>>> 

Is this something that I need to download and install? I tried looking into docs.python.org, but my nose started to bleed reading all that tech stuff.
Kindly point me in the right direction please? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:20:35+00:00Added an answer on May 22, 2026 at 2:20 am

    Adam Bernier’s answer is probably correct. It looks like you have a file called turtle.py that Python is picking up before the one that came with your Python installation.

    To track down these problems:

    % python
    Python 2.7.1 (r271:86832, Jan 29 2011, 13:30:16) 
    [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sys
    >>> sys.path
    [...] # Your ${PYTHONPATH}
    >>> import turtle
    >>> turtle.__file__
    '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/turtle.pyc' # Should be under your Python installation.
    >>> 
    

    If you see something like this:

    >>> import turtle
    >>> turtle.__file__
    'turtle.py'
    

    Then you’ll want to move turtle.py (and any corresponding turtle.pyc or turtle.pyo files) in your current working directory out of the way.

    As per the comments below, you’ll find a wealth of information about a module, including its pathname and contents by calling help() upon it. For example:

    >>> import turtle
    >>> help(turtle)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm teaching myself Python and I was translating some sample code into this class
I'm teaching myself Python and I see the following in Dive into Python section
I'm teaching myself Python and my most recent lesson was that Python is not
So I'm teaching myself Python, and I'm having an issue with lists. I want
I was recently teaching myself Python and discovered the LBYL/EAFP idioms with regards to
I'm teaching myself Objective-C from a book ( Cocoa programming for mac OS X
As part of teaching myself python I've written a script which allows a user
I'm a Python(3.1.2)/emacs(23.2) newbie teaching myself tkinter using the pythonware tutorial found here .
I am teaching myself python. I was thinking of small programs, and came up
I'm teaching myself Python networking, and I recalled that back when I was teaching

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.