[Tutor] Swampy: No module name World

Charles Agriesti dragriesti at comcast.net
Mon Jun 2 03:33:37 CEST 2014


from swampy.World import World
world = World()

ImportError: No module name World

These scripts run with no problem as long as the file location is the 
python27 folder. But not from outside the folder.
Other modules, like math, import with no problem from other locations
import math
from math import pi
2*pi
6.28...

how can I fix this?

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140601/a6617f3b/attachment.html>


More information about the Tutor mailing list