I\'m testing some python code that parses command line input. Is there a way to pass this input in through IDLE? Currently I\'m saving in the IDLE editor and running from a
Based on the post by danben, here is my solution that works in IDLE:
try: sys.argv = ['fibo3_5.py', '30'] fibonacci(int(sys.argv[1])) except: print(str('Then try some other way.'))