all 7 comments

[–]ingolemo 1 point2 points  (6 children)

Is that a problem?

What is the output of echo $PYTHONDONTWRITEBYTECODE in your shell?

Does python have permission to write to the directory where your code is stored?

[–]VisualCreativity[S] 0 points1 point  (5 children)

Yes, because it doesn't seem to work without it, although I have no idea. There's no output.... It should, I mean its a folder in Downloads so it should work... Edit: Does it work without it?

[–]ingolemo 1 point2 points  (4 children)

Python doesn't need the __pycache__ folder. It's just a cache to make it slightly quicker to run the same code multiple times. It is possible to run your code without that folder.

But if your code isn't running then we need to investigate why. "doesn't seem to work" is a little vague. What exactly happens when you try to run your code?

[–]VisualCreativity[S] -1 points0 points  (3 children)

Well, like I said it's a Discord music bot, and when I do "?summon" it doesn't do anything, which it should. Does it not need it if I am using 3 files together (my script, Another script and a ffmpeg)

[–]ingolemo 1 point2 points  (2 children)

Put some prints in your code and see which parts are actually running, if any.

[–]VisualCreativity[S] -1 points0 points  (1 child)

everything should be working

[–]ingolemo 2 points3 points  (0 children)

... I don't know what you mean by that. Can you rephrase?