Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53774
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-09-06 03:20 -0700 |
| Message-ID | <ebbd1657-e0c8-44c7-ad35-eddf7fa9db2a@googlegroups.com> (permalink) |
| Subject | file handling issues |
| From | leo.carnovale@gmail.com |
I am making this little game and I am trying to make some sort of script that does the following: >Checks to see if a file exists >If it does, check the numbers in it >If it doesn't, make one and fill it with some numbers >Sorts out if the numbers in the file are in the right format >If they are, then store them >If not, remake it again >THEN, check if there is a pass. >If there is, check if it fits the key and go on if so >If not, ask for a new one, check it, go on if its correct. Every time I run it, it says the key is 0!? I can not for the life of me figure out what it is doing. The code: <https://docs.google.com/document/d/1_Qo4bgmNhRer3fAt3EAtPNSei4N2q58f_q4_9r6OHbw/edit?usp=sharing> Thanks Leo
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
file handling issues leo.carnovale@gmail.com - 2013-09-06 03:20 -0700
Re: file handling issues leo.carnovale@gmail.com - 2013-09-06 03:22 -0700
Re: file handling issues Piet van Oostrum <piet@vanoostrum.org> - 2013-09-06 12:17 -0400
Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 20:03 -0700
Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 20:05 -0700
Re: file handling issues Michael Torrie <torriem@gmail.com> - 2013-09-06 21:58 -0600
Re: file handling issues Leo Carnovale <leo.carnovale@gmail.com> - 2013-09-06 23:22 -0700
Re: file handling issues Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-07 13:37 -0400
Re: file handling issues Piet van Oostrum <piet@vanoostrum.org> - 2013-09-07 15:33 -0400
csiph-web