Frequently I have encountered projects packaged using setuptools, with a
setup.py. To find out how to install it, I usually turned to Stack Overflow
(https://stackoverflow.com/a/1472014) which doesn't explain what options
exist or do.
Surprisingly, neither "setup.py" nor "setup.py --help" doesn't
On Sunday, September 23, 2012 2:31:48 PM UTC-7, jimbo1qaz wrote:
> I have a nested list. Whenever I make a copy of the list, changes in one
> affect the other, even when I use list(orig) or even copy the sublists one by
> one. I have to manually copy each cell over for it to work.
>
On Sunday, September 23, 2012 2:31:48 PM UTC-7, jimbo1qaz wrote:
> I have a nested list. Whenever I make a copy of the list, changes in one
> affect the other, even when I use list(orig) or even copy the sublists one by
> one. I have to manually copy each cell over for it to work.
>
I have a nested list. Whenever I make a copy of the list, changes in one affect
the other, even when I use list(orig) or even copy the sublists one by one. I
have to manually copy each cell over for it to work.
Link to broken code: http://jimbopy.pastebay.net/1090401
--
http://mail.python.org/ma
On Sunday, September 23, 2012 11:48:11 AM UTC-7, MRAB wrote:
> On 2012-09-23 19:31, jimbo1qaz wrote:
>
> > spots[y][x]=mark fails with a "'str' object does not support item
> > assignment" error,even though:
>
> >>>> a=[["a"]]
&
On Sunday, September 23, 2012 11:31:41 AM UTC-7, jimbo1qaz wrote:
> spots[y][x]=mark fails with a "'str' object does not support item assignment"
> error,even though:
>
> >>> a=[["a"]]
>
> >>> a[0][0]="b"
>
>
spots[y][x]=mark fails with a "'str' object does not support item assignment"
error,even though:
>>> a=[["a"]]
>>> a[0][0]="b"
and:
>>> a=[["a"]]
>>> a[0][0]=100
both work.
Spots is a nested list created as a copy of another list.
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, September 23, 2012 9:36:19 AM UTC-7, jimbo1qaz wrote:
> Am I missing something obvious, or do I have to manually put in a counter in
> the for loops? That's a very basic request, but I couldn't find anything in
> the documentation.
Ya, they should really give a
Am I missing something obvious, or do I have to manually put in a counter in
the for loops? That's a very basic request, but I couldn't find anything in the
documentation.
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, September 6, 2012 5:01:12 PM UTC-7, jimbo1qaz wrote:
> Is it faster to use bitshifts or floor division? And which is better, & or %?
>
> All divisors and mods are power of 2, so are binary operations faster? And
> are they considered bad style?
OK, I decided t
On Thursday, September 6, 2012 5:30:05 PM UTC-7, Mark Lawrence wrote:
> On 07/09/2012 01:01, jimbo1qaz wrote:
>
> > Is it faster to use bitshifts or floor division? And which is better, & or
> > %?
>
> > All divisors and mods are power of 2, so are binary opera
Is it faster to use bitshifts or floor division? And which is better, & or %?
All divisors and mods are power of 2, so are binary operations faster? And are
they considered bad style?
--
http://mail.python.org/mailman/listinfo/python-list
How do I zoom in on a tkinter image?
And how do I change the selected pixel to a changeable color when the user
clicks or drags?
--
http://mail.python.org/mailman/listinfo/python-list
13 matches
Mail list logo