Jan-04-2017, 09:17 PM
Have you run "Task Manager" on both machines? Specifically the "Processes", "Details" and "Performance" tabs? Both with your script running and not running (under "Processes" and "Details" it will probably show up as "Python") . The "Services" tab will show all services that are available and their status (i.e. Running, Stopped, Disabled). The "Startup" tab will show you all the programs that start when you turn on the computer and are running in the background. From the last two, you can see there is a lot going on in the background. As micseydel pointed out, the hard drive and or ram could also be a problem. A badly fragmented drive or bad sectors will impede performance. A bad ram set will also degrade service. It is near impossible to diagnose without having either the script and computers available, but a little "detective" work on your part will at least get you started.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition