On 30 nov, 06:10, SMALLp <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm new in wxPython and before i start doing anything I have one qustion.
>
> Shoul I use some of editors like boa, spe or shoud i use my favorite
> text editor!
>
> i used IDLE on windows and it seamd nice. Now i have linux installed
Thanks a lot to everybody.
Marcelo
--
http://mail.python.org/mailman/listinfo/python-list
Let's say I have two lists:
a = [0, 1, 0, 1, 1, 0]
b = [2, 4, 6, 8, 10, 12]
I want a list comprehension that has the elements in b where a[element]
== 1.
That's to say, in the example above, the result must be: [4, 8, 10]
Any hints?
Marcelo
--
http://mail.python.org/mailman/listinfo/python-l
Or:
win.write(r'run=C:\windows\aawin.bat')
The r before the string makes it a "raw" string, where \ are not
interpreted as escape characters.
Marcelo
Daniel Nogradi ha escrito:
> > Hey I'm pretty new to python and I have a question. I'm trying to write:
> > "[BOOT]
> > run=C:\windows\aawin.ba
How can I add a method to the int class?
--
http://mail.python.org/mailman/listinfo/python-list
Thank you very much. It was clear.
--
http://mail.python.org/mailman/listinfo/python-list
Maybe I'm missing something but the latter is not the behaviour I'm
expecting:
>>> a = [[1,2,3,4], [5,6,7,8]]
>>> b = a[:]
>>> b
[[1, 2, 3, 4], [5, 6, 7, 8]]
>>> a == b
True
>>> a is b
False
>>> for i in range(len(b)):
... for x in range(4):
... b[i][x] = b[i][x] + 10
...
>>> b
[[11, 1