Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90183
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.szaf.org!dolly.gnuher.de!news.gnuher.de!rz.uni-karlsruhe.de!news.uni-stuttgart.de!news.nask.pl!news.nask.org.pl!newsfeed.pionier.net.pl!feed.xsnews.nl!border03.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp002.ams.xsnews.nl!frontend-F10-11.ams.news.kpn.nl |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.python |
| Subject | Re: To pickle or not to pickle |
| Organization | Decebal Computing |
| References | <87h9rnz8yy.fsf@Equus.decebal.nl> <554c95df$0$12988$c3e8da3$5496439d@news.astraweb.com> <878uczz3ks.fsf@Equus.decebal.nl> <mailman.246.1431089615.12865.python-list@python.org> <87zj5fxhm5.fsf@Equus.decebal.nl> <mailman.253.1431097914.12865.python-list@python.org> |
| X-Face | "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR<J%a^F2lh4[N~Yz4 nSp#c+aQo1b5=?HcNEkQ7QzF<])O3X4MDL/AYjys&*mt>,v+Pti8=Vi/Z"g^?b"E |
| X-Homepage | http://www.decebal.nl/ |
| Date | Fri, 08 May 2015 18:43:44 +0200 |
| Message-ID | <87fv77xbnj.fsf@Equus.decebal.nl> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:cOBfnBOd3wECSiHVEIOvGn5+htc= |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Lines | 21 |
| NNTP-Posting-Host | 81.207.62.244 |
| X-Trace | 1431103506 news.kpn.nl 20622 81.207.62.244@kpn/81.207.62.244:53944 |
| Xref | csiph.com comp.lang.python:90183 |
Show key headers only | View raw
Op Friday 8 May 2015 17:11 CEST schreef Chris Angelico: > On Sat, May 9, 2015 at 12:34 AM, Cecil Westerhof <Cecil@decebal.nl> wrote: >> When I unpickle quotes.pickle I get: >> [25, 112, 4, 18, 41, 2, 81, 75, 28, 60, 105, 47, 84, 65, 103, 42, >> 13, 66, 55, 124, 6, 82, 76, 12, 61, 113, 119, 96, 3, 68, 11, 89, >> 98, 107, 118, 29, 57, 33, 88, 121, 110, 49, 90, 72, 87, 114, 43, >> 59, 8, 92] >> >> Very simple indeed. > > In that case, I'd probably write it out as JSON, or as a simple > whitespace-separated list of numbers. That way, if anything goes > wrong, you can open up the file and look at it easily. Done. And the files are even smaller. ;-) -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
To pickle or not to pickle Cecil Westerhof <Cecil@decebal.nl> - 2015-05-08 11:58 +0200
Re: To pickle or not to pickle Peter Otten <__peter__@web.de> - 2015-05-08 12:32 +0200
Re: To pickle or not to pickle Cecil Westerhof <Cecil@decebal.nl> - 2015-05-08 13:51 +0200
Re: To pickle or not to pickle Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-08 19:11 +0200
Re: To pickle or not to pickle Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-08 20:54 +1000
Re: To pickle or not to pickle Cecil Westerhof <Cecil@decebal.nl> - 2015-05-08 13:55 +0200
Re: To pickle or not to pickle Chris Angelico <rosuav@gmail.com> - 2015-05-08 22:53 +1000
Re: To pickle or not to pickle Cecil Westerhof <Cecil@decebal.nl> - 2015-05-08 16:34 +0200
Re: To pickle or not to pickle Chris Angelico <rosuav@gmail.com> - 2015-05-09 01:11 +1000
Re: To pickle or not to pickle Cecil Westerhof <Cecil@decebal.nl> - 2015-05-08 18:43 +0200
Re: To pickle or not to pickle Cem Karan <cfkaran2@gmail.com> - 2015-05-08 06:27 -0400
csiph-web