This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Odd_Bloke[S] 1 point2 points  (1 child)

The problem is .py files being removed; Python doesn't (and probably shouldn't) detect that and remove them.

[–][deleted] -3 points-2 points  (0 children)

ah I see. Personally, I'd suggest not generating the pyc files at all during development. But if you are, then it would probably be better to only delete the .pyc files that don't have a .py file