I tested with 2.6 and it works.
>/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
>"/Users/Hershel/PycharmProjects/Project 1/practicefornotturtle.py"
>Traceback (most recent call last):
> File "/Users/Hershel/PycharmProjects/Project 1/practicefornotturtle.py",
> line 2,
On Thu, Jun 23, 2016 at 02:13:56PM -0700, Hershel Millman wrote:
> What I typed was:
>
> import turtle
> turtle.pendown()
What do you get if you print turtle.__file__?
> (And pendown was highlighted in pycharm, indicating that it was not a valid
> command.)
>
> The error message I received
On 23/06/16 22:13, Hershel Millman wrote:
> What I typed was:
>
> import turtle
> turtle.pendown()
>
> (And pendown was highlighted in pycharm, indicating that it was not a valid
> command.)
Don't use pycharm. We need to eliminate as many variables as possible.
Start python in a Terminal and
What I typed was:
import turtle
turtle.pendown()
(And pendown was highlighted in pycharm, indicating that it was not a valid
command.)
The error message I received was:
/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
"/Users/Hershel/PycharmProjects/Project
On Sat, Jun 18, 2016 at 08:46:53PM -0700, Hershel Millman wrote:
> > I followed your instruction and typed "import turtle" into the terminal on
> > my mac, and nothing happened.
If you're talking about the Python prompt, that's good. That means
turtle is installed. Importing a module either
On 19/06/16 04:46, Hershel Millman wrote:
>> In pycharm, when I enter the following, it replies with the following error
>> message:
>>
>> from turtle import *
>>
Change that to
import turtle
and it should work.
>> def drawSquare(size=100):
>>turtle.pendown()
>>turtle.forward(size)
Begin forwarded message:
> From: Hershel Millman
> Date: June 18, 2016 2:39:21 PM MST
> To: Steven D'Aprano
> Subject: Re: [Tutor] Turtle
>
> Steven,
>
> I followed your instruction and typed "import turtle" into the terminal on my
> mac, and