Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94645

Re: Python Questions - July 25, 2015

From "E.D.G." <edgrsprj@ix.netcom.com>
Newsgroups comp.lang.python
References <jf6dnQiMOZ_GxC7InZ2dnUU7-S2dnZ2d@earthlink.com>
Subject Re: Python Questions - July 25, 2015
Date 2015-07-26 14:17 -0500
Message-ID <ks2dnVPporT-ryjInZ2dnUU7-W2dnZ2d@earthlink.com> (permalink)

Show all headers | View raw


"E.D.G." <edgrsprj@ix.netcom.com> wrote in message 
news:jf6dnQiMOZ_GxC7InZ2dnUU7-S2dnZ2d@earthlink.com...

Posted by E.D.G.   July 26, 2015

        These are some additional comments related to my original post.

       The effort I have been discussing actually involves developing a 
totally free version of some language that scientists around the world could 
easily install and use.


1.  With my own science related Perl programs I provide people with .exe 
versions in addition to the .pl versions.  And for the .pl versions, at one 
of my Web sites there is actually an entire Perl programming language 
directory available in a .zip package.  So, people can download the file, 
unzip it, and then save it as the Perl directory and .pl programs will then 
run on that computer.  We would like to be able to do the same thing with 
Python if we start working with that language.  And a response in another 
post indicates that this should be possible.

2.  Python looks especially attractive because so many people are using it. 
And I myself have a friend who is a very experienced professional Python 
programmer.  On the other hand, there are so many versions of Python that it 
might be difficult at first to determine which one to start with.

3.  I asked that Python programmer if Python could run on an Internet server 
as a CGI program.  And the answer was "I have no idea."  So, amusingly, 
apparently even experienced professional programmers don't know everything 
there is to know about a given programming language!

4.  I myself know that Perl programs will run on Internet servers as CGI 
programs and have written several myself using a development program called 
Xampp to create and test them before installing them on the server computer.

5.  My retired professional programming colleague has now told me that he 
downloaded and installed the ActiveState Windows version of Python with no 
difficulties.  So, that is encouraging news.

6.  He said that he is looking around for a good IDE for Python and found 
one called "Eric" that he is checking.

7.  With my Perl language programs I have developed a resource that will do 
the following.  And I imagine that this could also be done with Python. 
This resource can't be developed with many and probably most programming 
languages.

       In part because of limited calculation speeds it can take one of my 
important probability calculation Perl programs as much a two hours to run 
and create all of the necessary data arrays.  Many, many millions of 
calculations are involved.  And once everything is set, for time limitation 
reasons it would be ordinarily be impossible to make any changes to the data 
or to the original program code without losing all of the data.

       So, I have developed a special Perl program that makes that possible. 
And as I said, I am guessing that this approach would also work with Python.

       When the Perl program is done with its calculations, instead of 
ending it jumps to another Perl program.  But all of the data in the arrays 
it created remain active in memory.  The original program code can then be 
changed.  The second Perl program is then told that the changes are complete 
and that it should return to the first program.  Perl then attempt to 
recompile the original code.  If it is successful it then uses the new code 
and does whatever is specified.  The previously created arrays are still 
active in memory using the same array names etc.

       If there was an error in the new code, a Windows screen appears 
explaining that there was an error and the compilation ends.  But, the data 
remain in the active computer memory.

       Changes can then be are made to the program code to fix the error. 
And, the second Perl program is told to try again.  If there are no new 
errors the first program recompiles and runs using the already created 
arrays etc.

      This is a very useful resource for scientists as it lets them create 
and test new program code without having to recreate all of the data arrays. 
And as I stated, it would probably not be possible to develop such a 
resource with most programming languages.

Regards,

E.D.G.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 04:39 -0500
  Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:36 -0700
    Python Questions - July 25, 2015 tandrewjohnson@outlook.com - 2015-07-25 04:39 -0700
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:16 -0500
      Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:59 +0200
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 12:49 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-26 20:38 +0200
            Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 13:48 -0500
    Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 13:49 +0100
      Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-26 23:07 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:30 +0100
      Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-26 14:19 +0100
      Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-27 00:22 +1000
        Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-26 15:58 +0100
      Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-27 23:14 +0000
        Re: Python Questions - July 25, 2015 Terry Reedy <tjreedy@udel.edu> - 2015-07-28 04:50 -0400
          Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 10:46 +0100
            Re: Python Questions - July 25, 2015 Chris Angelico <rosuav@gmail.com> - 2015-07-28 20:17 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 11:44 +0100
                Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:47 +0100
                Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:02 +1000
            Re: Python Questions - July 25, 2015 Steven D'Aprano <steve@pearwood.info> - 2015-07-29 02:12 +1000
              Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-28 17:45 +0100
                Re: Python Questions - July 25, 2015 Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-28 18:46 +0000
                Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-29 18:13 +0200
                Re: Python Questions - July 25, 2015 BartC <bc@freeuk.com> - 2015-07-29 17:50 +0100
          Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-28 07:09 -0700
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-28 13:58 +0100
  Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-25 15:30 +0200
    Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-25 08:45 -0500
  Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-25 15:16 -0700
  Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 14:17 -0500
    Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-26 22:15 +0100
      Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:08 -0500
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 17:32 -0500
      Re: Python Questions - July 25, 2015 Ned Batchelder <ned@nedbatchelder.com> - 2015-07-26 16:12 -0700
        Re: Python Questions - July 25, 2015 "E.D.G." <edgrsprj@ix.netcom.com> - 2015-07-26 18:58 -0500
          Re: Python Questions - July 25, 2015 Laura Creighton <lac@openend.se> - 2015-07-27 11:15 +0200
        Re: Python Questions - July 25, 2015 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-27 01:18 +0100
          Re: Python Questions - July 25, 2015 mm0fmf <none@mailinator.com> - 2015-07-27 17:46 +0100
    Re: Python Questions - July 25, 2015 tjohnson <tandrewjohnson@outlook.com> - 2015-07-27 03:24 -0700
      Re: Python Questions - July 25, 2015 wxjmfauth@gmail.com - 2015-07-29 00:43 -0700

csiph-web