E.D.G. edgrs...@ix.netcom.com wrote in message
news:yo-dnwfmi7_7d-jpnz2dnuvz_hqdn...@earthlink.com...
Posted by E.D.G. on November 12, 2013
The following is part of a note that I just posted to the Perl
Newsgroup. But it is actually intended for all computer programmers who are
On Tue, Nov 12, 2013 at 9:21 PM, E.D.G. edgrs...@ix.netcom.com wrote:
The point is, when people want to make some computer program available
for use by others around the world they might want to circulate a version of
their program that has such a simple format that anyone can understand
On Q4, you could try Waterloo Graphics http://waterloo.sourceforge.net. Its
LGPLv3 and, although Java-based, runs in Python via Py4J. It has built-in mouse
interactivity/GUI editors etc that will all be active when used from Python.
It is Java Swing-based, so e.g. data points can be drawn as
On Tuesday, November 5, 2013 1:22:05 PM UTC+8, E.D.G. wrote:
Jim Gibson jimsgib...@gmail.com wrote in message
news:031120131018099327%jimsgib...@gmail.com...
One way to generate plot within a CGI program is this:
To start off with, I am not a CGI expert. Also, I have
Jim Gibson jimsgib...@gmail.com wrote in message
news:031120131018099327%jimsgib...@gmail.com...
One way to generate plot within a CGI program is this:
To start off with, I am not a CGI expert. Also, I have several
degrees in the physical sciences and many years of doing computer
E.D.G. edgrs...@ix.netcom.com wrote in message
news:udgdnadga6n9vu_pnz2dnuvz_umdn...@earthlink.com...
Thanks for all of the comments. I have been away from my Internet
connection for several days and could not respond to them when they were
first posted here.
The comments have
Mark Lawrence breamore...@yahoo.co.uk wrote in message
news:mailman.1873.1383227352.18130.python-l...@python.org...
https://pypi.python.org/pypi/pywinauto/0.3.9 or
http://stackoverflow.com/questions/1823762/sendkeys-for-python-3-1-on-windows
Python SendKey looks like it probably works about
William Ray Wing w...@mac.com wrote in message
news:mailman.1934.1383320554.18130.python-l...@python.org...
If you look here: http://wiki.wxpython.org/MatplotlibFourierDemo
A suggestion that I would like to add is that when people make Demo
programs like that available they might
On Sunday, November 3, 2013 11:15:48 AM UTC+5:30, E.D.G. wrote:
rusi wrote:
Not sure what will… you may look at Julia: http://julialang.org/
That program language speed comparison table looks quite interesting.
And I asked some of the other people that I work with to take a look at
On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote:
[...]
Since Perl has a calculation speed
limit that is probably not easy to get around, before too long another
language will be selected for initially doing certain things such as
performing calculations and plotting charts. And the existing
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote in message
news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com...
http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/
http://technicaldiscovery.blogspot.com.au/2011/06/speeding-up-python-numpy-cython-and.html
On 03/11/2013 09:47, E.D.G. wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote in
message news:5275fe91$0$29972$c3e8da3$54964...@news.astraweb.com...
http://jakevdp.github.io/blog/2013/06/15/numba-vs-cython-take-2/
In article okcdnxfaqqxze-jpnz2dnuvz_jgdn...@earthlink.com, E.D.G.
edgrs...@ix.netcom.com wrote:
My main, complex programs won't be run at Web sites. They will
instead continue to be available as downloadable exe programs. The CGI (or
whatever) programming work would involve
On Sunday, November 3, 2013 1:13:13 PM UTC+5:30, Steven D'Aprano wrote:
On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote:
[...]
Since Perl has a calculation speed
limit that is probably not easy to get around, before too long another
language will be selected for initially doing certain
On 03/11/2013 18:28, rusi wrote:
Which means take something like the pairwise function and code it up in python
and julia -- its hardly 10 lines of code. And see what comparative performance
you get.
Solely on the grounds that you've mentioned julia how about this
On 2013-11-03, Jim Gibson jimsgib...@gmail.com wrote:
In article okcdnxfaqqxze-jpnz2dnuvz_jgdn...@earthlink.com, E.D.G.
edgrs...@ix.netcom.com wrote:
My main, complex programs won't be run at Web sites. They will
instead continue to be available as downloadable exe programs. The CGI
On Monday, November 4, 2013 12:28:24 AM UTC+5:30, Mark Lawrence wrote:
On 03/11/2013 18:28, rusi wrote:
Which means take something like the pairwise function and code it
up in python and julia -- its hardly 10 lines of code. And see
what comparative performance you get.
Solely on the
rusi rustompm...@gmail.com wrote in message
news:1e63687b-4269-42d9-8700-e3a8dcc57...@googlegroups.com...
Not sure what will… you may look at Julia: http://julialang.org/
That program language speed comparison table looks quite interesting.
And I asked some of the other people that I
On Oct 31, 2013, at 5:31 AM, E.D.G. edgrs...@ix.netcom.com wrote:
Posted by E.D.G. on October 31, 2013
The following are several relatively basic questions regarding Python's
capabilities. I am not presently using it myself. At the moment a number of
people including myself are
On 11/01/2013 08:42 AM, William Ray Wing wrote:
Granted, this performance is based on pulling in libraries. It imports numpy,
mathplotlib, and wx to handle the fast array calculations, the plotting, and the GUI
respectively, but those are exactly the sorts of batteries included libraries
On Nov 1, 2013, at 2:08 PM, Ethan Furman et...@stoneleaf.us wrote:
On 11/01/2013 08:42 AM, William Ray Wing wrote:
Granted, this performance is based on pulling in libraries. It imports
numpy, mathplotlib, and wx to handle the fast array calculations, the
plotting, and the GUI
Posted by E.D.G. on October 31, 2013
The following are several relatively basic questions regarding Python's
capabilities. I am not presently using it myself. At the moment a number
of people including myself are comparing it with other programs such as
XBasic for possible use.
1.
On Thu, Oct 31, 2013 at 10:31 AM, E.D.G. edgrs...@ix.netcom.com wrote:
Posted by E.D.G. on October 31, 2013
The following are several relatively basic questions regarding
Python's capabilities. I am not presently using it myself. At the moment a
number of people including myself are
Posted by E.D.G. October 31, 2013
Hi Chris,
Thanks for the responses. Several of my questions were answered.
The calculation speed question just involves relatively simple math
such as multiplications and divisions and trig calculations such as sin and
tan etc. Presently I am
On Thu, Oct 31, 2013 at 11:38 AM, E.D.G. edgrs...@ix.netcom.com wrote:
Posted by E.D.G. October 31, 2013
no need to write that.
Hi Chris,
Thanks for the responses. Several of my questions were answered.
The calculation speed question just involves relatively simple math
such
In article udgdnadga6n9vu_pnz2dnuvz_umdn...@earthlink.com,
E.D.G. edgrs...@ix.netcom.com wrote:
1. How fast can Python do math calculations compared with other languages
such as Fortran and fast versions of Basic. I would have to believe that it
is much faster than Perl for doing math
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig calculations such
as sin and tan etc.
These are not simple computations.
Any compiled language (Fortran, C, C++, typically) will
On 31/10/2013 10:38, E.D.G. wrote:
Posted by E.D.G. October 31, 2013
Hi Chris,
Thanks for the responses. Several of my questions were answered.
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig calculations such as
On Fri, Nov 1, 2013 at 12:17 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig calculations such
as sin and tan etc.
These are
On 31/10/2013 13:17, Alain Ketterlin wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig calculations such
as sin and tan etc.
These are not simple computations.
Any compiled
Chris Angelico ros...@gmail.com writes:
On Fri, Nov 1, 2013 at 12:17 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig
On 2013-10-31 14:05, Chris Angelico wrote:
On Fri, Nov 1, 2013 at 12:17 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig
On Fri, Nov 1, 2013 at 1:18 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
Well, sure, yes, I agree with you and hope they are left to the FP
engine (still, fp ops are often multi-cycle, but that's a minor point).
But what I meant was: a (bytecode) interpreted program will always be
On Fri, Nov 1, 2013 at 1:41 AM, Robert Kern robert.k...@gmail.com wrote:
On 2013-10-31 14:05, Chris Angelico wrote:
On Fri, Nov 1, 2013 at 12:17 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves
Mark Lawrence breamore...@yahoo.co.uk writes:
On 31/10/2013 13:17, Alain Ketterlin wrote:
E.D.G. edgrs...@ix.netcom.com writes:
The calculation speed question just involves relatively simple
math such as multiplications and divisions and trig calculations such
as sin and tan etc.
On 2013-10-31 14:49, Chris Angelico wrote:
On Fri, Nov 1, 2013 at 1:41 AM, Robert Kern robert.k...@gmail.com wrote:
On 2013-10-31 14:05, Chris Angelico wrote:
On Fri, Nov 1, 2013 at 12:17 AM, Alain Ketterlin
al...@dpt-info.u-strasbg.fr wrote:
E.D.G. edgrs...@ix.netcom.com writes:
On Thursday, October 31, 2013 4:08:48 PM UTC+5:30, E.D.G. wrote:
Posted by E.D.G. October 31, 2013
Hi Chris,
Thanks for the responses. Several of my questions were answered.
The calculation speed question just involves relatively
simple math such as multiplications and
1. How fast can Python do math calculations compared with other languages
such as Fortran and fast versions of Basic. I would have to believe that it
is much faster than Perl for doing math calculations.
As others have indicated, a lot depends on the form of your
calculations. There is a
Hendrik van Rooyen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I am currently going to school at Utah Valley State College, the course
that I am taking is analysis of programming languages. It's an upper
division course but our teacher wanted to teach
Paddy wrote:
John Machin wrote:
[Aside] How are you going to explain all this to your instructor, who
may be reading all this right now?
The instructor should be proud!
He has managed to do his very first post to a this newsgroup, about a
homework question, and do it in the right
I normaly try to be as resourceful as I can. I find that newgroups give
a wide range of answers and solutions to problems and you get a lot
responses to what is the right way to do things and different point of
views about the language that you can't find in help manuals. I also
want to thank
Diez B. Roggisch a écrit :
[EMAIL PROTECTED] schrieb:
I have taken the coments and think I have implemented most. My only
Unfortunately, no.
question is how to use the enumerator. Here is what I did, I have tried
a couple of things but was unable to figure out how to get the line
In [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
def Xref(filename):
try:
fp = open(filename, r)
lines = fp.readlines()
fp.close()
except:
raise Couldn't read input file \%s\ % filename
dict = {}
for line_num in xrange(len(lines)):
Instead
[EMAIL PROTECTED] wrote:
I have a simple assignment for school but am unsure where to go. The
assignment is to read in a text file, split out the words and say which
line each word appears in alphabetical order. I have the basic outline
of the program done which is:
looks like an excellent
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a simple assignment for school but am unsure where to go. The
assignment is to read in a text file, split out the words and say which
line each word appears in alphabetical order. I have the basic outline
of the program done
I am currently going to school at Utah Valley State College, the course
that I am taking is analysis of programming languages. It's an upper
division course but our teacher wanted to teach us python as part of
the course, he spent about 2 - 3 weeks on python which has been good. I
currently work
I have taken the coments and think I have implemented most. My only
question is how to use the enumerator. Here is what I did, I have tried
a couple of things but was unable to figure out how to get the line
number.
def Xref(filename):
try:
fp = open(filename, r)
except:
[EMAIL PROTECTED] wrote:
I have taken the coments and think I have implemented most. My only
question is how to use the enumerator. Here is what I did, I have tried
a couple of things but was unable to figure out how to get the line
number.
Try this in the interpreter,
l = [5,4,3,2,1]
tom wrote:
[EMAIL PROTECTED] wrote:
I have taken the coments and think I have implemented most. My only
question is how to use the enumerator. Here is what I did, I have tried
a couple of things but was unable to figure out how to get the line
number.
Try this in the
[EMAIL PROTECTED] schrieb:
I have taken the coments and think I have implemented most. My only
Unfortunately, no.
question is how to use the enumerator. Here is what I did, I have tried
a couple of things but was unable to figure out how to get the line
number.
def Xref(filename):
[EMAIL PROTECTED] wrote:
dict = {}
As a general rule you should avoid variable names which shadow built in
types (list, dict, etc.). This can cause unexpected behavior later on.
Also, variable names should be more descriptive of their contents.
Try word_dict or some such variant
--
So I implemented the exception spcified and in testing it returns:
DeprecationWarning: raising a string exception is deprecated
I am not to worried about depreciation warning however, out of
curiosity, what would the better way be to handle this? Is there a way
that (web site, help
So I implemented the exception spcified and in testing it returns:
DeprecationWarning: raising a string exception is deprecated
I am not to worried about depreciation warning however, out of
curiosity, what would the better way be to handle this? Is there a way
that (web site, help
[EMAIL PROTECTED] wrote:
So I implemented the exception spcified and in testing it returns:
DeprecationWarning: raising a string exception is deprecated
I am not to worried about depreciation warning however, out of
curiosity, what would the better way be to handle this? Is there a way
that
John Machin wrote:
[Aside] How are you going to explain all this to your instructor, who
may be reading all this right now?
The instructor should be proud!
He has managed to do his very first post to a this newsgroup, about a
homework question, and do it in the right way. that is no mean
[EMAIL PROTECTED] wrote:
I am currently going to school at Utah Valley State College, the course
that I am taking is analysis of programming languages. It's an upper
division course but our teacher wanted to teach us python as part of
what does upper division mean in this context ? I am
I have a simple assignment for school but am unsure where to go. The
assignment is to read in a text file, split out the words and say which
line each word appears in alphabetical order. I have the basic outline
of the program done which is:
def Xref(filename):
try:
fp =
[EMAIL PROTECTED] wrote:
I have a simple assignment for school but am unsure where to go. The
assignment is to read in a text file, split out the words and say which
line each word appears in alphabetical order. I have the basic outline
of the program done which is:
def Xref(filename):
58 matches
Mail list logo