Re: [Tutor] Truncated urlopen

2013-02-11 Thread Joel Goldstick
On Mon, Feb 11, 2013 at 10:00 AM, Válas Péter wrote: > 2013/2/11 Dave Angel > >> I'd suggest splitting that expression into two separate statements, one >> that does the read, and the other that decodes. Then you can print the >> byte-string, and see if it also is truncated, or whether that hap

Re: [Tutor] Truncated urlopen

2013-02-11 Thread Válas Péter
2013/2/11 Dave Angel > I'd suggest splitting that expression into two separate statements, one > that does the read, and the other that decodes. Then you can print the > byte-string, and see if it also is truncated, or whether that happened > during the decoding. > > Also, if you use print( repr

Re: [Tutor] Truncated urlopen

2013-02-11 Thread Dave Angel
On 02/11/2013 05:58 AM, Válas Péter wrote: Hi tutors, aboard again after a long time. Welcome back. http://..._export.php?mehet=1 is a link which exports me some data in CSV correctly when I click on it in my browser. (It contains personal data, that's why I dotted.) I want to process it dir

[Tutor] Truncated urlopen

2013-02-11 Thread Válas Péter
Hi tutors, aboard again after a long time. http://..._export.php?mehet=1 is a link which exports me some data in CSV correctly when I click on it in my browser. (It contains personal data, that's why I dotted.) I want to process it directly from Python, excluding the browser phase. The following