I have 200 pyc files I need to convert in a folder. I am aware of converting pyc to py files through uncompyle6 -o . 31.pyc
however as I have so many pyc files, this would take a long period of time. I've founds lots of documentation but not much in bulk converting to py files. uncompyle6 -o . *.pyc was not supported.
Any idea on how I can achieve this?
In operating systems with shell filename expansion, you might be able to use the shell's file expansion ability. For example:
If you need something fancier or more control, you could always write some code that does the fancier expansion. Here is the above done in POSIX shell filtering out the single file
myfiles/huge.pyc
:Note: It seems this question was also asked in Issue on output directory while executing commands with windows batch command "FOR /R"