I'm not sure what your ultimate goal is, but if it's just to make sure .pyc files (not .py files) are distributed in your mod, that will happen automatically when you use compile.py in PyCharm create your .ts4script file.
If you make a copy of your newly created .ts4script (or someone else's) and rename that copy to end in .zip, you'll find that Windows Explorer will open it and you'll find .pyc files inside.
From Andrew's post at the top of this thread:
Now that you have modified the example script, it is time to get it into the game. You should have a file called compile.py in your Example Mod folder. Running this python file will compile all of the .py files in your Scripts sub-folder into a .ts4script and copy it into your mods folder. It will be called [Your Creator Name]_[The folder name of your mod].ts4script. Right-click the compile.py and select "Run 'compile'". You should now have a script file in your mods folder. In my case, it is called andrew_Example Mod.ts4script.
If you are having problems seeing the CAPTCHA, please clear your browser's cache and cookies and ensure that you do not have any browser addons or extensions that interfere with the display of the CAPTCHA. Then, close the CAPTCHA window and click on the register button to open the CAPTCHA again.