Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53774
| X-Received | by 10.224.223.198 with SMTP id il6mr2933002qab.7.1378462803003; Fri, 06 Sep 2013 03:20:03 -0700 (PDT) |
|---|---|
| X-Received | by 10.50.73.132 with SMTP id l4mr850301igv.0.1378462802819; Fri, 06 Sep 2013 03:20:02 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!q10no2709225qai.0!news-out.google.com!p7ni1016qas.0!nntp.google.com!j7no362357qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Fri, 6 Sep 2013 03:20:02 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=60.242.196.148; posting-account=Ask7DwoAAADjsU-2OBV0NZSrWbx7rbQU |
| NNTP-Posting-Host | 60.242.196.148 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <ebbd1657-e0c8-44c7-ad35-eddf7fa9db2a@googlegroups.com> (permalink) |
| Subject | file handling issues |
| From | leo.carnovale@gmail.com |
| Injection-Date | Fri, 06 Sep 2013 10:20:02 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:53774 |
Show key headers only | View raw
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