I got the following function defined. Toy example below.
Code:
def movieWatch():
movie = raw_input('Randomx, What movie do you want to watch? : ')
os.system ('mplayer ' ,movie)
I get the following error:
os.system ('mplayer ' ,movie)
TypeError: system() takes exactly 1 argument (2 given)
I also tried...
Code:
os.system ('mplayer movie')
Is there any workaround for that so system takes 2 arguments? Any additional ideas on how to do it?
thanks,
Randomx