On Thu, Sep 24, 2009 at 3:32 PM, Torsten Mohr wrote:
> a = [1, 2, 3, 4, 5, 6]
>
> for i, x in enumerate(a):
>if x == 3:
>a.pop(i)
>continue
>
>if x == 4:
>a.push(88)
>
>print "i", i, "x", x
>
> I'd like to iterate over a list and change that list while iteratin
lallous wrote:
Hello
Can anyone suggest a good book Python book for advancing from beginner
level?
(I started with Learning Python 3rd ed)
Regards,
Elias
Hi Elias,
welcome to Python.
I have learned Python with the official tutorial and with the
outstanding book: Beginning Python, From No
I've been thinking about putting together a text based RPG written
fully in Python, possibly expanding to a MUD system. I'd like to know
if anyone feels any kind of need for this thing or if I'd be wasting
my time, and also if anyone would be interested in participating,
because of the highly modul
Recently I purchased some software to recover some files which I had
lost. (A python project, incidentally! Yes, I should have kept better
backups!) They were nowhere to found in the file system, nor in the
recycle bin, but this software was able to locate them and restore them.
I was just wond
>save in utf-8 the coding declaration also has to be utf-8
ok, I understand, but what's the problem? Unfortunately seems to be
the Python interactive
mode doesn't have unicode support. It recognize the latin-1 encoding
only.
So I have 2 options, how to write doctest:
1. Replace native charaters w
101 - 105 of 105 matches
Mail list logo