Beginner problems

I’ve been messing around with Panda3D a bit, but i’m rather new to programming in general so i’ve been following the P3D manual. Yesterday, I was able to load models and such, but as of today, nothing I previously wrote is working. I went back and tried from square one, and copied and pasted the sample code directly from the manual:

panda3d.org/manual/index.php … ng_Panda3D

But I still get this error:
Traceback (most recent call last):
File “T3st123D31373m3.py”, line 1, in
from direct.showbase.ShowBase import ShowBase
File “C:\Panda3D-1.8.1\direct\showbase\ShowBase.py”, line 33, in
import Loader
File “C:\Panda3D-1.8.1\direct\showbase\Loader.py”, line 5, in
from panda3d.core import *
File “C:\Users\me\Desktop\panda3d.py”, line 3, in
from direct.showbase.ShowBase import ShowBase
ImportError: cannot import name ShowBase

**** End of process output ****

It was working just yesterday. Same location and contents.
Help? :confused:

Try running via ppython instead of python.

Just tried it. Still getting ImportError

Ah. Your file is named panda3d.py; this conflicts with the panda3d.py that Panda3D already uses. Rename your panda3d.py into something else.

Yup, it was that one file name that was throwing me off on everything. Now I can continue on with the manual. Thanks!