On Fri, Dec 27, 2013 at 07:16:22PM +, Oscar Benjamin wrote:
> The next method of iterators was renamed __next__ in Python 3. So if you
> change it to self.col.__next__() it will work in Python 3. Neither of those
> is really correct though. The correct method is to call the next built-in:
>
On Fri, Dec 27, 2013 at 01:22:03PM -0500, Keith Winston wrote:
> Finally: this isn't really a Python issue I don't think, but when I cut &
> paste code from the web page above (in Firefox in Linux 16 XFCE) and paste
> it into the IDLE New File window, it cleans out all the white space, which
> is
On Dec 27, 2013 6:24 PM, "Keith Winston" wrote:
>
> I am beginning to think about decorators, generators, and the like. I'm
starting from zero. I've read a few PEPs, and looked at some code, and
maybe things are starting to sink in, though I don't really have enough
framework to hang it all on. It
One thing that I've noticed is that there is no structure to your data.
Some have missing *fields* -so making the use of regex out of the question.
Without seeing your code, I'd suggest saving the data as a separated value
file and parse it. Python has a good csv support.
Get this one sorted out
I am beginning to think about decorators, generators, and the like. I'm
starting from zero. I've read a few PEPs, and looked at some code, and
maybe things are starting to sink in, though I don't really have enough
framework to hang it all on. It'll come. Anyway, I was trying to run some
timing cod
Also: it works fine (in it's original form, before I changed the print
statements) in 2.7, so I'm reinforced in my thinking that it's a 3.3 issue
(well, a changed syntax issue).
Finally: this isn't really a Python issue I don't think, but when I cut &
paste code from the web page above (in Firefo
On 27 December 2013 13:53, Albert-Jan Roskam wrote:
> Subject: Re: [Tutor] Question about distribute in pypi
> To: "daedae11"
> Cc: tutor@python.org
> Date: Friday, December 27, 2013, 8:19 AM
>
> On Thu, Dec 26, 2013 at 11:06 PM,
> daedae11
> wrote:
> > Are distribute 0.6.49 and distribu
[Please don't top-post and trim the quoted message to the essential.
See http://www.catb.org/~esr/jargon/html/T/top-post.html ]
Amrita Kumari wrote:
>My data file is something like this:
>
[SNIP]
>can you suggest me how to produce nested dicts like this:
[SNIP]
What's the current version of your
Subject: Re: [Tutor] Question about distribute in pypi
To: "daedae11"
Cc: tutor@python.org
Date: Friday, December 27, 2013, 8:19 AM
On Thu, Dec 26, 2013 at 11:06 PM,
daedae11
wrote:
> Are distribute 0.6.49 and distribute 0.7.3 the same
plugin's different
> version?
distribute is a
Hi,
My data file is something like this:
1 GLY HA2=3.7850 HA3=3.9130
2 SER H=8.8500 HA=4.3370 N=115.7570
3 LYS H=8.7530 HA=4.0340 HB2=1.8080 N=123.2380
4 LYS H=7.9100 HA=3.8620 HB2=1.7440 HG2=1.4410 N=117.9810
5 LYS H=7.4450 HA=4.0770 HB2=1.7650 HG2=1.4130 N=115.4790
6 LEU H=7.6870 HA=4.2100 HB2
10 matches
Mail list logo