Re: Python Questions - July 25, 2015

2015-07-29 Thread BartC
On 29/07/2015 17:13, Laura Creighton wrote: In a message of Tue, 28 Jul 2015 17:45:00 +0100, BartC writes: On 28/07/2015 17:12, Steven D'Aprano wrote: https://en.wikipedia.org/wiki/Libffi Yes, I know (I was looking at it myself a few days ago for another project). But while it might be used

Re: Python Questions - July 25, 2015

2015-07-29 Thread Laura Creighton
In a message of Tue, 28 Jul 2015 17:45:00 +0100, BartC writes: >On 28/07/2015 17:12, Steven D'Aprano wrote: >> On Tue, 28 Jul 2015 07:46 pm, BartC wrote: >> >>> (I'm still reeling from the size of that Anaconda download. Apparently >>> it contains a whole bunch of stuff, nothing to do with numpy, t

Re: Python Questions - July 25, 2015

2015-07-28 Thread Rob Gaddi
On Tue, 28 Jul 2015 17:45:00 +0100, BartC wrote: > On 28/07/2015 17:12, Steven D'Aprano wrote: >> On Tue, 28 Jul 2015 07:46 pm, BartC wrote: >> >>> (I'm still reeling from the size of that Anaconda download. Apparently >>> it contains a whole bunch of stuff, nothing to do with numpy, that I >>> do

Re: Python Questions - July 25, 2015

2015-07-28 Thread BartC
On 28/07/2015 17:12, Steven D'Aprano wrote: On Tue, 28 Jul 2015 07:46 pm, BartC wrote: (I'm still reeling from the size of that Anaconda download. Apparently it contains a whole bunch of stuff, nothing to do with numpy, that I don't need. But one of the listed packages was 'libffi', which is pu

Re: Python Questions - July 25, 2015

2015-07-28 Thread Steven D'Aprano
On Tue, 28 Jul 2015 07:46 pm, BartC wrote: > (I'm still reeling from the size of that Anaconda download. Apparently > it contains a whole bunch of stuff, nothing to do with numpy, that I > don't need. But one of the listed packages was 'libffi', which is > puzzling. This library lets a C-like lang

Re: Python Questions - July 25, 2015

2015-07-28 Thread Steven D'Aprano
On Tue, 28 Jul 2015 08:44 pm, BartC wrote: > No, I asked for how to install numpy, and was told to install Anaconda. > I didn't know it was so big. It's like asking where to buy a pint of > milk, and inadvertently buying the whole store! Which does, after all, > come with the milk I wanted... Bar

Re: Python Questions - July 25, 2015

2015-07-28 Thread Mark Lawrence
On 28/07/2015 09:50, Terry Reedy wrote: On 7/27/2015 7:14 PM, Rob Gaddi wrote: On Sun, 26 Jul 2015 13:49:57 +0100, BartC wrote: How do you actually install Numpy in Windows? I believe 'pip install numpy' works As I recall you noodle around with it for a few hours making things that look lik

Re: Python Questions - July 25, 2015

2015-07-28 Thread Mark Lawrence
On 28/07/2015 11:44, BartC wrote: Right you are. There is a pip.exe in the ./Scripts directory of Python 3.4. A handy tip for windows users is that there is a versioned number of pip, e.g. pip3.4.exe. Very useful indeed when you've multiple Python versions installed as I have, as it preven

Re: Python Questions - July 25, 2015

2015-07-28 Thread BartC
On 28/07/2015 11:17, Chris Angelico wrote: On Tue, Jul 28, 2015 at 7:46 PM, BartC wrote: On 28/07/2015 09:50, Terry Reedy wrote: I believe 'pip install numpy' works C:>pip install numpy 'pip' is not recognized as an internal or external command, operable program or batch file. Then g

Re: Python Questions - July 25, 2015

2015-07-28 Thread Chris Angelico
On Tue, Jul 28, 2015 at 7:46 PM, BartC wrote: > On 28/07/2015 09:50, Terry Reedy wrote: >> I believe 'pip install numpy' works > > > C:>pip install numpy > > 'pip' is not recognized as an internal or external command, > operable program or batch file. Then go and update your Python, because the

Re: Python Questions - July 25, 2015

2015-07-28 Thread BartC
On 28/07/2015 09:50, Terry Reedy wrote: On 7/27/2015 7:14 PM, Rob Gaddi wrote: On Sun, 26 Jul 2015 13:49:57 +0100, BartC wrote: How do you actually install Numpy in Windows? I believe 'pip install numpy' works C:>pip install numpy 'pip' is not recognized as an internal or external command

Re: Python Questions - July 25, 2015

2015-07-28 Thread Terry Reedy
On 7/27/2015 7:14 PM, Rob Gaddi wrote: On Sun, 26 Jul 2015 13:49:57 +0100, BartC wrote: How do you actually install Numpy in Windows? I believe 'pip install numpy' works As I recall you noodle around with it for a few hours making things that look like progress but turn out to be rabbit hole

Re: Python Questions - July 25, 2015

2015-07-27 Thread Rob Gaddi
On Sun, 26 Jul 2015 13:49:57 +0100, BartC wrote: > How do you actually install Numpy in Windows? > > I had a go a month or two ago and couldn't get anywhere. > As I recall you noodle around with it for a few hours making things that look like progress but turn out to be rabbit holes. Then you

Re: Python Questions - July 25, 2015

2015-07-27 Thread mm0fmf via Python-list
On 27/07/2015 01:18, Mark Lawrence wrote: On 27/07/2015 00:12, Ned Batchelder wrote: On Sunday, July 26, 2015 at 5:15:31 PM UTC-4, mm0fmf wrote: On 26/07/2015 20:17, E.D.G. wrote: [around 90 lines snipped] Am I the only person thinking Troll? Yes. --Ned. Was it really necessary to re

Re: Python Questions - July 25, 2015

2015-07-27 Thread tjohnson
#6: I don't know what your colleague will think, but I've read too many negative things about Eric (lots of dependencies, poor documentation, etc.) to ever try it. For a powerful Free Python IDE, I'd recommend either Eclipse with PyDev (what I use), or PyCharm. -- https://mail.python.org/mailma

Re: Python Questions - July 25, 2015

2015-07-27 Thread Laura Creighton
In a message of Sun, 26 Jul 2015 18:58:14 -0500, "E.D.G." writes: > This is an indirect URL for a potentially important computer program >that I feel needs to be developed. Unfortunately, although Python could be >used to create PC or Mac versions of the program I don't think that those

Re: Python Questions - July 25, 2015

2015-07-27 Thread Matt Wheeler
I'll just answer the one part I don't feel has had enough attention yet, all other parts chopped... On Sat, 25 Jul 2015 10:39 E.D.G. wrote: Posted by E.D.G. July 25, 2015 6. What is Python's version of the DOS level "System" command that many programs use as in: system "open notepad.exe" You

Re: Python Questions - July 25, 2015

2015-07-26 Thread Mark Lawrence
On 27/07/2015 00:12, Ned Batchelder wrote: On Sunday, July 26, 2015 at 5:15:31 PM UTC-4, mm0fmf wrote: On 26/07/2015 20:17, E.D.G. wrote: [around 90 lines snipped] Am I the only person thinking Troll? Yes. --Ned. Was it really necessary to resend all of the original for the sake of a

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"Ned Batchelder" wrote in message news:b68af3d4-6f12-49d6-8c15-f18a95441...@googlegroups.com... Am I the only person thinking Troll? Yes. Posted by E.D.G. July 26, 2015 With some humor intended, thanks for the supportive note. This is an indirect URL for a potentially importan

Re: Python Questions - July 25, 2015

2015-07-26 Thread Ned Batchelder
On Sunday, July 26, 2015 at 5:15:31 PM UTC-4, mm0fmf wrote: > On 26/07/2015 20:17, E.D.G. wrote: > > "E.D.G." wrote in message > > news:jf6dnqimoz_gxc7inz2dnuu7-s2dn...@earthlink.com... > > > > Posted by E.D.G. July 26, 2015 > > > > These are some additional comments related to my origin

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"E.D.G." wrote in message news:q5sdntejbkkjxyjinz2dnuu7-tedn...@earthlink.com... Posted by E.D.G. July 26, 2015 There is an additional comment for people who are interested in scientific programming efforts. Most people are aware that when the U.S. Government tried to get a We

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"mm0fmf" wrote in message news:J5ctx.20800$IK6.11473@fx46.am4... > Am I the only person thinking Troll? Posted by E.D.G. July 26, 2015 In my opinion, one of the most important aspects in considering the selection of a new programming language is the willingness of people posting note

Re: Python Questions - July 25, 2015

2015-07-26 Thread mm0fmf via Python-list
On 26/07/2015 20:17, E.D.G. wrote: "E.D.G." wrote in message news:jf6dnqimoz_gxc7inz2dnuu7-s2dn...@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

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"E.D.G." wrote in message news:jf6dnqimoz_gxc7inz2dnuu7-s2dn...@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 languag

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"Laura Creighton" wrote in message news:mailman.1018.1437935917.3674.python-l...@python.org... Yes. That is actually the usual way to do things for quite a few years now. What you are talking about is what we call a Python virtual environment. see: http://iamzed.com/2009/05/07/a-primer-on-virt

Re: Python Questions - July 25, 2015

2015-07-26 Thread Laura Creighton
> It can take a considerable amount of time and effort to get a >programming language installed and running with all of the features that are >needed. It probably took me 5 to 10 years to get Perl organized on my >computer like that. > So, that is what I was asking about Python.

Re: Python Questions - July 25, 2015

2015-07-26 Thread E.D.G.
"Laura Creighton" wrote in message news:mailman.980.1437832769.3674.python-l...@python.org... The most common way to do things is to tell your users to install whatever python distribution you pick and then optionally install these extra packages (if you need any) and then give them a python pro

Re: Python Questions - July 25, 2015

2015-07-26 Thread BartC
On 26/07/2015 15:22, Steven D'Aprano wrote: On Sun, 26 Jul 2015 10:49 pm, BartC wrote: How do you actually install Numpy in Windows? Are you installing from source, or a pre-built binary? To install from source, you need a C or Fortran compiler, and a bunch of extra libraries (I think BLAS i

Re: Python Questions - July 25, 2015

2015-07-26 Thread BartC
On 26/07/2015 14:07, Chris Angelico wrote: On Sun, Jul 26, 2015 at 10:49 PM, BartC wrote: And is there anything I've done wrong above? (Apart from trying to use Windows.) Not sure about done *wrong*, per se, but there's something that you didn't mention doing: search the web for "numpy windo

Re: Python Questions - July 25, 2015

2015-07-26 Thread Steven D'Aprano
On Sun, 26 Jul 2015 10:49 pm, BartC wrote: > How do you actually install Numpy in Windows? Are you installing from source, or a pre-built binary? To install from source, you need a C or Fortran compiler, and a bunch of extra libraries (I think BLAS is one of them?). > I had a go a month or two

Re: Python Questions - July 25, 2015

2015-07-26 Thread Mark Lawrence
On 26/07/2015 13:49, BartC wrote: On 25/07/2015 12:36, tandrewjohn...@outlook.com wrote: For intensive numerical calculations, I'd recommend using the NumPy module, as well as the 64-bit version of Python is possible. How do you actually install Numpy in Windows? http://www.lfd.uci.edu/~go

Re: Python Questions - July 25, 2015

2015-07-26 Thread Adam Bartoš
> How do you actually install Numpy in Windows? In theory, `pip install numpy` should work, but there are currently no wheels for Windows, see https://github.com/numpy/numpy/issues/5479. Try `pip install -i https://pypi.binstar.org/carlkl/simple numpy` (see last posts in the issue). Adam Bartoš -

Re: Python Questions - July 25, 2015

2015-07-26 Thread Chris Angelico
On Sun, Jul 26, 2015 at 10:49 PM, BartC wrote: > > And is there anything I've done wrong above? (Apart from trying to use > Windows.) Not sure about done *wrong*, per se, but there's something that you didn't mention doing: search the web for "numpy windows", which brought me to this page: http:

Re: Python Questions - July 25, 2015

2015-07-26 Thread BartC
On 25/07/2015 12:36, tandrewjohn...@outlook.com wrote: For intensive numerical calculations, I'd recommend using the NumPy module, as well as the 64-bit version of Python is possible. How do you actually install Numpy in Windows? I had a go a month or two ago and couldn't get anywhere. I re

Re: Python Questions - July 25, 2015

2015-07-25 Thread tjohnson
On Saturday, July 25, 2015 at 5:40:02 AM UTC-4, E.D.G. wrote: > Posted by E.D.G. July 25, 2015 > >This posting involves general interest matters and some specific > questions regarding Python code usage. Any help would be appreciated. > > 1. Program conversion effort > 2. Specific code

Re: Python Questions - July 25, 2015

2015-07-25 Thread Laura Creighton
>Another question: > > With my Perl programs, when I want to run the programs on a new >computer or even from a flash drive, basically all I do is copy an entire >existing Perl program directory to the new computer or flash drive. And >that works. However, to make certain that it will wo

Re: Python Questions - July 25, 2015

2015-07-25 Thread E.D.G.
"Laura Creighton" wrote in message news:mailman.977.1437831069.3674.python-l...@python.org... I can answer some of these. Posted by E.D.G. July 25, 2015 Thanks for all of the comments. My retired professional programming colleague is now going to have plenty of projects to work on.

Re: Python Questions - July 25, 2015

2015-07-25 Thread Laura Creighton
I can answer some of these. In a message of Sat, 25 Jul 2015 04:39:43 -0500, "E.D.G." writes: > At the moment our Perl programs use Windows "Pipes" plus files in an >interactive mode to send data to Gnuplot so that the data can be plotted. >That actually produces good results. But it is a

Re: Python Questions - July 25, 2015

2015-07-25 Thread E.D.G.
wrote in message news:2adac4ce-976f-4a8a-849d-c76e484eb...@googlegroups.com... 1. Download the Windows installer from Python.org to get started. It's the simplest and most common way to get started with Python on Windows. 2. Your assumption that Python does not have GUI capabilities built into

Python Questions - July 25, 2015

2015-07-25 Thread tandrewjohnson
Sorry, in #2 I meant to say that your assumption *is* correct. My bad. -- https://mail.python.org/mailman/listinfo/python-list

Python Questions - July 25, 2015

2015-07-25 Thread tandrewjohnson
1. Download the Windows installer from Python.org to get started. It's the simplest and most common way to get started with Python on Windows. 2. Your assumption that Python does not have GUI capabilities built into the language is not correct. But unlike Perl, it has the GUI library Tkinter bu

Re: Python Questions - July 25, 2015

2015-07-25 Thread Jonas Wielicki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, These are quite a few questions and I’ll try to answer some of them. I have cut out the windows specific questions because I cannot answer them . On 25.07.2015 11:39, E.D.G. wrote: > At the moment our Perl programs use Windows "Pipes" plus file

Python Questions - July 25, 2015

2015-07-25 Thread E.D.G.
Posted by E.D.G. July 25, 2015 This posting involves general interest matters and some specific questions regarding Python code usage. Any help would be appreciated. 1. Program conversion effort 2. Specific code questions 1. PROGRAM CONVERSION EFFORT An effort is underway by s