Ask coding questions

← Back to all posts
MODULES DONT WORK FOR ME PLEASE HELP!
BrockTempler

well as you can see my code has a error i am using txt extention to store a test function its names mymodule.py I don't see any reason why it doesnt work and I have the file saved to my computer and the file was created using 'txt' (chrome extention cause on school computer)

Voters
BrockTempler
Comments
hotnewtop
JBloves27

The module works just fine, but it could be that the module name already exists. However, it works fine.

Hope this helps!

BrockTempler

WHYYYY THANKK [email protected]

JBloves27

lol no problem @BrockTempler

InvisibleOne

It works for me, the problem might be that mymodule is already a real module, try naming your mymodule.py file differently, like wassup.py and then change the code in the main.py to match.

BrockTempler

whats node.js @InvisibleOne

InvisibleOne

Node js is an api for javascript, it's sort of like a library that let's you make servers and stuff for the backend of websites, together with express and socket.io you can make some really cool stuff. @BrockTempler

BrockTempler

WOW big boy words I see. By backend like secuity and the stuff you can't [email protected]

InvisibleOne

Well sort of, but mainly the backend will be for sending web files and receiving and analyzing requests. @BrockTempler