-1

Most of it's explained in the title. Basically I want to open another Python program from within a Python Program but without a console appearing in the background. Here is the line of code I'm using at the moment:

os.system('Connect1.pyw')

Any help would be great!

1 Answers1

0

1. Treat it like a module** You can do import pythonefile.py 2. You can use the exec command execfile('file.py')

root-louis
  • 11
  • 4