How to delete unnecessary python files

hello, a few days ago i tried to install python in my nodejs project and it turned out i managed to do what i wanted in nodejs and the files needed to install python were taking up almost all my disk space is there any way to delete them?

The container image is ubuntu, which should already have python without the need to install.

Does running python3 in the terminal work?- also you should just delete the files or rewind the project to a previous version.

Hope this helped!

yes the python3 command works but before it didn’t work, after creating the glitch.json and requirements.txt files it started to work and it also occupied all the space on my disk even though I deleted the files.