d
you have an integer number, but unfortunatly with type float. Well, I
guess that's life :)
Again, a small cast like that is not a problem for me, so I can't
really comment on this.
Keep well
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
this whole issue is actually a non-issue to
me, and I don't want to give the impression I think there is a problem
here; just interested in the // operator is all :)
regards
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
9936447
I would appreciate it if you could present your results in this thread.
I have also been wondering about timings for simple operations.
Thanks
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
ython;
the few times I have needed debugging, SPE did the job well.
I also like that SPE automatically checks my code with tabnanny and
pychecker. That way I don't have to do anything extra to use these
tools.
Oh, and SPE is free.
Keep well
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
ady in the builtins or the standard library for this, but
I just haven't searched hard enough.
Interesting trap I kept falling into: calling a guitar string a
"string" and then having collisions with the python type of the same
name. Over and over again :)
Regards
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
(lst)]
>>> print shift(alpha,2)
['y', 'z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l',
'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x']
Shorter and possibly as clear too; thanks!
Keep well
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
ks as
though there may be an issue with permissions (and not having enough)
on subfolders within a tree.
I don't want you to work too hard on what is my problem, but are there
any ideas that jump out at you?
Regards
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
best of 3: 5.26 usec per loop
[EMAIL PROTECTED] ~]$ python2.4 -mtimeit -s "def shift(lst, n): length =
len(lst); first =(-n) % length; result = list(lst[first:]);
result.extend(lst[:first]); return result"
"shift('abcdefghijklmnopqrstuvwxyz',2)"
10 loops, best of 3: 5.21 usec per loop
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
2, 5, 10])
I don't understand what this means :)
I would prefer not to hack this directly in the matplotlib code. How
can I change the number of ticks on an axis programmatically without
messing with the other ticklabel functionality?
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
If you can find some API documentation for PDFMWord.dll, you can call
its methods with the ctypes python module.
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
Ben,
Thank you.
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
John,
Thank you.
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
of a year, and this cycle would be repeated for every upgrade (the
hold-ups involve budgets, cost-centres and red tape).This is why I
use as much free software as possible.
Regards
Caleb
--
http://mail.python.org/mailman/listinfo/python-list
WAIT-
Did I just get caught by an April Fools Joke?
I have a nasty feeling about this :))
C
--
http://mail.python.org/mailman/listinfo/python-list
101 - 114 of 114 matches
Mail list logo