Quantcast
Channel: Active questions tagged crash - Stack Overflow
Viewing all articles
Browse latest Browse all 7191

python crash after interrupts by NamedTemporaryFile

$
0
0

If i use a Keyboard Interrupt Here

fp = NamedTemporaryFile('w+t')fp.write(input("path to save files: "))fp.seek(0)data = fp.read()

Python Crashes

How do i fix this

full code link (GitHub)1


Viewing all articles
Browse latest Browse all 7191

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>