On Mar 26, 10:39 am, Terry Reedy tjre...@udel.edu wrote:
On 3/26/2012 12:59 AM, Mensanator wrote:
OK, GMPY is now called GMPY2. No big deal, I can import as GMPY.
But why were scan0 and scan1 changed to bit_scan0 and bit_scan1?
Guess: Either the functions changed or they want
On Mar 26, 1:33 pm, cas...@gmail.com wrote:
On Sunday, March 25, 2012 9:59:56 PM UTC-7, Mensanator wrote:
OK, GMPY is now called GMPY2. No big deal, I can import as GMPY.
But why were scan0 and scan1 changed to bit_scan0 and bit_scan1?
What's the justification for that? I use those
OK, GMPY is now called GMPY2. No big deal, I can import as GMPY.
But why were scan0 and scan1 changed to bit_scan0 and bit_scan1?
What's the justification for that? I use those functions extensively
in my library of Collatz utilities and I had to re-edit them for no
obvious reason.
--
On May 14, 7:14 pm, cerr ron.egg...@gmail.com wrote:
Hi There,
I got following code:
start=time.time()
print 'warnTimeout '+str(WarnTimeout)
print 'critTimeout '+str(CritTimeout)
print 'start',str(start)
while wait:
passed = time.time()-start
print 'passed ',str(passed)
if
On May 13, 4:00 pm, a oxfordenergyservi...@googlemail.com wrote:
I'm coding on an old windows laptop
i write the code and double click the icon.
Don't do that.
it runs the program and
writes results to a window.
when the code finishes, the window closes, i do a time.sleep(10) to
see
On May 11, 9:32 pm, Terry Reedy tjre...@udel.edu wrote:
On 5/11/2010 7:03 PM, Mensanator wrote:
On May 11, 4:37 pm, Terry Reedytjre...@udel.edu wrote:
In the command line interpreter, you should be able to hit up
arrow and have the line above copied to the current entry line
On May 12, 4:20 am, Maarten maarten.sn...@knmi.nl wrote:
On May 12, 6:04 am, Leo Jay python.leo...@gmail.com wrote:
I'd like to encode a string in base64, but I found a inconsistent of
two methods:
'aaa'.encode('base64')
'YWFh\n'
import base64
base64.b64encode('aaa')
'YWFh'
On May 12, 1:40 pm, MRAB pyt...@mrabarnett.plus.com wrote:
robert somerville wrote:
I am trying to determine how to test whether variors bits are set within
a byte (or larger flag) , the python 'and' and 'or' do not seem to be
doing what i want .. does anybody have some sample code showing
On May 11, 4:37 pm, Terry Reedy tjre...@udel.edu wrote:
On 5/11/2010 3:28 PM, Donna Lane wrote:
I have downloaded Python and I'm a beginner in every sense.
Welcome. I hope you enjoy Python too.
What I want to know now is when I am in Idle and have made a syntax error
how do I repair?
On May 7, 2:14 pm, Scott scott.freem...@gmail.com wrote:
I want to write a script to automate log archiving/compressing on a
Win2003 server. I have Python 2.6 installed. I am planning to use 7-
zip for compression (because I have been using it manually for a while
now). For now all operations
On May 3, 10:17 am, s...@sig.for.address (Victor Eijkhout) wrote:
I have two long ints, both too long to convert to float, but their ratio
is something reasonable. How can I compute that? The obvious (1.*x)/y
does not work.
You could try using the gmpy module. It supports arbitrary precision
On Apr 29, 5:21 pm, Laszlo Nagy gand...@shopzeus.com wrote:
I have some ten thousand rows in a table. E.g.
columns = [color,size,weight,value]
rows = [
[ Yellow, Big, 2, 4 ],
[ Blue, Big, 3, -4 ],
[ Blue, Small, 10, 55 ],
...
]
Some columns are dimensions, others are
On Apr 21, 2:56 pm, candide cand...@free.invalid wrote:
Is the del instruction able to remove _at the same_ time more than one
element from a list ?
For instance, this seems to be correct :
z=[45,12,96,33,66,'c',20,99]
del z[2], z[6],z[0]
z
[12, 33, 66, 'c', 20]
On Apr 11, 6:08 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 11 Apr 2010 11:54:04 -0700, Mensanator wrote:
On Apr 11, 11:53 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 10 Apr 2010 21:08:44 -0700, Mensanator wrote:
3.x won't
On Apr 12, 3:51 am, alex23 wuwe...@gmail.com wrote:
Mensanator mensana...@aol.com wrote:
You think the right thing to do is just quietly work
around the problem and sit back and laugh knowing sooner
or later someone else will get burned by it?
Haven't we covered argument from fallacy
On Apr 12, 11:39 am, Terry Reedy tjre...@udel.edu wrote:
On 4/12/2010 1:57 AM, Mensanator wrote:
Likewise, I usually don't shut down
when I leave work, so I can't allow orphaned processes to accumulate
eating up CPU and memory.
So don't.
I don't. I'm complaining about the need to do
On Apr 10, 11:51�pm, alex23 wuwe...@gmail.com wrote:
Mensanator mensana...@aol.com wrote:
3.x won't be adopted by WINDOWS developers WHO USE IDLE until it's fixed.
I think you left your hyperbole level too high so I turned it down for
you. I don't know of _anyone_ who uses IDLE to run
On Apr 11, 11:53�am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 10 Apr 2010 21:08:44 -0700, Mensanator wrote:
3.x won't be adopted by developers until it's fixed. As of now, it's
seriously broken and unsuitable for production.
In what ways do you consider
On Apr 11, 12:00�pm, Terry Reedy tjre...@udel.edu wrote:
On 4/11/2010 12:08 AM, Mensanator wrote:
On Apr 10, 7:15 pm, Chris Rebertc...@rebertia.com �wrote:
On Sat, Apr 10, 2010 at 4:47 PM, Mensanatormensana...@aol.com �wrote:
3.x won't be adopted by developers until it's fixed. As of now
On Apr 11, 11:33 pm, Lie Ryan lie.1...@gmail.com wrote:
On 04/12/10 04:54, Mensanator wrote:
On Apr 11, 11:53 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 10 Apr 2010 21:08:44 -0700, Mensanator wrote:
3.x won't be adopted by developers until it's fixed
On Apr 10, 5:45 pm, Michael Ströder mich...@stroeder.com wrote:
average wrote:
On behalf of the Python development team, I'm merry to announce the first
beta
release of Python 2.7.
Python 2.7 is scheduled (by Guido and Python-dev) to be the last major
version
in the 2.x series.
On Apr 10, 7:15�pm, Chris Rebert c...@rebertia.com wrote:
On Sat, Apr 10, 2010 at 4:47 PM, Mensanator mensana...@aol.com wrote:
On Apr 10, 5:45�pm, Michael Str�der mich...@stroeder.com wrote:
average wrote:
On behalf of the Python development team, I'm merry to announce the
first beta
On Apr 3, 9:03 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 03 Apr 2010 09:35:34 -0700, Mensanator wrote:
On Apr 3, 10:17 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 03 Apr 2010 15:43:41 +0100, Martin P. Hellwig wrote:
I am
On Apr 3, 8:00 am, superpollo ute...@esempio.net wrote:
Patrick Maupin ha scritto:
On Apr 2, 2:41 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
While everyone else is mocking you: Can you please elaborate on why you
want to know and what kind of problem you're trying to
On Apr 3, 10:17 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 03 Apr 2010 15:43:41 +0100, Martin P. Hellwig wrote:
I am replying to this post not because I disagree but because it
postalogically fits the best (I am by no means an expert either).
IMHO, the
On Apr 1, 9:44 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Thu, 01 Apr 2010 19:49:43 -0500, Tim Chase wrote:
David Robinow wrote:
$ python -c print 1/2 * 1/2
0
But that's not what I learned in grade school.
(Maybe I should upgrade to 3.1?)
That's because you
On Apr 2, 6:07 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 02 Apr 2010 12:35:55 -0700, Mensanator wrote:
If you want an exact result when multiplying arbitrary fractions, you
need to avoid floats and decimals and use Fractions:
Fraction(1, 2)**2
Fraction(1
On Apr 2, 2:34 pm, Patrick Maupin pmau...@gmail.com wrote:
On Apr 2, 2:41 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
While everyone else is mocking you: Can you please elaborate on why you
want to know and what kind of problem you're trying to solve with this?
Also, don't you
On Apr 2, 7:32 pm, Patrick Maupin pmau...@gmail.com wrote:
On Apr 2, 6:50 pm, Mensanator mensana...@aol.com wrote:
On Apr 2, 2:34 pm, Patrick Maupin pmau...@gmail.com wrote:
Methinks the OP is fluent in the way of choosing newsgroups.
According to google, he has posted 6855 messages
On Mar 30, 10:49 am, Raymond Hettinger pyt...@rcn.com wrote:
On Mar 30, 8:13 am, aditya bluemangrou...@gmail.com wrote:
To get the decimal representation of a binary number, I can just do
this:
int('11',2) # returns 3
But decimal binary numbers throw a ValueError:
int('1.1',2) #
On Mar 30, 1:52 pm, MRAB pyt...@mrabarnett.plus.com wrote:
John Nagle wrote:
aditya wrote:
On Mar 30, 10:49 am, Raymond Hettinger pyt...@rcn.com wrote:
On Mar 30, 8:13 am, aditya bluemangrou...@gmail.com wrote:
To get the decimal representation of a binary number, I can just do
this:
On Mar 29, 5:31 pm, Gib Bogle g.bo...@auckland.no.spam.ac.nz wrote:
I prefer to think of myself as a code-ape - I look down on code-monkeys.
Why? They have prehensile tails.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 26, 8:23 am, Harishankar v.harishan...@gmail.com wrote:
Have you people embraced Python 3.x or still with 2.5 or 2.6?
3.1.
The only module I use regularly is gmpy and that's one that has
been updated.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 26, 2:44 pm, Phlip phlip2...@gmail.com wrote:
On Mar 26, 6:14 am, Luis M. González luis...@gmail.com wrote:
Webmonkey, Greasemonkey, monkey-patching, Tracemonkey, Jägermonkey,
Spidermonkey, Mono (monkey in spanish), codemonkey, etc, etc, etc...
Monkeys everywhere.
Sorry for the
On Mar 6, 4:13 pm, Benjamin Peterson benja...@python.org wrote:
On behalf of the Python development team, I'm pleased to announce a release
candidate for the second bugfix release of the Python 3.1 series, Python
3.1.2.
This bug fix release fixes numerous issues found in 3.1.1. This release
On Mar 5, 12:01 pm, Joan Miller pelok...@gmail.com wrote:
What does a slice as [N::-1] ?
Starts at position N and returns all items to the start of the
list in reverse order.
It looks that in the first it reverses the slice and then it shows
only N items, right?
Wrong. It shows N+1 items.
On Mar 5, 12:28 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Fri, 05 Mar 2010 18:12:05 +, Arnaud Delobelle wrote:
l = range(10)
l
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
l[7::-1]
[7, 6, 5, 4, 3, 2, 1, 0]
[l[i] for i in range(7, -1, -1)]
[7, 6, 5, 4, 3, 2, 1, 0]
On Mar 5, 3:42 pm, Gary Herron gher...@islandtraining.com wrote:
Mensanator wrote:
The only way to get a 0 from a reverse range() is to have a bound of
-1.
Not quite. An empty second bound goes all the way to the zero index:
Not the same thing. You're using the bounds of the slice index
On Mar 5, 6:34 pm, Gary Herron gher...@islandtraining.com wrote:
Mensanator wrote:
On Mar 5, 3:42 pm, Gary Herron gher...@islandtraining.com wrote:
Mensanator wrote:
The only way to get a 0 from a reverse range() is to have a bound of
-1.
Not quite. An empty second bound goes all
On Mar 4, 3:24 pm, News123 news...@free.fr wrote:
Hi,
I habe administrator privilege on a window host and would like to write
a script setting some registry entries for other users.
Why? Are you writing a virus?
There are potentially at least two wo ways of doing this:
1.) start a
On Mar 3, 5:45 pm, Wells thewellsoli...@gmail.com wrote:
This seems sort of odd to me:
a = 1
a += 1.202
a
2.202
Indicates that 'a' was an int that was implicitly casted to a float.
But:
a = 1
b = 3
a / b
0
This does not implicitly do the casting, it treats 'a' and 'b' as
On Feb 25, 7:02 am, Tim Chase python.l...@tim.thechases.com wrote:
Python 3 introduced a variable tuple assignment which I
suspect[*] would work in this context:
for first, *rest in L: # note the asterisk
print first
for x in rest:
do_stuff(x)
[*] not having py3 on
On Feb 25, 6:41 pm, Alf P. Steinbach al...@start.no wrote:
* Chris Gray:
Lawrence D'Oliveiro l...@geek-central.gen.new_zealand writes:
In message op.u8nfpex8y5e...@laptopwanja, Wanja Gayk wrote:
Reference counting is about the worst technique for garbage collection.
It avoids the need
On Feb 21, 3:42�am, Noam Yorav-Raphael noamr...@gmail.com wrote:
I'm pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!
What versions of Python does it suuport?
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 21, 10:30�am, Mensanator mensana...@aol.com wrote:
On Feb 21, 3:42 am, Noam Yorav-Raphael noamr...@gmail.com wrote: I'm
pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!
What versions of Python does it suuport?
What OS are supported?
--
http
On Feb 21, 12:14 pm, Paul Boddie p...@boddie.org.uk wrote:
On 21 Feb, 17:32, Mensanator mensana...@aol.com wrote:
On Feb 21, 10:30 am, Mensanator mensana...@aol.com wrote:
What versions of Python does it suuport?
What OS are supported?
From the Web site referenced in the announcement
On Feb 21, 7:39 pm, rantingrick rantingr...@gmail.com wrote:
Mensanator snipped: Yeah, I saw that. Funny that something
important like that wasn't part of the announcement. I notice no
mention of Mac OS, so visiting the website was a complete waste of
time on my part, wasn't it?
Oh
On Feb 8, 3:02 am, Stefan Behnel stefan...@behnel.de wrote:
Mensanator, 05.02.2010 00:36:
On Feb 4, 5:13 pm, Alf P. Steinbach wrote:
What's this about all the Stephen'ses here?
Shouldn't it be Bruce?
Of course. We just call everyone Stephen to avoid confusion.
Some people even manage
On Feb 4, 5:13 pm, Alf P. Steinbach al...@start.no wrote:
What's this about all the Stephen'ses here?
Shouldn't it be Bruce?
Of course. We just call everyone Stephen to avoid confusion.
- Alf (wondering)
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 5, 2:18 pm, Mark Dickinson dicki...@gmail.com wrote:
On Feb 5, 8:14 pm, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote:
Hello everyone. I am kind of new to python so pardon me if i sound
stupid.
I have to find out the last M digits of expression.One thing i can do
is (A**N)%M
On Feb 3, 10:37 am, casevh cas...@gmail.com wrote:
On Feb 2, 10:03 pm, Mensanator mensana...@aol.com wrote:
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP multiple
On Feb 3, 12:36 pm, casevh cas...@gmail.com wrote:
On Feb 3, 10:22 am, Mensanator mensana...@aol.com wrote:
Historically, gmpy really didn't have alpha/beta/rc versions and
gmpy.version() just had the version number and didn't indicate the
status. If I change it, I'd rather go to 1.1.1rc1
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP multiple-precision
arithmetic library. GMPY 1.11 is available for download from:
http://code.google.com/p/gmpy/
In addition to support
On Jan 30, 4:14 pm, John Roth johnro...@gmail.com wrote:
PEP 3147 has just been posted, proposing that, beginning in release
3.2 (and possibly 2.7) compiled .pyc and .pyo files be placed in a
directory with a .pyr extension. The reason is so that compiled
versions of a program can coexist,
On Jan 28, 12:28 pm, Steven Howe howe.ste...@gmail.com wrote:
On 01/28/2010 09:49 AM, Jean-Michel Pichavant wrote:
evilweasel wrote:
I will make my question a little more clearer. I have close to 60,000
lines of the data similar to the one I posted. There are various
numbers next to
On Jan 28, 11:35 am, Ethan Furman et...@stoneleaf.us wrote:
Steven D'Aprano wrote:
4. Python 3 will make you irresistible to women.
FALSE
What?!? Drat!!! Guess I'll have to learn Lisp... ;)
Irresisible? Ha! The chicks will think you have a harelip.
~Ethan~
--
On Jan 27, 2:56 pm, John Nagle na...@animats.com wrote:
Daniel Fetchinson wrote:
Hi folks,
I was going to write this post for a while because all sorts of myths
periodically come up on this list about python 3. I don't think the
posters mean to spread false information on purpose, they
On Jan 15, 6:40 pm, W. eWatson wolftra...@invalid.com wrote:
Tim Chase wrote:
W. eWatson wrote:
Tim Chase wrote:
The pseudo-pipeline comparison would be
type file.txt lpt1:
which would send the raw text file to the printer (assuming it's set
up on LPT1, otherwise, use whatever
On Jan 8, 12:19 am, peteshinners p...@shinners.org wrote:
My presentation for Pycon is coming together, but I need to make sure
my information about compiling Python and Python extensions for
Windows is correct. I'm really only experienced with this on the Linux
side of things.
First of all,
On Jan 5, 12:32 am, Ned Deily n...@acm.org wrote:
In article
0d70cb54-3d77-4176-b621-e764ecf61...@26g2000yqo.googlegroups.com,
Mensanator mensana...@aol.com wrote:
I assume I've been using the IDLE from macports. From the command
prompt I've
been typing idle. This launches a shell
On Jan 5, 12:35 pm, MRAB pyt...@mrabarnett.plus.com wrote:
vsoler wrote:
Hello,
I am acessing an Excel file by means of Win 32 COM technology.
For a given cell, I am able to read its formula. I want to make a map
of how cells reference one another, how different sheets reference one
On Jan 5, 8:22 am, n00m n...@narod.ru wrote:
Stick your English into your ass
Most people would say up your ass.
And use a period at the end of the sentence.
Got any more funny insults?
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 5, 4:03 pm, Ned Deily n...@acm.org wrote:
In article
6672dad2-26ba-458b-8075-21bac6506...@e37g2000yqn.googlegroups.com, Mensanator
mensana...@aol.com wrote:
[...]
So, for all practical purposes, the macports install is broken also.
IDLE simply does not work in an X11 window
...because there's no [Options] menu on the shell window?
Or at least give me a clue to how to use Courier New font?
For some inscrutable reason, depite the plethora of formatting tools,
someone decided that proportional spaced fonts ought to be the
default for IDLE.
--
On Jan 4, 4:20 pm, n00m n...@narod.ru wrote:
Ben, go away from here. With all your stupids sigs.
Do you think are you original?
You are a stupid animal.
Guido, Tim Peters, Raymond Hettinger are geniuis.
I don't know exactly Python mob. Maybe forgot someone.
You is only a source of depspise
On Jan 4, 10:05 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sun, Jan 3, 2010 at 8:42 PM, Mensanator mensana...@aol.com wrote:
...because there's no [Options] menu on the shell window?
Or at least give me a clue to how to use Courier New font?
For some inscrutable reason, depite
On Jan 4, 2:25 pm, Ned Deily n...@acm.org wrote:
In article
ec96e1391001040805j13b4e5cet3f1b74e9a81ed...@mail.gmail.com,
Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sun, Jan 3, 2010 at 8:42 PM, Mensanator mensana...@aol.com wrote:
...because there's no [Options] menu on the shell
On Jan 4, 10:44 pm, Mensanator mensana...@aol.com wrote:
On Jan 4, 10:05 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sun, Jan 3, 2010 at 8:42 PM, Mensanator mensana...@aol.com wrote:
...because there's no [Options] menu on the shell window?
Or at least give me a clue to how
On Jan 4, 9:17 am, Alf P. Steinbach al...@start.no wrote:
* Mensanator:
...because there's no [Options] menu on the shell window?
Or at least give me a clue to how to use Courier New font?
For some inscrutable reason, depite the plethora of formatting tools,
someone decided
On Jan 1, 4:02�pm, Dan Stromberg drsali...@gmail.com wrote:
I put together a page about significant whitespace (and the lack thereof).
The real problem is your use of proportional spaced fonts.
You're invited to check it out:
On Jan 2, 4:19 pm, Emile van Sebille em...@fenx.com wrote:
On 1/1/2010 5:05 PM Steven D'Aprano said...
In Python terms, imagine if we could write
foriinrange(10):
instead of the usual
for i in range(10):
Since the colon makes it unambiguous that it is some sort of block
On Dec 28, 4:44 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 27 Dec 2009 22:50:11 -0800, Mensanator wrote:
I routinely use large numbers in my Collatz Conjecture work.
Really large. As in a quarter million bits.
That's not large.
Perhaps not in the absolute
On Dec 28, 6:48 pm, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Mon, 28 Dec 2009 16:27:58 -0800, Mensanator wrote:
And if I were ice fishing on the retention pond near my house and
someone came up and said You know, blue whales can achieve a length of
up to 108 ft., he
On Dec 28, 9:04 pm, Roy Smith r...@panix.com wrote:
In article 034921cf$0$1277$c3e8...@news.astraweb.com,
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
On Sun, 27 Dec 2009 22:50:11 -0800, Mensanator wrote:
I routinely use large numbers in my Collatz Conjecture work
On Dec 28, 9:08 am, casevh cas...@gmail.com wrote:
On Dec 28, 2:13 am, Mark Dickinson dicki...@gmail.com wrote:
On Dec 28, 6:50 am, Mensanator mensana...@aol.com wrote:
But with a 64-bit processor, that limitation no longer stops me.
i: 11 bits: 10,460,353,205 decimals
On Dec 27, 8:19 am, Steve Holden st...@holdenweb.com wrote:
Mensanator wrote:
On Dec 26, 10:02 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sat, Dec 26, 2009 at 9:21 PM, Mensanator mensana...@aol.com wrote:
On Dec 26, 4:20 pm, Mensanator mensana...@aol.com wrote:
On Dec 26, 3:57
I routinely use large numbers in my Collatz Conjecture work.
Really large. As in a quarter million bits. You wouldn't think
that the processor would make all that much difference. But
using the number is a doddle. The real trick is getting there.
There is a limitation that few encounter. In an
On Dec 25, 8:59�pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Fri, Dec 25, 2009 at 1:19 PM, Mensanator mensana...@aol.com wrote:
On Dec 25, 9:25�am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Fri, Dec 25, 2009 at 1:48 AM, Mensanator mensana...@aol.com wrote:
On Dec 24, 10
On Dec 26, 2:07 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
PROBLEM RESOLVED!
Yes, it does appear that the disk image on pytho.ord is defective
(maybe they made the image from an obsolete version?)
I installed Python 3.1 from macports and everything seems to work
now. (I never would
On Dec 26, 3:57 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sat, Dec 26, 2009 at 4:36 PM, Mensanator mensana...@aol.com wrote:
I guess the point here is NEVER use the disk image on python.org,
ALWAYS use macports to install Python 3.1.
At least until python.org fixes it.
Have
On Dec 26, 4:20�pm, Mensanator mensana...@aol.com wrote:
On Dec 26, 3:57�pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sat, Dec 26, 2009 at 4:36 PM, Mensanator mensana...@aol.com wrote:
I guess the point here is NEVER use the disk image on python.org,
ALWAYS use macports
On Dec 26, 10:02 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sat, Dec 26, 2009 at 9:21 PM, Mensanator mensana...@aol.com wrote:
On Dec 26, 4:20 pm, Mensanator mensana...@aol.com wrote:
On Dec 26, 3:57 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sat, Dec 26, 2009 at 4
On Dec 25, 9:25 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Fri, Dec 25, 2009 at 1:48 AM, Mensanator mensana...@aol.com wrote:
On Dec 24, 10:18 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Thu, Dec 24, 2009 at 9:11 PM, Mensanator mensana...@aol.com wrote:
Ok, so I got
On Dec 25, 9:25 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Fri, Dec 25, 2009 at 1:48 AM, Mensanator mensana...@aol.com wrote:
On Dec 24, 10:18 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Thu, Dec 24, 2009 at 9:11 PM, Mensanator mensana...@aol.com wrote:
Ok, so I got
Ok, so I got a MacBook Air.
Has OS X 10.6 (Snow Leopard) and Python 2.6.1 already installed.
So I install Xcode, download macports and download gmpy-1.11rc1.
Following the instructions in mac_build.txt, I do the following:
- sudo /opt/local/bin/port install gmp
This works fine.
Then I do
-
On Dec 24, 10:18 pm, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Thu, Dec 24, 2009 at 9:11 PM, Mensanator mensana...@aol.com wrote:
Ok, so I got a MacBook Air.
Has OS X 10.6 (Snow Leopard) and Python 2.6.1 already installed.
So I install Xcode, download macports and download gmpy
On Dec 23, 4:03 am, jh...@gmx.de wrote:
(cc-ing the list)
Is there a convenient way to force a decimal.Decimal representation to
not use exponential representation?
Which Python version are you using? For Python 2.6 (and 3.1), the
answer's yes. For earlier Python verions, I don't
The second deviation is that since most names are constants,
Really? Does that mean you don't use literals, to save the time
required to convert them to integers? Isn't that done at compile
time?
So, instead of doing the Collatz Conjecture as
while a1:
f = gmpy.scan1(a,0)
if f0:
a = a
On Dec 18, 6:25 pm, Alf P. Steinbach al...@start.no wrote:
* Mensanator:
The second deviation is that since most names are constants,
Really? Does that mean you don't use literals, to save the time
required to convert them to integers? Isn't that done at compile
time?
So, instead
On Dec 19, 12:21 am, Alf P. Steinbach al...@start.no wrote:
* Mensanator:
That said, and a bit off-tangent to your comment's main thrust, the time
spent
on coding that repeated-division-by-2 optimization would, I think, be
better
spent googling Collatz Conjecture -- avoiding
On Dec 17, 4:33 am, Ned Deily n...@acm.org wrote:
In article
183af5d2-e157-4cd6-bec6-8997809e1...@d21g2000yqn.googlegroups.com,
Mensanator mensana...@aol.com wrote:
Oh, I don't know, maybe because I'm thinking about
buying one and seeing 2.3, 2.4 and 2.5 directories
on the model
On Dec 17, 10:12 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Thu, Dec 17, 2009 at 5:33 AM, Ned Deily n...@acm.org wrote:
or (for MacPorts fans):
$ sudo port install python31
And since I haven't got one, this also tells me nothing.
http://www.macports.org/
The MacPorts
On Dec 17, 1:40 am, geremy condra debat...@gmail.com wrote:
On Thu, Dec 17, 2009 at 2:25 AM, Mensanator mensana...@aol.com wrote:
On Dec 16, 8:45 pm, Ned Deily n...@acm.org wrote:
In article
88bab2c0-d27c-4081-a703-26b353b9e...@9g2000yqa.googlegroups.com,
Mensanator mensana...@aol.com
On Dec 16, 11:41 am, pdlem...@earthlink.net wrote:
I've been given a MAC AIR laptop with OS X 10.6 Snow Leopard.
On my desktop I dual boot with XP - Ubuntu and have Python on both.
Unfortunately all my Python programs are written on Windows XP and
I heavily rely on WConio for console I/O.
On Dec 14, 1:23 am, Alf P. Steinbach al...@start.no wrote:
* Alf P. Steinbach:
Format: PDF
url:http://preview.tinyurl.com/ProgrammingBookP3
The new stuff, section 2.7, is about programs as simulations and
handling data, focusing on modeling things. It includes some Python GUI
On Dec 16, 4:41 pm, Mensanator mensana...@aol.com wrote:
On Dec 14, 1:23 am, Alf P. Steinbach al...@start.no wrote:
* Alf P. Steinbach:
Format: PDF
url:http://preview.tinyurl.com/ProgrammingBookP3
The new stuff, section 2.7, is about programs as simulations and
handling
On Dec 16, 5:45 pm, Alf P. Steinbach al...@start.no wrote:
* Mensanator:
On Dec 16, 4:41 pm, Mensanator mensana...@aol.com wrote:
On Dec 14, 1:23 am, Alf P. Steinbach al...@start.no wrote:
* Alf P. Steinbach:
Format: PDF
url:http://preview.tinyurl.com/ProgrammingBookP3
On Dec 16, 8:41 pm, W. eWatson wolftra...@invalid.com wrote:
Mensanator wrote:
On Dec 14, 8:14 pm, W. eWatson wolftra...@invalid.com wrote:
I think Python is capable of executing a compiled C or FORTRAN program,
Sure, if it was compiled to an .exe file.
and maybe even getting some
On Dec 16, 8:45�pm, Ned Deily n...@acm.org wrote:
In article
88bab2c0-d27c-4081-a703-26b353b9e...@9g2000yqa.googlegroups.com,
�Mensanator mensana...@aol.com wrote:
Oh, and about Chapter 1.
If you're going to use version 3.1.1 as your standard, shouldn't
you also point out that 3.1.1
On Dec 14, 8:14�pm, W. eWatson wolftra...@invalid.com wrote:
I think Python is capable of executing a compiled C or FORTRAN program,
Sure, if it was compiled to an .exe file.
and maybe even getting some parameters passed back.
Sure, if the program prints to stdout.
Does anyone have a
1 - 100 of 515 matches
Mail list logo