Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.lang.python > #3086
| Path | csiph.com!news.redatomik.org!news.izac.org!reader |
|---|---|
| From | Benoit Izac <use.reply.to@INVALID.ADDRESS> |
| Newsgroups | fr.comp.lang.python |
| Subject | Re: Correction code Python |
| Date | Mon, 14 May 2018 21:52:08 +0200 |
| Message-ID | <87vabq817b.fsf@izac.org> (permalink) |
| References | <jOCdnUlQcdSqpGTHnZ2dnUU7983NnZ2d@giganews.com> |
| Reply-To | benoit.izac@free.fr |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | keg.izac.org; logging-data="487"; mail-complaints-to="usenet@izac.org" |
| Xref | csiph.com fr.comp.lang.python:3086 |
Show key headers only | View raw
Bonjour, Le 14/05/2018 à 09:22, Hugues a écrit dans le message <jOCdnUlQcdSqpGTHnZ2dnUU7983NnZ2d@giganews.com> : > J'aimerais que vous m'aidiez à corriger ce code : > > [...] > > with open(NOMFIC_SAUVE, 'w') as ficow: > pickle.dump(self, ficow) > > [...] > with open(NOMFIC_SAUVE, 'r') as ficor: > return pickle.load(ficor) Si tu es sous Windows, je pense qu'il faut utiliser 'rb' pour ouvrir le fichier. NB : je n'ai pas regardé le reste. -- Benoit Izac
Back to fr.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Correction code Python Hugues21 <nospam_leon.muselli@live.fr.invalid> - 2018-05-14 02:22 -0500 Re: Correction code Python Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2018-05-14 21:52 +0200 Re: Correction code Python yves <yves@free.invalid> - 2018-05-14 20:05 +0000
csiph-web