The only substantial differences between the Windows version and the Linux version are the os.system() functions.
For example:
In windows "batch" to clear text from the screen, you use the cls command.
In Linux "bash" you use the clear command.
Then there are some other minor changes, but most of the difference between the two versions are the console commands that the python script actually executes.