henning.vonbar wrote:
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/local/lib/python2.6/threading.py, line 952, in _test
t.start()
File /usr/local/lib/python2.6/threading.py, line 471, in start
_start_new_thread(self.__bootstrap, ())
thread.error:
On Apr 24, 4:41 pm, norseman norse...@hughes.net wrote:
(How do I) ...explain these?
[...]
I can get the sashimi and take it home and BBQ it, I can roast it, I can
steam it, I can wok it,..., but the other is what it is. (greasy)
Besides, who says I like your cooking? :)
Err...
alex23 wrote:
Michael Hoffman wrote:
That looks like it would be perfect. Unfortunately it doesn't seem to
work on my Windows laptop:
I don't understand this. OpenGL Extensions Viewer says I have OpenGL 1.5
and the glGenBuffers function.
That's a shame, if you feel like pursuing it you
John Posner wrote:
I've tried twice to register myself at bugs.python.org. But the confirmation
email message never arrives. (Yes, I checked my spam folder.) What do I do
now?
We can try to debug this :)
E-mail message checked by Spyware Doctor (6.0.0.386)
Database version:
Hi!
Aaron Brady wrote:
A week ago, I posted a question and an idea about Python's garbage
collector. I got a few replies.
Some very nice, too :)
Some days later, I posted a mock-up
implementation of it, and got *NO* replies. Does this mean:
It's not particularly clear to me what your
Aaron Brady wrote:
Hi,
c) It's not particularly applicable to Python at that point
(particularly)
BTW, here's some interesting read:
http://mail.python.org/pipermail/python-3000/2006-September/003855.html
http://mail.python.org/pipermail/python-3000/2007-May/007129.html
Hendrik van Rooyen wrote:
I like the idea, but I would suggest that the award be
limited to the first 100 participants and that the title be:
Very Important Python Early Responder
I'd pay good money for that if the 'I' could be customized to stand
for Ignorant :)
Daniel
--
On Feb 15, 3:10 am, John Nagle na...@animats.com wrote:
With bytearray, the element type is considered to be unsigned byte,
or so says PEP 3137: The element data type is always 'B' (i.e. unsigned
byte).
Let's try:
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit
On Feb 24, 1:21 am, John Nagle na...@animats.com wrote:
According to PEP 3137, there should be no distinction between
the two for read purposes. In 2.6, there is. That's a bug.
No, it's not. It's well documented:
http://docs.python.org/whatsnew/2.6.html#pep-3112-byte-literals
If that's
Steve Holden wrote:
And the multiplatform client that should easily and elegantly allow
app browsing, downloading and installing those apps would presumably
have to account for the many differences in package formats and install
requirements between the different platforms.
And then you'd
On Jan 31, 1:03 pm, andrew cooke and...@acooke.org wrote:
On Jan 31, 11:22 am, eliben eli...@gmail.com wrote:
code.google.com provides all of these in a free and convenient manner.
Recommended.
unfortunately google don't seem that reliable ;o) (have you tried a
google search today?)
You
On Jan 31, 12:03 pm, Mark Dickinson dicki...@gmail.com wrote:
[...]
t1 = timeit.Timer(x = n**power, n =
4021503534212915433093809093996098953996019232; power = 1./13)
t2 = timeit.Timer(x = n**power, n =
4021503534212915433093809093996098953996019232.; power = 1./13)
And by using a float
On Jan 16, 5:09 am, mario ruggier mario.rugg...@gmail.com wrote:
Laboriously doing all these
checks on each expr eval will be very performance heavy, so I hope to
be able to limit access to all these more efficiently. Suggestions?
None regarding the general issue, a try:except to handle this
On Jan 16, 3:45 pm, mario ruggier mario.rugg...@gmail.com wrote:
'(x for x in ()).throw(bork)'
What is the potential security risk with this one?
I don't see a concrete issue, just found it tempting... raising hand-
crafted objects :)
All the above attempts will be blocked this way. Any
On Jan 15, 1:56 pm, mario ruggier mario.rugg...@gmail.com wrote:
As
I mentioned in another thread, the real application behind all this is
one of the *few* secure templating systems around. Some info on its
security is at:http://evoque.gizmojo.org/usage/restricted/
Tell you what, if you find
On Jan 15, 8:21 pm, mario ruggier mario.rugg...@gmail.com wrote:
OK! Here's a small script to make it easier...
Thanks! I think I found a quick way around the restrictions (correct
me if I borked it), but I think you can block this example by
resetting your globals/builtins:
exprs = [
'(x
On Jan 14, 5:14 am, Steve Holden st...@holdenweb.com wrote:
ajaksu wrote:
[snip evangelism stuff]
OK, but be aware that the PSF doesn't monitor the bugs looking for
actions to take on behalf of the Python user community. In fact we
aren't overtly political in this way at all. This doesn't
On Jan 13, 1:33 am, Philip Semanchuk phi...@semanchuk.com wrote:
I don't think I understand you clearly. Whether or not Google et al
whitelist the Python UA isn't a Python issue, is it?
Hi, sorry for taking so long to reply :)
I imagine it's something akin to Firefox's 'Report broken
On Jan 11, 11:59 pm, James Mills prolo...@shortcircuit.net.au
wrote:
Hey all,
The following fails for me:
from urllib2 import urlopen
f =
urlopen(http://groups.google.com/group/chromium-announce/feed/rss_v2_0_msgs.xml;)
Traceback (most recent call last):
[...]
Any helpful ideas ?
On Jan 3, 8:53 pm, Bryan Olson fakeaddr...@nowhere.org wrote:
If we add a parameter for the length of the list to which the slice is
applied, then inslice() is well-defined.
Cool!
I thought it would easy to write,
Heh, I gave up on the example I mentioned above :)
but that was hours ago
On Jan 1, 4:12 pm, mma...@gmx.net wrote:
I would like to check if an index is in a slice or not without
iterating over the slice.
Something like:
isinslice(36, slice(None, 34, -1))
True
I think it'd be feasible for slices that can be mapped to ranges[1],
but slices are more flexible than
On Dec 29, 7:37 pm, Luis M. González luis...@gmail.com wrote:
I still can't get used to add the parenthesis to print, and this is
the only thing I don't like, but I'm sure there's a good reason for
this change...
I should know better than to post such an awful hack:
__past__.py:
from sys
On Dec 24, 12:40 pm, Nikola Skoric nick-n...@net4u.hr wrote:
I0m a python newbie with PHP background. I've tried to make a web app
from one of my python scripts (which I haven't done before) and I
ended up with:
?php
echo shell_exec(python foobar.py);
?
which works really nice :-D
Clever
On Dec 24, 5:59 am, pdora...@pas-de-pub-merci.mac.com (Pierre-Alain
Dorange) wrote:
For me sign_0 is the simplest one to understood.
So in the domain of my little arcade game, this is what i'll use.
I don't need the accuraccy of sign_1, because in the application i just
need to know if the
On Dec 24, 9:47 pm, Joel Koltner zapwiredashgro...@yahoo.com
wrote:
Dim dlg As UserDialog
dlg.genDrill = 1
ReDim DrillStyle(1)
DrillStyle(0) = All Via Layers In One File
DrillStyle(1) = One File Per Via Layer
dlg.drillStyle = 1
func=Dialog(dlg)
---
This is pretty darned easy
On Dec 22, 9:18 am, Christian Heimes li...@cheimes.de wrote:
Sure? :) Are you aware that the IEEE 754 standard makes a difference
between the floats +0.0 and -0.0?
from math import atan2
def sign(x):
if x 0 or (x == 0 and atan2(x, -1.) 0.):
return 1
else:
return
On Dec 23, 12:51 pm, Christian Heimes li...@cheimes.de wrote:
If you want to do it right ... It should be a clean patch against the
py3k svn branch
Done
including documentation
This thread is a good start :)
and a unit test.
Doing this now.
Daniel
--
On Dec 23, 12:51 pm, Christian Heimes li...@cheimes.de wrote:
If you want to do it right ... It should be a clean patch against the
py3k svn branch including documentation and a unit test.
Got all three at http://bugs.python.org/issue4733 . Probably got all
three wrong too, so any feedback is
On Dec 23, 2:45 pm, Mark Dickinson dicki...@gmail.com wrote:
On Dec 23, 4:27 pm, ajaksu aja...@gmail.com wrote:
Is x ** 0 0. instead of atan2(x, -1.) 0. unreliable across
platforms?
x**0 doesn't distinguish between x = -0.0 and x = 0.0.
I suspect you're confusing -0.0**0.0 with (-0.0
On Dec 22, 4:44 pm, r rt8...@gmail.com wrote:
Oh Steve... Listen, my words are ment as a wake-up-call to all who
r, can you do me a favor? Go read the archives of this newsgroup for a
month or two, then come back with some perspective. I hope that will
make your posts a little less nonsensical
On Dec 22, 3:53 pm, s...@pobox.com wrote:
... shouldn't people who spend all their time trolling be doing something
else: studying, working, writing patches which solve the problems they
perceive to exist in the troll subject?
Sure. So should I.
Hmm.
Shutting-up-and-back-to-work-ly y'rs,
On Dec 22, 8:25 pm, Christian Heimes li...@cheimes.de wrote:
It's not possible unless you know the encoding of the bytes. Network io
only returns byte and you must encode it explicitly.
[...]
There is no generic and simple way to detect the encoding of a remote
site. Sometimes the encoding is
On Dec 22, 9:24 pm, r rt8...@gmail.com wrote:
You know what i hate more than a troll, a spineless jellyfish who goes
around rating peoples post with one star. You are the lowest form of
life. You are the same type of person who would key someones car in
the parking lot. You do not have the
On Dec 22, 9:05 pm, Christian Heimes li...@cheimes.de wrote:
ajaksu schrieb:
That said, a decode to declared HTTP header encoding version of
urlopen could be useful to give some users the output they want (text
from network io) or to make it clear why bytes is the safe way.
Yeah, your
On Dec 9, 5:24 pm, Bill McClain [EMAIL PROTECTED]
wrote:
On 2008-12-09, MRAB [EMAIL PROTECTED] wrote:
In Python 2.x unmarked string literals are bytestrings. In Python 3.x
they're Unicode. The intention is to make the transition from 2.x to 3.x
easier by adding some features of 3.x to 2.x,
r, you could just calm down, stop your trolling and wait to see if
more people like greg are able to see a good idea behind your awful
delivery.
Seriously, you're talking nonsense to people that have actively
promoted, taught, developed with and helped develop Python for years.
You're mistaking
On Apr 23, 1:27 pm, Dan Upton [EMAIL PROTECTED] wrote:
On Wed, Apr 23, 2008 at 10:24 AM, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Blubaugh, David A. schrieb:
Is there a way to block these messages. I do not want to be caught
with filth such as this material. I could lose my job with
On Apr 20, 3:31 pm, Steve Holden [EMAIL PROTECTED] wrote:
JB My first post on c.l.py Stern wrote:
Curious Steve, how do you pay the rent and by what authority do you
speak for The Python world?
[snip]
I don't claim to speak *for* the
whole Python world, but as chairman of the Python
On 16 abr, 14:01, [EMAIL PROTECTED] wrote:
What can we do about all the spam that comp.lang.python is getting?
Things are getting pretty bad.
I'm reporting most spam, but I don't have high hopes Google cares. We
could start a new group (non-usenet Google Groups allow message
removal), but I
On Apr 14, 11:07 pm, Sverker Nilsson [EMAIL PROTECTED] wrote:
What serious reports?
You almost had me collecting a list of reports/references. Almost :)
Google and you'll find them.
Regards,
Daniel
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 14, 8:10 pm, Sverker Nilsson [EMAIL PROTECTED] wrote:
do i dare to open a thread about this?
Yeah, you sure do!
come on you braver men
Yeah!
we are at least not bought by g***le
Hell no!
but why? others have said it so many times i think
Huh?!
:-
?! Whatever!
but why? a few
On Apr 2, 5:01 pm, John Henry [EMAIL PROTECTED] wrote:
However, once I start teaching him variables, expressions, loops, and
what not, I found that (by surprise) he had great difficulties
catching on. Not soon after that, we had to quit.
This makes me curious: how much of videogamer are you?
On Apr 3, 6:13 pm, noahwatkins [EMAIL PROTECTED] wrote:
I'll start my question by describing my desired result. I will
construct a GUI which will be used to open a Python script. I would
then like to be able to display the Python script, execute it, and
highlight the lines of the Python as
On Apr 1, 10:15 pm, AK [EMAIL PROTECTED] wrote:
Hello,
Hiya
I find that I learn easier when I go from specific examples to a more
general explanation of function's utility and I made a reference guide
that will eventually document all functions, classes and methods in
Python's Standard
On Apr 2, 5:23 pm, [EMAIL PROTECTED] wrote:
#include stdio.h
#include stdlib.h
def RecursiveFact(n):
if(n1):
return n*RecursiveFact(n-1)
else:
return 1
fact = RecursiveFact(31)
print fact
The output is 822283865417792281772556288000 and is correct. But
the
Changes by ajaksu [EMAIL PROTECTED]:
--
nosy: +ajaksu2
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2506
__
___
Python-bugs-list mailing list
Unsubscribe:
http
On Mar 20, 8:19 am, igbt [EMAIL PROTECTED] wrote:
However, if you don't enter anything the
script works but if you enter a dot (.) the script does not work.
Have you tried it with other non-metacharacter values?
sss = entryName.get_text() # The script gets the text
if sss == or
ajaksu added the comment:
Here's my attempted patch against trunk. The doc is poor (but what else
should it contain?) and the attribute name could be better.
I'm worried about lack of testing for this change as the module has
virtually no tests. Should we start adding naive (regarding
ajaksu added the comment:
he specific issue mentioned might arise from UAs interpreting the
snippet as a header, but the whole thing is so oblivious to standards
that it doesn't matter:
def reset():
Return a string that resets the CGI and browser to a known state.
return '''!--: spam
New submission from ajaksu:
This small patch adds a HTML 3.2 doctype, a html and a body tags.
Should work on py3k.
This patch only accomplishes a Tentatively Valid HTML 3.2 result.
Adding information on encoding would make that more conclusive, but
IMHO wrong too.
--
components
ajaksu added the comment:
If the fix was applied, this should be closed. If not, seems pretty easy
to do (worst case: add as Known Issue, Won't Fix).
--
nosy: +ajaksu2
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1207466
ajaksu added the comment:
Would it be implemented in C? How about using Luschny's Prime Swing
(http://www.luschny.de/math/factorial/FastFactorialFunctions.htm and
http://www.luschny.de/math/factorial/Benchmark.html )?
--
nosy: +ajaksu2
__
Tracker [EMAIL
ajaksu added the comment:
Martin, I agree that simply not resolving DTDs is an unreasonable
request (and said so in the blog post). But IMHO there are lots of
possible optimizations, and the most valuable would be those darn easy
for newcomers to understand and use.
In Python, a winning combo
On Feb 7, 4:48 pm, Blubaugh, David A. [EMAIL PROTECTED] wrote:
sir,
Is there still a possibility to collaborate???
David Blubaugh
Dear David A. Blubaugh,
Could you please make it a little less painful to read your messages?
You're giving a bad name to Belcan, too.
Daniel
--
On Feb 7, 12:52 pm, [EMAIL PROTECTED] wrote:
I try to install Python in a Dell D620 with XP PRO version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.
Thanks
Roberto
What is the install path? And
On Feb 7, 10:05 pm, Blubaugh, David A. [EMAIL PROTECTED] wrote:
I do not understand why people such as yourself cannot construct
anything but insults and complaints.
I can help with that. People asked politely a few days ago. Didn't you
see it? It happens because you're not following basic
On Jan 30, 10:40 pm, Blubaugh, David A. [EMAIL PROTECTED]
wrote:
I do not understand why no one has answered the following question:
Has anybody worked with Gene Expression Programming
David Blubaugh
I see. You don't understand. That's a fact. I'm sure there are free
online resources
This message got huge :/
Sorry for being so cryptic and unhelpful. I now believe that you're
incurring in a (quite deep) misunderstanding and wish to make things
clear for both of us :)
On Jan 27, 6:58 am, [EMAIL PROTECTED] wrote:
On Fri, 25 Jan 2008 17:44:07 -0800 (PST), ajaksu [EMAIL
On Jan 27, 9:13 pm, Russ P. [EMAIL PROTECTED] wrote:
On Jan 27, 3:08 pm, Jarek Zgoda [EMAIL PROTECTED] wrote:
Russ P. pisze:
I noticed that Guido has expressed further interest in static typing
three or four years ago on his blog. Does anyone know the current
status of this project?
On Jan 27, 10:32 pm, Paddy [EMAIL PROTECTED] wrote:
I would value the opinion of fellow Pythoneers who have also
contributed to Wikipedia, on the issue of Is Python Standardized.
Specifically in the context of this table:
On Jan 25, 11:10 pm, [EMAIL PROTECTED] wrote:
Once a python py file is compiled into a pyc file, I can disassemble
it into assembler. Assembler is nothing but codes, which are
combinations of 1's and 0's. You can't read a pyc file in a hex
editor, but you can read it in a disassembler. It
On Jan 25, 11:36 pm, ajaksu [EMAIL PROTECTED] wrote:
On Jan 25, 11:10 pm, [EMAIL PROTECTED] wrote:
[...]
Gaah, is this what's going on?
[EMAIL PROTECTED]:~$ cat error.txt
This is not assembler...
[EMAIL PROTECTED]:~$ ndisasm error.txt
54push sp
0001 686973
On Jan 19, 7:54 pm, Brad [EMAIL PROTECTED] wrote:
Just playing around with Python3000 a2 release on Windows XP 32-bit x86.
import __hello__
doesn't print 'hello world...' as it does on 2.5
Thanks for spoiling this easter egg for me!
;)
--
On Jan 7, 9:53 am, Berco Beute [EMAIL PROTECTED] wrote:
Cool! We knew it would happen one day :)
What could be the reason? Python 3? Jython 2.2? Java's loss of
sexiness?
What I would like to know is what it was that boosted Python's
popularity in 2004
On Jan 7, 11:25 am, [EMAIL PROTECTED] wrote:
There's a lot of dumb stuff out there. Algorithms should be coded
efficiently ... Thanks, I'll keep that in mind.
van Rossum's guidelines tend toward pick something and stick to it
which is OK if you have enough experience to pick something
On Jan 5, 11:36 pm, [EMAIL PROTECTED] wrote:
This one is good. Someone commented that you destroy the list, but
that can be fixed:
def pick_random(seq, prop):
L = len(seq)
for i in xrange(L):
r = random.randrange(L - i)
if prop(seq[r]):
return
Hi there :)
On Jan 5, 2:14 pm, [EMAIL PROTECTED] wrote:
On Jan 5, 5:07 pm, [EMAIL PROTECTED] wrote:
Hello, Paul and Arnaud.
While I think about your answers: do you think there is any way to
avoid shuffle?
It may take unnecessary long on a long list most of whose elements
have the
OTOH, if you do know that the chances are high enough, you can try
choosing items randomly without substitution (adapted from random.py's
sample):
Sorry, this works:
def randpickuntil(lst, prop=bool):
selected = set()
n = len(lst)
for i in xrange(n):
j = int(random() * n)
You should get it to work with this loop (from run()):
while libbuf != quit:
lib.libCallCommand(libinf,libbuf,0,pointer(result))
print result: ,result.value
if libbuf == Exit:
break
libbuf = raw_input(lib)
--
ajaksu added the comment:
IMHO this patch should be considered for (at least) py3k, in which long
becomes the new int. As there is current interest in long/int
performance[1] this seems like a good time to raise this kind of issue.
Mark, could you please outline the semantic changes
ajaksu added the comment:
Thanks a lot for the explanation. I still think it could be valuable
(C?)py3k change (but now for the predictability, as you say :)
Regarding the performance of Decimal.__hash__:
I believe (int) hash performance would be a moot issue if
Decimal.__int__ was (much
[generating c++ code..]
[EMAIL PROTECTED]:~/sandbox$ make bench.so
g++ -O3 -s -pipe -fomit-frame-pointer -I/home/ajaksu/shedskin-0.0.22/
lib -g -fPIC -I/usr/include/python2.5 -D__SS_BIND /home/ajaksu/
shedskin-0.0.22/lib/builtin.cpp /home/ajaksu/shedskin-0.0.22/lib/
math.cpp bench.cpp -lgc -shared
On Jul 21, 5:54 pm, Sean Davis [EMAIL PROTECTED] wrote:
I have read a couple of blogs suggesting that pyodbc is buildable
under linux.
It is, following these wise words:
Aargghh! I see that possibly there was a typo in cursor.cpp at line
1385:
Py_UNICODE* pNull = (Py_UNICODE*)wmemchr(pT, 0,
On Jul 9, 12:27 am, [EMAIL PROTECTED] wrote:
Dear all,
the doc is missing, and i failed to find the solution on google search.
anyone know how to override the function SetColLabel() inside
the class PyGridTableBase or the class GridTableBase?
Some docs to back up the old code that follows :)
Hi there Steve
D wrote:
(...) Basically, I'd like to
create a web-based job jar, that users in my office can access in
order to view, and take ownership of, misc. office tasks.
I've seen this kind of feature working in Trac [1], but what you really
want is task management software. Of the
GHUM wrote:
and with py2exe:
Changes in 0.6.1:
* py2exe can now bundle binary extensions and dlls into the
library-archive or the executable itself. This allows to
finally build real single-file executables.
The bundled dlls and pyds are loaded at runtime by some
John Bokma wrote:
ajaksu [EMAIL PROTECTED] wrote:
Don't :)
Even Firefox developers will tell you to avoid this. Develop for
standards compliant browsers (including Firefox) by testing against
the standards. Neither your HTML or CSS pass validation, both due to
minor, easy-to-fix issues
Jordan wrote:
Hey Peoples,
I'm wonderg if there is a way to make a subclass of wx.grid.Grid in
which the coloumn labels for the grid appear on the bottom of the grid
instead of the top.
Hi Jordan :)
Not quite what you want, but I'm about to try faking labels in a grid.
The reason is that I
Hi Sam,
Sam wrote:
I've installed matplotlib recently because I want to add graphing
functionality to a GUI that i'm making.
Have you considered wxmpl? I'm leaning towards using it, Painless
matplotlib embedding in wxPython sounds good (and it even works). More
information and downloads at
Vincent Delporte wrote:
- py2exe is still the best tool in town to compile Python scripts to
run on a Windows host that doesn't have Python installed, including
wxWidgets/wxPython
Hi Vincent and c.l.p-ers
I'm using PyInstaller (http://pyinstaller.hpcf.upr.edu/) precisely to
compile a
Paolo Pantaleo wrote:
www.sf.net/projects/ppgal
Ciao Paolo!
The homepage (http://paolopan.freehostia.com/p-gal/ ) looks weird in my
SeaMonkey 1.0.4, contents appear below GoogleAds instead of at the
right.
Some feedback and a couple of questions at http://tinyurl.com/qgbth
(points to
Sorry for the OT post...
Paolo Pantaleo wrote:
14 Aug 2006 10:16:37 -0700, ajaksu [EMAIL PROTECTED]:
The homepage (http://paolopan.freehostia.com/p-gal/ ) looks weird in my
SeaMonkey 1.0.4, contents appear below GoogleAds instead of at the
right.
Well... I designed the site for Firefox
Zeph wrote:
1) I want to write high-level apps that are db connected, networkable
and cross-platform: Linux, Mac OSX, Windows. I know there are apps that
can convert to Linux or Windows as stand-alone executables, is there
also one that will permit me to convert to MacOSX?
Yes, py2app
Hi Aahz, thanks for the feedback!
Aahz wrote:
I'm not sure why it's coded that, but it's somewhat irrelevant: right
now, work is being done to convert decimal.py to C code, which will
almost certainly be much faster than your code. Generally speaking, you
should not be using Decimal now with
Sam wrote:
Hello,
Hi there Sam :)
I'm beginning to think that what i'm trying to do isn't actually
possible, and that i'll need to put it in a frame instead, which is a
pity.
Indeed, if that is the case... as I'll need to do exactly that! But see
below ;)
On the other hand, when i create
It seems to work (only tested with embedding_in_wx4.py). I guess it's
something related to things nesting in a slightly wrong way, right
enough to show up but wrong enough to only show up :)
I hope this helps.
Daniel
Substitute embedding_in_wx4.py's CanvasFrame with:
class CanvasFrame(wxFrame):
... or that my function is silly but could be corrected.
Thanks in advance and best regards,
Daniel 'ajaksu' Diniz
PS: my use case is Stirling's approximation of the factorial for large
numbers, feel free to criticize that, too ;)
--
http://mail.python.org/mailman/listinfo/python-list
Sorry... I'm ashamed to submit such awful code in my first post. Let me
try again...
from decimal import Decimal
def dec2long(number):
Convert decimal.Decimal to long
longstring = str(number)
if e in longstring:
radix, exponent = longstring.split(e)
elif E in
88 matches
Mail list logo