LinkedIn
Matthew Joiner requested to add you as a connection on LinkedIn:
--
Jaime,
I'd like to add you to my professional network on LinkedIn.
- Matthew Joiner
Accept invitation from Matthew Joiner
Well, Go looks like Python in the philosophy (it is a minimalist, keep
it simple language) more than in the syntax.
The one thing that I really like is the absence of classes and the
presence of interfaces
(I have been advocating something like that for years). I am dubious
about the absence of
Is there some way to specify at the very beginning of the script
the acceptable range of Python versions?
sys.hexversion,
see http://mail.python.org/pipermail/python-list/2009-June/185939.html
-- Yinon
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 12 Nov 2009 08:53:57 +0100, Dieter Maurer wrote:
Steven D'Aprano st...@remove-this-cybersource.com.au writes on 10 Nov
2009 19:11:07 GMT:
...
So I am trying to restructure it using lazy evaluation.
Oh great, avoiding confusion with something even more confusing.
Lazy evaluation
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like a 'bunch of built-in programs ready-made to do stuff'.
Lets see what a 'library' does:
1. offers books for customers
1.1
On Nov 11, 8:42 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Nov 11, 7:56 pm, geremy condra debat...@gmail.com wrote:
On Wed, Nov 11, 2009 at 9:00 PM, Mensanator mensana...@aol.com wrote:
On Nov 11, 6:53 pm, kj no.em...@please.post wrote:
I'm just learning about Google's latest: the
Hi
Im learning Web scraping with Python from here
http://www.packtpub.com/article/web-scraping-with-python-part-2
From the above link, the complete code is here http://pastebin.com/m10046dc6
When i run the program in the terminal i receive following errors
File nasa.py, line 41, in module
Hello,
Everytime I use PyObject_SetAttrString(obj, attr_name, py_val) and I don't
need the reference to py_val I should decrement the reference after this
call?
So for example:
PyObject *py_val = PyInt_FromLong(5)
PyObject_SetAttrString(py_obj, val, py_val);
Py_DECREF(py_val)
Right?
If
Hello,
I am a little confused on how to check if a python variable is an integer or
not.
Sometimes PyInt_Check() fails and PyLong_Check() succeeds.
How to properly check for integer values?
OTOH, I tried PyNumber_Check() and:
(1) The doc says: Returns 1 if the object o provides numeric
hi all,
i have a file of 3x3 matrix of decimal numbers(tab separated). like this :
0.020.380.01
0.040.320.00
0.030.400.02
now i want to read 1 row and get the sum of a particular row. but when i am
trying with the following code, i am getting errors :
*code*:
Michele Simionato michele.simion...@gmail.com wrote:
I forgot to post a link to a nice analysis of Go:
http://scienceblogs.com/goodmath/2009/11/googles_new_language_go.php
Thanks for that link. I think it pretty well agrees with my first
impressions of Go: there are some nice bits but there
On Thu, Nov 12, 2009 at 1:59 AM, ankita dutta ankita.dutt...@gmail.com wrote:
hi all,
i have a file of 3x3 matrix of decimal numbers(tab separated). like this :
0.02 0.38 0.01
0.04 0.32 0.00
0.03 0.40 0.02
now i want to read 1 row and get the sum of a particular row. but
On Nov 11, 9:48 am, Lorenzo Gatti ga...@dsdata.it wrote:
On a more constructive note, I started to follow the instructions
athttp://www.pyside.org/docs/pyside/howto-build/index.html(which are
vague and terse enough to be cross-platform) with Microsoft VC9
Express.
Hurdle 0: recompile Qt
hong zhang schrieb:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14 /sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER /sys/class/net/wlan1/device/tx_power')
return_value is 256 not 0. It
Hi all,
1) I need to remove the a tags which is just before the keyword(i.e
some_text2 ) excluding others.
2) input string may or may not contain a tags.
3) Sample input:
inputstr = start a href=some_urlsome_text1/a a
href=some_text2/a keyword anything
4) I came up with the following
Hello Daniel,
Thanks for the reply.
Everytime I use PyObject_SetAttrString(obj, attr_name, py_val) and I
don't
need the reference to py_val I should decrement the reference after this
call?
It really depends on /how/ the object is created. If the
method used to create *py_val* increases
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like a 'bunch of built-in programs ready-made to do stuff'.
Lets see what a 'library' does:
1.
On Nov 12, 9:23 am, lallous lall...@lgwm.org wrote:
Hello,
Everytime I use PyObject_SetAttrString(obj, attr_name, py_val) and I don't
need the reference to py_val I should decrement the reference after this
call?
Not necessarily: it depends where py_val came from. I find the
'ownership'
On Nov 12, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like a 'bunch of built-in
Sriram Srinivasan schrieb:
On Nov 12, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like
On Nov 12, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like a 'bunch of built-in
On Nov 10, 1:34 pm, Philip Semanchuk phi...@semanchuk.com wrote:
On Nov 9, 2009, at 9:16 PM, Gabriel Genellina wrote:
En Fri, 06 Nov 2009 17:00:17 -0300, Philip Semanchuk phi...@semanchuk.com
escribió:
On Nov 3, 2009, at 10:58 AM, Jonathan Hartley wrote:
Recently I put together this
Sriram Srinivasan schrieb:
On Nov 12, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does
is like
On Nov 12, 4:35 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
On Nov 12, 3:56 pm, Diez B. Roggisch de...@nospam.web.de wrote:
Sriram Srinivasan schrieb:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In
2009/11/12 ankita dutta ankita.dutt...@gmail.com:
hi all,
i have a file of 3x3 matrix of decimal numbers(tab separated). like this :
0.02 0.38 0.01
0.04 0.32 0.00
0.03 0.40 0.02
now i want to read 1 row and get the sum of a particular row. but when i am
trying with the
Hi all,
I would like to know if it's possible to read data from a netcdf file and
export it into an ASCII file.
I'm trying to get the latitude, longitude and a determinate value of a
netcdf file. But I don't know exactly how to do it.
I succeed to open and read a netcdf file but i don't know how
2009/11/12 Raji Seetharaman sraji...@gmail.com:
Hi
Im learning Web scraping with Python from here
http://www.packtpub.com/article/web-scraping-with-python-part-2
From the above link, the complete code is here http://pastebin.com/m10046dc6
When i run the program in the terminal i receive
Hi.
I'm trying to port (just for fun), my old Sinclair Spectrum emulator,
ASpectrum, from C to Python + pygame.
Although the Sinclair Spectrum has a simple Z80 8 bit 3.5Mhz
microprocessor, and no aditional hardware (excluding the +2/+3 model's
AYsound chip), I'm not sure if my loved scripted
ok let me make it more clear..
forget how you use python now.. i am talking about __futuristic__
python programming.
there is no more python2.x or python3.x or python y.x releases. there
is only updates of python and standard library say 1.1.5 and 1.1.6.
let the difference be an old xml
On Tuesday 03 November 2009, 12:52:20 Diez B. Roggisch wrote:
Peng Yu wrote:
On Mon, Nov 2, 2009 at 9:39 PM, alex23 wuwe...@gmail.com wrote:
Peng Yu pengyu...@gmail.com wrote:
I don't think that this is a problem that can not be overcome. A
simple solution might be to associate a unique
On Thu, Nov 12, 2009 at 5:58 PM, Himanshu himanshu.g...@gmail.com wrote:
2009/11/12 Raji Seetharaman sraji...@gmail.com:
Hi
Im learning Web scraping with Python from here
http://www.packtpub.com/article/web-scraping-with-python-part-2
From the above link, the complete code is here
On Thu, 12 Nov 2009 00:31:57 -0800, Sriram Srinivasan wrote:
I guess why every programming language has some kind of a 'standard
library' built in within it.
In my view it must not be called as a 'library' at all. what it does is
like a 'bunch of built-in programs ready-made to do stuff'.
On Wed, 11 Nov 2009 13:44:06 -0800, Ethan Furman wrote:
Well, I don't know what kj is trying to do, but my project is another
(!) configuration program. (Don't worry, I won't release it... unless
somebody is interested, of course !)
So here's the idea so far:
The configuration data is
On Nov 12, 6:07 pm, Diez B. Roggisch de...@nospam.web.de wrote:
ok let me make it more clear..
forget how you use python now.. i am talking about __futuristic__
python programming.
there is no more python2.x or python3.x or python y.x releases. there
is only updates of python and
One reaction to url: url: http://preview.tinyurl.com/ProgrammingBookP3 has
been that turtle graphics may be off-putting to some readers because it is
associated with children's learning.
What do you think?
Cheers,
- Alf
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 11, 3:57 am, Robert P. J. Day rpj...@crashcourse.ca wrote:
http://groups.google.com/group/unladen-swallow/browse_thread/thread/4...
thoughts?
Google's already given us its thoughts:
http://developers.slashdot.org/story/09/11/11/0210212/Go-Googles-New-Open-Source-Programming-Language
On Wed, 11 Nov 2009 03:52:45 -0800, Carl Banks wrote:
This is where a helper function is good. You want a dispatcher:
No I really don't. I want to be able to see the action performed
adjacent to the test, and not have to scroll up to down ten pages to
find whatever function it dispatched
The subject line says it all.
Thanks!
kynn
--
http://mail.python.org/mailman/listinfo/python-list
I forgot to post a link to a nice analysis of Go:
http://scienceblogs.com/goodmath/2009/11/googles_new_language_go.php
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 12, 4:35 am, Santiago Romero srom...@gmail.com wrote:
Hi.
I'm trying to port (just for fun), my old Sinclair Spectrum emulator,
ASpectrum, from C to Python + pygame.
The answer to your question is, Use numpy. More details below.
[snip]
Should I start writing all the code with a
You are describing a lending library, which is not the only sort of
library. My personal library doesn't do any of those things. It is just a
room with shelves filled with books.
how i see is all libraries are libraries, for a personal library you
are the only customer and you are the
I'm trying to port (just for fun), my old Sinclair Spectrum emulator,
ASpectrum, from C to Python + pygame.
The answer to your question is, Use numpy. More details below.
Let's see :-)
How can I implement this in Python, I mean, define a 16 byte variable
so that high and low bytes
In 3e2ec71b-1bd6-4fc7-b2fd-12ddb6fbd...@p8g2000yqb.googlegroups.com Carl
Banks pavlovevide...@gmail.com writes:
...but the lack of
inheritance is a doozie.
That's what I like most about it. Inheritance introduces at least
as many headaches as it solves. For one, it leads to spaghetti
code.
On Nov 12, 1:28 am, lallous lall...@lgwm.org wrote:
Hello,
I am a little confused on how to check if a python variable is an integer or
not.
Sometimes PyInt_Check() fails and PyLong_Check() succeeds.
I assume you are using Python 2.x. There are two integer types: (1)
PyInt which stores
On Nov 11, 7:38 pm, Vincent Manis vma...@telus.net wrote:
1. The statement `Python is slow' doesn't make any sense to me.
Python is a programming language; it is implementations that have
speed or lack thereof.
[...]
2. A skilled programmer could build an implementation that compiled
On Wed, Nov 11, 2009 at 6:35 PM, Rhodri James
rho...@wildebst.demon.co.ukwrote:
On Wed, 11 Nov 2009 14:00:44 -, Victor Subervi
victorsube...@gmail.com wrote:
6) you don't indicate which user is executing this script (only root can
write to it)
Help me on this. All scripts are owned
On Thu, Nov 12, 2009 at 12:00 AM, alex23 wuwe...@gmail.com wrote:
On Nov 12, 2:46 pm, Peng Yu pengyu...@gmail.com wrote:
I see Error is derived from EnvironmentError in shutil.py.
class Error(EnvironmentError):
pass
I'm wondering why EnvironmentError can not be raised directly. Why
On Wed, Nov 11, 2009 at 3:32 PM, Dave Angel da...@ieee.org wrote:
Victor Subervi wrote:
snip
The problem was not CGI. It turned out to be line-endings being mangled by
Windoze and __invisible __ in my unix editor. Lovely.
Thanks anyway,
V
That's twice you've blamed Windows for the
On Thu, Nov 12, 2009 at 7:10 AM, Peng Yu pengyu...@gmail.com wrote:
On Thu, Nov 12, 2009 at 12:00 AM, alex23 wuwe...@gmail.com wrote:
On Nov 12, 2:46 pm, Peng Yu pengyu...@gmail.com wrote:
I see Error is derived from EnvironmentError in shutil.py.
class Error(EnvironmentError):
pass
Hi;
Someone on this list just recommended I find an ftp client that enables me
to change line endings. He indicated that it would be easy, but googling I
haven't been able to find one. I would prefer a free client, but whatever.
Please send me a recommendation.
TIA,
Victor
--
Sriram Srinivasan schrieb:
On Nov 12, 6:07 pm, Diez B. Roggisch de...@nospam.web.de wrote:
ok let me make it more clear..
forget how you use python now.. i am talking about __futuristic__
python programming.
there is no more python2.x or python3.x or python y.x releases. there
is only updates
On Nov 12, 10:07 am, mcherm mch...@gmail.com wrote:
On Nov 11, 7:38 pm, Vincent Manis vma...@telus.net wrote:
1. The statement `Python is slow' doesn't make any sense to me.
Python is a programming language; it is implementations that have
speed or lack thereof.
[...]
2. A skilled
Santiago Romero wrote:
I'm trying to port (just for fun), my old Sinclair Spectrum emulator,
A
snip
Do you mean:
page =ddress / 16384
index =ddress MOD 16384
?
Or, better, with:
page =ddress 14
index =ddress 16383
?
snip
How about
page, index = divmod(address,
Is there a Python version of C's language #define statements?
Example:
#define ReadMem( (x) )memory[ (x) ]
Instead of using a function, when you call to ReadMem(), the code is
INCLUDED, (no function is called, the compiler just substitues the
ReadMem( expression ) with memory[
Santiago Romero schrieb:
Is there a Python version of C's language #define statements?
Example:
#define ReadMem( (x) )memory[ (x) ]
Instead of using a function, when you call to ReadMem(), the code is
INCLUDED, (no function is called, the compiler just substitues the
ReadMem( expression
So all libraries written have to use the common subset, which - unless
things are *removed*, which with python3 actually happened - is always
the oldest interpreter. And if a feature goes away, they have to be
rewritten with the then common subset.
you see that's the problem with py3. instead
On Thu, 12 Nov 2009 08:35:23 -0800, Joel Davis wrote:
obviously the GIL is a major reason it's so slow.
No such obviously about it.
There have been attempts to remove the GIL, and they lead to CPython
becoming *slower*, not faster, for the still common case of single-core
processors.
And
Santiago Romero, 12.11.2009 17:43:
Is there a Python version of C's language #define statements?
Example:
#define ReadMem( (x) )memory[ (x) ]
Yes:
ReadMem = memory.__getitem__
Stefan
--
http://mail.python.org/mailman/listinfo/python-list
Could not import module Gnuplot - it is not installed on your
system. You need to install the Gnuplot.py package.
\easyviz\gnuplot_.py(41) module:
Traceback (most recent call last):
File E:\study\python\commodity modle 10.23.py, line 3, in module
import multipleloop as mp
File
On 12 nov, 18:16, Stefan Behnel stefan...@behnel.de wrote:
Santiago Romero, 12.11.2009 17:43:
Is there a Python version of C's language #define statements?
Example:
#define ReadMem( (x) ) memory[ (x) ]
Yes:
ReadMem = memory.__getitem__
Stefan
Well, In the above
* Steven D'Aprano:
On Thu, 12 Nov 2009 08:35:23 -0800, Joel Davis wrote:
obviously the GIL is a major reason it's so slow.
http://en.wikipedia.org/wiki/Global_Interpreter_Lock
Uh oh...
No such obviously about it.
There have been attempts to remove the GIL, and they lead to CPython
mcherm mch...@gmail.com writes:
On Nov 11, 7:38 pm, Vincent Manis vma...@telus.net wrote:
1. The statement `Python is slow' doesn't make any sense to me.
Python is a programming language; it is implementations that have
speed or lack thereof.
[...]
2. A skilled programmer could build an
Santiago Romero, 12.11.2009 18:23:
#define LD_r_n(reg) (reg) = Z80ReadMem(r_PC++)
#define LD_rr_nn(reg) r_opl = Z80ReadMem(r_PC); r_PC++; \
r_oph = Z80ReadMem(r_PC); r_PC++; \
reg = r_op
#define LOAD_r(dreg, saddreg)
You can do clever memory slicing like this with numpy. For instance:
breg = numpy.zeros((16,),numpy.uint8)
wreg = numpy.ndarray((8,),numpy.uint16,breg)
This causes breg and wreg to share the same 16 bytes of memory. You
can define constants to access specific registers:
What I'm doing
so:
# moduleA.py
import moduleB
# moduleB.py
import sys
stuff = sys._getframe(1).f_locals
print stuff
Prints:
{'__builtins__': module '__builtin__' (built-in),
'__file__': 'C:\\Documents and Settings\\userName\\My Documents\
\python\\moduleA.py',
'__name__': '__main__',
'__doc__': None}
Looks
Oops, numpy arrays start with index=0 :-)
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Nov 12, 2009 at 12:05 PM, Sriram Srinivasan
naughtysri...@gmail.com wrote:
So all libraries written have to use the common subset, which - unless
things are *removed*, which with python3 actually happened - is always
the oldest interpreter. And if a feature goes away, they have to be
AK Eric wrote:
so:
# moduleA.py
import moduleB
# moduleB.py
import sys
stuff = sys._getframe(1).f_locals
print stuff
Prints:
{'__builtins__': module '__builtin__' (built-in),
'__file__': 'C:\\Documents and Settings\\userName\\My Documents\
\python\\moduleA.py',
'__name__': '__main__',
On Nov 12, 10:10 am, Ethan Furman et...@stoneleaf.us wrote:
AK Eric wrote:
so:
# moduleA.py
import moduleB
# moduleB.py
import sys
stuff = sys._getframe(1).f_locals
print stuff
Prints:
{'__builtins__': module '__builtin__' (built-in),
'__file__': 'C:\\Documents and
I need to create a dictionary of querysets. I have code that looks
like:
query1 = Myobject.objects.filter(status=1)
query2 = Myobject.objects.filter(status=2)
query3 = Myobject.objects.filter(status=3)
d={}
d['a'] = query1
d['b'] = query2
d['c'] = query3
Is there a way to do this that I'm
Someone on this list just recommended I find an ftp client that enables me
to change line endings. He indicated that it would be easy, but googling I
haven't been able to find one. I would prefer a free client, but whatever.
Please send me a recommendation.
How about the command line client
On Thu, 12 Nov 2009 09:32:28 -0800, Alf P. Steinbach al...@start.no
wrote:
This also seems religious. It's like in Norway it became illegal to
market lemon soda, since umpteen years ago it's soda with lemon
flavoring. This has to do with the *origin* of the citric acid, whether
natural
If it's such a big hairy deal, just recompile a copy of the C Pre
Processor to use something other then #, and hook it up to your python
scripts in a pipe line from a shell wrapper.
Personally, I'd rather have Lisps lambda or perls sub then Cs
preprocessor, and even in those cases, Python
2009/11/12 scoopseven mark.ke...@gmail.com:
I need to create a dictionary of querysets. I have code that looks
like:
query1 = Myobject.objects.filter(status=1)
query2 = Myobject.objects.filter(status=2)
query3 = Myobject.objects.filter(status=3)
d={}
d['a'] = query1
d['b'] = query2
scoopseven schrieb:
I need to create a dictionary of querysets. I have code that looks
like:
query1 = Myobject.objects.filter(status=1)
query2 = Myobject.objects.filter(status=2)
query3 = Myobject.objects.filter(status=3)
d={}
d['a'] = query1
d['b'] = query2
d['c'] = query3
Is there a way to
I have an assigment to find the 1000th. prime using python. What's wrong
with the following code:
PrimeCount = 0
PrimeCandidate = 1
while PrimeCount 2000:
IsPrime = True
PrimeCandidate = PrimeCandidate + 2
for x in range(2, PrimeCandidate):
if PrimeCandidate % x == 0:
##
S.Selvam wrote:
Hi all,
1) I need to remove the a tags which is just before the keyword(i.e
some_text2 ) excluding others.
2) input string may or may not contain a tags.
3) Sample input:
inputstr = start a href=some_urlsome_text1/a a
href=some_text2/a keyword anything
4) I came
* Rami Chowdhury:
On Thu, 12 Nov 2009 09:32:28 -0800, Alf P. Steinbach al...@start.no
wrote:
This also seems religious. It's like in Norway it became illegal to
market lemon soda, since umpteen years ago it's soda with lemon
flavoring. This has to do with the *origin* of the citric acid,
Victor Subervi wrote:
Hi;
Someone on this list just recommended I find an ftp client that enables me
to change line endings. He indicated that it would be easy, but googling I
haven't been able to find one. I would prefer a free client, but whatever.
Please send me a recommendation.
TIA,
Steven D'Aprano wrote:
On Wed, 11 Nov 2009 17:24:37 -0800, hong zhang wrote:
List,
I have a question of python using echo.
POWER = 14
return_value = os.system('echo 14
/sys/class/net/wlan1/device/tx_power')
can assign 14 to tx_power
But
return_value = os.system('echo $POWER
Alf P. Steinbach wrote:
One reaction to url: url:
http://preview.tinyurl.com/ProgrammingBookP3 has been that turtle
graphics may be off-putting to some readers because it is associated
with children's learning.
What do you think?
I just started using the module for simple plots.
I am not a
On Nov 12, 11:31 am, Terry Reedy tjre...@udel.edu wrote:
Alf P. Steinbach wrote:
One reaction to url: url:
http://preview.tinyurl.com/ProgrammingBookP3 has been that turtle
graphics may be off-putting to some readers because it is associated
with children's learning.
What do you think?
On Thu, 12 Nov 2009 11:24:18 -0800, Alf P. Steinbach al...@start.no
wrote:
* Rami Chowdhury:
On Thu, 12 Nov 2009 09:32:28 -0800, Alf P. Steinbach al...@start.no
wrote:
This also seems religious. It's like in Norway it became illegal to
market lemon soda, since umpteen years ago it's
Ray Holt wrote:
I have an assigment to find the 1000th. prime using python. What's wrong
with the following code:
PrimeCount = 0
PrimeCandidate = 1
while PrimeCount 2000:
IsPrime = True
PrimeCandidate = PrimeCandidate + 2
for x in range(2, PrimeCandidate):
if PrimeCandidate
Thanks.
V
On Thu, Nov 12, 2009 at 2:26 PM, Dave Angel da...@ieee.org wrote:
Victor Subervi wrote:
Hi;
Someone on this list just recommended I find an ftp client that enables me
to change line endings. He indicated that it would be easy, but googling I
haven't been able to find one. I
Hello,
Currently i am using 2.6 on Windows and need to start writing code in
3.0. I cannot leave 2.x yet because 3rd party modules are still not
converted. So i want to install 3.0 without disturbing my current
Python2.x. What i'm afraid of is that some SYSVARIABLE will get
changed to Python3.0
* Rami Chowdhury:
On Thu, 12 Nov 2009 11:24:18 -0800, Alf P. Steinbach al...@start.no
wrote:
* Rami Chowdhury:
On Thu, 12 Nov 2009 09:32:28 -0800, Alf P. Steinbach al...@start.no
wrote:
This also seems religious. It's like in Norway it became illegal to
market lemon soda, since umpteen
On Thursday, November 12, 2009, Ray Holt mrhol...@sbcglobal.net wrote:
I have an assigment
to find the 1000th. prime using python. What's wrong with the following
code:
PrimeCount =
0
PrimeCandidate = 1
while PrimeCount 2000:
IsPrime = True
PrimeCandidate = PrimeCandidate +
2
I have a Python program that runs too slow for some inputs. I would
like to speed it up without rewriting any code. Psyco seemed like
exactly what I need, until I saw that it only works on a 32-bit
architecture. I work in an environment of Sun Ultras that are all 64-
bit. However, the Psyco docs
On Thursday, November 12, 2009, Benjamin Kaplan
benjamin.kap...@case.edu wrote:
On Thursday, November 12, 2009, Ray Holt mrhol...@sbcglobal.net wrote:
I have an assigment
to find the 1000th. prime using python. What's wrong with the following
code:
PrimeCount =
0
PrimeCandidate = 1
On Thu, 12 Nov 2009 12:02:11 -0800, Alf P. Steinbach al...@start.no
wrote:
I think that was in the part you *snipped* here. Just fill in the
mentioned qualifications and weasel words.
OK, sure. I don't think they're weasel words, because I find them useful,
but I think I see where you're
On Thu, Nov 12, 2009 at 12:06 PM, Russ P. russ.paie...@gmail.com wrote:
I have a Python program that runs too slow for some inputs. I would
like to speed it up without rewriting any code. Psyco seemed like
exactly what I need, until I saw that it only works on a 32-bit
architecture. I work in
On Thu, Nov 12, 2009 at 2:24 PM, Alf P. Steinbach al...@start.no wrote:
You'll also find it impossible to rigorously define dynamic language in a
general way so that that definition excludes C++. g
So, to anyone who understands what one is talking about, interpreted, or
e.g. slow language
On Thu, Nov 12, 2009 at 2:52 PM, rantingrick rantingr...@gmail.com wrote:
Hello,
Currently i am using 2.6 on Windows and need to start writing code in
3.0. I cannot leave 2.x yet because 3rd party modules are still not
converted. So i want to install 3.0 without disturbing my current
rantingrick wrote:
Hello,
Currently i am using 2.6 on Windows and need to start writing code in
3.0. I cannot leave 2.x yet because 3rd party modules are still not
converted. So i want to install 3.0 without disturbing my current
Python2.x. What i'm afraid of is that some SYSVARIABLE will get
Ray Holt wrote:
I have an assigment to find the 1000th. prime using python. What's wrong
with the following code:
PrimeCount = 0
PrimeCandidate = 1
while PrimeCount 2000:
IsPrime = True
PrimeCandidate = PrimeCandidate + 2
for x in range(2, PrimeCandidate):
if PrimeCandidate
Carl Banks wrote:
Well, it's hard to argue with not being like C++, but the lack of
inheritance is a doozie.
Well it has the concept of embedding, which seems to be similar to
inheritance.
- Patrick
--
http://mail.python.org/mailman/listinfo/python-list
On 11/12/2009 11:26 AM, Dave Angel wrote:
Try http://fireftp.mozdev.org/
in the past i found this to be buggy. i'd recommend
something different.
what is your OS?
-- david
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 12 Nov 2009 12:44:00 -0800, Benjamin Kaplan
benjamin.kap...@case.edu wrote:
Some one could even write an
interpreter for C++ if they wanted to.
Someone has (http://root.cern.ch/drupal/content/cint)!
--
Rami Chowdhury
Never attribute to malice that which can be attributed to
kj wrote:
I'm just learning about Google's latest: the GO (Go?) language.
(e.g. http://golang.org or http://www.youtube.com/watch?v=rKnDgT73v8s).
There are some distinctly Pythonoid features to the syntax, such
as import this_or_that, the absence of parentheses at the top of
flow control
1 - 100 of 173 matches
Mail list logo