To compile a python file from shell, one can type
python -O filename.py
In a situation where there are many files, this can be tasking. How can I use this command or any other command to compile all the .py files in a folder at once.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on how Python is written in this regard,
might suffice. Otherwise