Dec-13-2018, 09:14 AM
I have found that running a program in IDLE is slower then running it by right clicking and openwith Python. Also, that second way let's me run multiple instances. The following code works fine in IDLE..
Can someone tell what is happening or maybe how to write a file while using the openwith way?
def main(): var = 123 # Writes fo = open('test.py', 'w') fo.write('num = ') fo.write(str(var)) fo.close()However it crashes when I try to run it in the openwith way. No error that I can see.
Can someone tell what is happening or maybe how to write a file while using the openwith way?