Message from Python discussions

November 2018

— Faker.phone_number() generating randomly from list

— 

How can someone call a second python script to execute in a new window separate from the first python script where it was called from

— Giyf.com

— Https://docs.python.org/3/library/subprocess.html
This should help you

— What is decorator jsonrpc_method .how does it help

— Is it related to python?

— Hi, i have to reduce the size of several PDFs in a path. Does anybody knows the best way I can I do It?

Message permanent page

— You mean threading?

— If you just want to run a script stored in your path
Import os
os.system('python script.py')

— I'm sorry it does not run on another window

— Create and import a funkshun maybe?

— Loop through the directory while checking for .pdf files, then using a zipping library to zip the file

Message permanent page