+ 1
[Python] How should I do?
I've made my first 100+ lines of python code. Then my laptop suddenly shutted down right when I was writing and running my program. I'm pretty sure I'd already saved it bcos I'd run and tested it many times. When I tried to open it again, it was all blank but spaces still remained (the column status still counted). When I tried to open it with Notepad++, there were a bunch of 'null's. Just why? Please help!! It's a pain to rewrite it.
3 Antworten
+ 3
A python file is a plain text file. I've never heard that a shutdown can cause such damage to a text file. Are you sure you're trying to open the actual .py file and not some bytecode, autosave or other project file?
+ 1
Thank you... My chest kinda hurt though :(