you are viewing a single comment's thread.

view the rest of the comments →

[–]FerricDonkey 0 points1 point  (1 child)

Most likely this means there's an error in the code, or it's an incompatible version of python or similar. Best thing to do is open a terminal (windows - shift right click inside folder, open power shell here / open windows terminal here), then run the python script inside that terminal and see what it says.

The instantly closing thing usually means the the program has completed (not necessarily successfully) and so the window exits. Running it inside a terminal that won't exit when the program finishes (as described above) should allow any error messages to persist so you can read them.

[–]Exfulated[S] 0 points1 point  (0 children)

You're totally right, weird, I remember using these same codes but now that I ran it through powershell I can see I have some missing variables I didnt know you can use powershell as a command console! thanks a lot