Is there a way to run a python script and still be able to use my Ubuntu server? -


i have server lease digital ocean. access using putty. want run python script in background can still other things on machine. terminal command can use have run in background can still use machine?

random information might need:

-using ubuntu 14.04

-python3.4 script

-my favorite dessert cheesecake (buy me cheesecake)

thanks help!

it's more of unix/linux question python, can in couple of different ways:

% python myprogram.py & 

the "&" says run in background.

if forgot, , ran it, can type "^z" (control-z) suspend program, type:

% bg 

to start running again in background. and, fun, "fg" put in foreground. can have many processes running in background - if you're doing more one, can use "%n" explicitly 1 (i.e. "bg" , "bg %1" both work, if had 1 background job), , more fun, if have multiple jobs running in background:

% jobs 

will list them you.


Comments