Hi,
To excute a "Java" command, using os.system, you need to either give
absolute path, or you need to append the path in system variable. For
example,
1. Either os.system('/usr/bin/java')
or
2. import sys
sys.path.append('/usr/bin')
os.system('java')
Hope this helps.
Regards,
Priyesh
>
> Message: 2
> Date: Wed, 29 Jun 2011 16:28:25 +1200
> From: David Merrick
> To: tutor@python.org
> Subject: [Tutor] Python GUI
> Message-ID:
> Content-Type: text/plain; charset="utf-8"
>
> # Guess My Number GUI
> # Create a story based on user input
>
> from tkinter import *
> import random
>