[Tutor] serious problem with graphics module

bob gailer bgailer at gmail.com
Tue May 26 00:00:26 CEST 2009


roberto wrote:
> hello everyone
> i have a problem with python 3.0 graphics module:
>
> no problem while importing the module
>   
>>>> import turtle
>>>>         
>
> but when i issue any command like:
>   
>>>> t = turtle.pen()
>>>> t = turtle.forward(60)
>>>>         

Your code fails for me at turtle.pen AttributeError: 'module' object has 
no attribute 'pen'
If I replace pen with Pen then it works as desired.

>
> nothing appears on the screen, only a blank window, with nothing inside;
> may you give me some hint ?
>
>
> OS: win Xp
>
> thank you in advance !
>
>   


-- 
Bob Gailer
Chapel Hill NC
919-636-4239


More information about the Tutor mailing list