I am using the following command to compile a specific python script:
python3 -m py_compile abc.py
However I want this compiled file to reside in a different directory. I haven't been able to find anything over the internet regarding this. Is this even possible? So, I am trying something like:
python3 -m py_compile abc.py /Users/documents/abc.pyc
ofcourse the above command gives an error saying it can't find the file or directory /Users/documents/abc.pyc.