Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42570
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.x-privat.org!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <kasturisurya@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.031 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'obj': 0.09; 'subject:files': 0.09; 'subject:module': 0.09; 'subject:Help': 0.11; 'windows': 0.15; '\xc2\xa0i': 0.16; 'sender:addr:gmail.com': 0.17; 'creating': 0.23; 'mode': 0.30; 'message- id:@mail.gmail.com': 0.30; 'object.': 0.31; 'file': 0.32; 'linux': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'raising': 0.36; 'hi,': 0.36; 'skip:& 10': 0.38; 'to:addr:python-list': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'hope': 0.61; 'happening?': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=Hj5Kp4TFGLepJ5KYCSGY82syy9A0rQqntt8X1G/6vdY=; b=yd4Wzi+F2qWu+gZXGUl+/NqEJZ+yLjy4zsPlhTsjkpy16ZFTUe3agIwVgdYxf7ODAY Sv0fRDTUPF3VaaJcEKyw98sniVEXGUExscvBO2iHz6+ZSYtOiXTEGXTiVwy8ngFvGZ1n aqUGnMiKDK2F8/xKtHoiFA9tnGjgN2VEX3ghVzJFYaf0xzxUE07uYjD5BnEOz6FY9Cs3 4mgc6kNq6TOqR6mFXlC4lKyhgdrOpjjhg1XMBCQfmMeST4iXmy0XbHJ9hYBJJsswLgHV 5goXUK3R3+b10U7RHCd6zNRLQ2H/vR5HlDG67lCa5DielA0BCFEBiWwflZerhFeYEkV2 NCpw== |
| X-Received | by 10.49.15.198 with SMTP id z6mr17965818qec.6.1364914485331; Tue, 02 Apr 2013 07:54:45 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | kasturisurya@gmail.com |
| From | Surya Kasturi <suryak@ieee.org> |
| Date | Tue, 2 Apr 2013 20:24:25 +0530 |
| X-Google-Sender-Auth | 5bw7ClREC_c7H1jpCHt2Omuuj8Q |
| Subject | Help: pickle module unable to load "rb" mode files in linux |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=047d7bd6ae800c18e304d961eb13 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1.1364914494.3114.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1364914494 news.xs4all.nl 6932 [2001:888:2000:d::a6]:49707 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:42570 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, hope you can help me on it..
with open(pickle_f, 'r') as fhand:
obj = pickle.load(fhand)
This works on linux but not in windows until I use "rb" mode while
creating file object. Surprisingly, the "rb" mode is not working on Linux..
raising EOFError.
Why is this happening?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Help: pickle module unable to load "rb" mode files in linux Surya Kasturi <suryak@ieee.org> - 2013-04-02 20:24 +0530 Re: Help: pickle module unable to load "rb" mode files in linux 88888 Dihedral <dihedral88888@googlemail.com> - 2013-04-07 06:43 -0700 Re: Help: pickle module unable to load "rb" mode files in linux 88888 Dihedral <dihedral88888@googlemail.com> - 2013-04-07 06:43 -0700
csiph-web