Ask coding questions

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

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)

Comments
hotnewtop
JBloves27 (1883)

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

Hope this helps!

InvisibleOne (2976)

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.

import wassup

wassup.yo()
InvisibleOne (2976)

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 (0)

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

InvisibleOne (2976)

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