Running python files in background

Is there any way to run python scripts as a background process? I know how to do it if the file is locally stored in some folder on my pc but I don’t know how to do it when the script is on a ubuntu virtual machine.

Hi @jindaldhruva,

Please lookup supervisor via the following blog. This will help you run your python codes in the background even after logging out of the terminal.