Best practice for various scripts in one package /u/FluffyTid Python Education

For the program I am developing I normally run 4 separate scripts on Pycharm on 2 different computers:

Forwarder (computer 1), monitors a file from third party program and sends it to computer 2

Server (computer 2), receives files from forwarder and stores them on work directory

Main (computer 2), reads the files from forwarder, combines with a video stream and generates exit text

Uploader (computer 2), reads exit text files and uploads to third party platform online

I have got a possible client willing to test the programs from a different continent on his set up. I need to pack the scripts (I use pyinstaller). There is only 1 solution for the forwarder program on computer 1, but the other 3 programs could be packed (or not) in different ways. I can think of:

-Create 3 .exe files and make client run the 3

-Create a single .exe and use threading to run the 3 different scripts

-Create 4 .exes one of which uses os.system to call the other 3

What sounds best practice?

submitted by /u/FluffyTid
[link] [comments]

​r/learnpython For the program I am developing I normally run 4 separate scripts on Pycharm on 2 different computers: Forwarder (computer 1), monitors a file from third party program and sends it to computer 2 Server (computer 2), receives files from forwarder and stores them on work directory Main (computer 2), reads the files from forwarder, combines with a video stream and generates exit text Uploader (computer 2), reads exit text files and uploads to third party platform online I have got a possible client willing to test the programs from a different continent on his set up. I need to pack the scripts (I use pyinstaller). There is only 1 solution for the forwarder program on computer 1, but the other 3 programs could be packed (or not) in different ways. I can think of: -Create 3 .exe files and make client run the 3 -Create a single .exe and use threading to run the 3 different scripts -Create 4 .exes one of which uses os.system to call the other 3 What sounds best practice? submitted by /u/FluffyTid [link] [comments] 

For the program I am developing I normally run 4 separate scripts on Pycharm on 2 different computers:

Forwarder (computer 1), monitors a file from third party program and sends it to computer 2

Server (computer 2), receives files from forwarder and stores them on work directory

Main (computer 2), reads the files from forwarder, combines with a video stream and generates exit text

Uploader (computer 2), reads exit text files and uploads to third party platform online

I have got a possible client willing to test the programs from a different continent on his set up. I need to pack the scripts (I use pyinstaller). There is only 1 solution for the forwarder program on computer 1, but the other 3 programs could be packed (or not) in different ways. I can think of:

-Create 3 .exe files and make client run the 3

-Create a single .exe and use threading to run the 3 different scripts

-Create 4 .exes one of which uses os.system to call the other 3

What sounds best practice?

submitted by /u/FluffyTid
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *