|
|
#1 |
|
Python UI question
Is there a way to show a dialog box in Python without Tk, wx-python, etc? Is there something similar to AppleScript's "display dialog" I could use?
__________________
White MacBook, 2.13 GHz, 2 GB RAM, 160 GB HD Dell w/ 4GB RAM, AMD Athlon iPod Touch 4G (or 5G :P), 32GB, iOS 5.1, awaiting jailbreak. |
|
|
|
0
|
|
|
#2 |
|
Run the 'osascript' command from Python.
Example shell command line: Code:
osascript -e 'tell app "System Events" to display dialog "Explode the penguin now?"' |
|
|
|
0
|
|
|
#3 | |
|
Quote:
Code:
osascript -e 'display dialog "Hello world"'
__________________
White MacBook, 2.13 GHz, 2 GB RAM, 160 GB HD Dell w/ 4GB RAM, AMD Athlon iPod Touch 4G (or 5G :P), 32GB, iOS 5.1, awaiting jailbreak. |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| learning python - question about GASP | OffDog | Mac Programming | 11 | Sep 21, 2011 04:14 PM |
| bash/python question | lynkynpark86 | Mac Programming | 2 | Jun 8, 2011 01:05 AM |
| Python terminal command? | lynkynpark86 | Mac Programming | 2 | May 28, 2011 04:28 PM |
| python newbie questions | jamesapp | Mac Programming | 8 | Jun 24, 2008 09:58 PM |
| One last python programming question | iHerzeleid | Mac Programming | 6 | Mar 15, 2008 12:44 AM |
All times are GMT -5. The time now is 07:35 AM.







Linear Mode

