+ 3

Why not work is module plz help me??? I installed idle python on my PC but still

from cs1robots import* create_world() hubo = Robot() hubo.set_trace("blue") hubo.set_pause(2) hubo.move hubo.turn_left hubo.move

4th Aug 2017, 5:01 PM
Kibrom Tsegay
Kibrom Tsegay - avatar
7 ответов
+ 16
I don't know Python... /:
4th Aug 2017, 7:15 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 14
Graphics won't work in Code Playground, if that's what you're trying....
4th Aug 2017, 5:07 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
What's the error produced? Have you installed the 'cs1robots' module you're trying to use?
4th Aug 2017, 9:49 PM
visph
visph - avatar
+ 3
If you try to do 'from cs1robots import *' then 'cs1robots' is a module (even if it's a custom module :P) Did the error be: << ImportError: No module named cs1robots >>? If yes, you should install/save the module in a path accessible for your script ^^ https://github.com/otfried/cs101/blob/master/modules/cs1robots.py
4th Aug 2017, 10:25 PM
visph
visph - avatar
+ 2
@valantinHacker what aboutin windows...? I installed idle python on my PC but still not working
4th Aug 2017, 5:21 PM
Kibrom Tsegay
Kibrom Tsegay - avatar
+ 2
visph can you tell the exact step by step process to solve this problem. I tried but couldn't succeed!
20th Jan 2019, 3:24 PM
Me&You
Me&You - avatar
- 1
@visph the error is from cs1robots import* isn't module
4th Aug 2017, 10:17 PM
Kibrom Tsegay
Kibrom Tsegay - avatar