import rumps

window = rumps.Window('Nothing...', 'ALERTZ')
window.title = 'WINDOWS jk'
window.message = 'Something.'
window.default_text = 'eh'

response = window.run()
print response

window.add_buttons('One', 'Two', 'Three')

print window.run()
print response

import rumps

window = rumps.Window('Nothing...', 'ALERTZ')
window.title = 'WINDOWS jk'
window.message = 'Something.'
window.default_text = 'eh'

response = window.run()
print (response)

window.add_buttons('One', 'Two', 'Three')

print (window.run())

Update example for Python 3
Update example for Python 3
  import rumps
  
  window = rumps.Window('Nothing...', 'ALERTZ')
  window.title = 'WINDOWS jk'
  window.message = 'Something.'
  window.default_text = 'eh'
  
  response = window.run()
- print response
+ print (response)
  
  window.add_buttons('One', 'Two', 'Three')
  
- print window.run()
+ print (window.run())
- print response
  
Update example for Python 3
## Code Before:
import rumps

window = rumps.Window('Nothing...', 'ALERTZ')
window.title = 'WINDOWS jk'
window.message = 'Something.'
window.default_text = 'eh'

response = window.run()
print response

window.add_buttons('One', 'Two', 'Three')

print window.run()
print response

## Instruction:
Update example for Python 3
## Code After:
import rumps

window = rumps.Window('Nothing...', 'ALERTZ')
window.title = 'WINDOWS jk'
window.message = 'Something.'
window.default_text = 'eh'

response = window.run()
print (response)

window.add_buttons('One', 'Two', 'Three')

print (window.run())
