JJGadgets
Mar 02, 2016 - 06:16
So, I'm trying to make a Pythonista script that has this code:
import os
import sys
import sysconfig
#def uname():
#os.uname()
def alert(message):
alert_result=console.alert('Kernel/uname info',message, button1='Dismiss',hide_cancel_button=True)
return
alert[os.uname()]
However, I get a error of so:
**TypeError:** 'function' object has no attribute '__getitem__'
Can someone help?
teacher walks into class okay bye! Will see responses after class in an hour :) thanks community!