Re: Deletion of Environmental Variables

2019-01-06 Thread Paul Moore
On Mon, 7 Jan 2019 at 06:37, Terry Reedy wrote: > The pydev recommended way to run pip on windows is > > py -x.y pip > as this installs the package requested into the x.y site-packages > directory. py -3.7 -m pip ... Note the extra -m). Paul -- https://mail.python.org/mailman/listinfo/python

Re: Deletion of Environmental Variables

2019-01-06 Thread Terry Reedy
On 1/6/2019 9:56 PM, Logan Vogelsong wrote: I planned on using python to simulate different cipher to challenge myself, but I kinda deleted my environmental variables to python. I run Windows 10 and wanted to get NumPy and MatPlotLib modules imported to python. Basically, I downloaded python 3.7

Re: Compilation

2019-01-06 Thread Terry Reedy
On 1/6/2019 6:20 PM, Avi Gross wrote: I suspect there is some python tool that can go through a directory structure of python code and produce appropriate byte code files in one sweep. import compileall help(compileall) The Windows installer optionally runs it. It is usually needed if one d

Re: Recommendations for a novice user.

2019-01-06 Thread rbowman
On 01/02/2019 05:14 AM, Hüseyin Ertuğrul wrote: I don't know the software language at all. What do you recommend to beginners to learn Python. What should be the working systematic? How much time should I spend every day or how much time should I spend on a daily basis. As much time as you ca

Re: the python name

2019-01-06 Thread rbowman
On 01/04/2019 10:45 AM, Peter J. Holzer wrote: FORTRAN is older than most of us. So it influenced what we think a computer language should sound like. Sadly, not for all of us... FORTRAN seeded later languages with terms that are obscure, like rewind(). A blazing powerhouse like the IBM Sys

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 05:31 PM, Avi Gross wrote: Why did I mention Anaconda? Because python is also the name of a snake and some people considered it appropriate to name their pet project that includes python, as the name of another snake: Probably not politically correct to mention but Colt had seven

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 09:53 PM, DL Neil wrote: Thus the OP's original assumption/confusion between a programming language and a serpent; Java and a large island; right down to C, R, etc which are too short to be usable search terms in most engines. C# wins the prize for not getting what you expect in a

Deletion of Environmental Variables

2019-01-06 Thread Logan Vogelsong
Hello- I think I subscribed now. I planned on using python to simulate different cipher to challenge myself, but I kinda deleted my environmental variables to python. I run Windows 10 and wanted to get NumPy and MatPlotLib modules imported to python. Basically, I downloaded python 3.7.1 first

Re: the python name

2019-01-06 Thread rbowman
On 01/04/2019 11:17 AM, Dennis Lee Bieber wrote: One would turn in a deck of cards to be spooled in the job queue, and come back some hours later to get the printout from the job. Or, in most cases, obscure compiler errors because you forget the continuation punch in column 6. Back to the keyp

Re: the python name

2019-01-06 Thread rbowman
On 01/04/2019 09:34 AM, Avi Gross wrote: Although I used FORTRAN ages ago and it still seems to be in active use, I am not clear on why the name FORMULA TRANSLATOR was chosen. I do agree it does sound more like a computer language based on both the sound and feel of FORTRAN as well as the expa

Re: the python name

2019-01-06 Thread rbowman
On 01/04/2019 09:06 AM, William Ray Wing wrote: On 3/01/19 2:03 PM, Avi Gross wrote: Challenge: Can we name any computer language whose name really would suggest it was a computer language? I think the name is the least important aspect of a computer language. I’d like to propose that classic

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 10:08 PM, Stefan Ram wrote: DL Neil writes: Thus the OP's original assumption/confusion between a programming language and a serpent; Java and a large island; right down to C, R, etc which are too short to be usable search terms in most engines. And still, you enter "Ant" into

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 01:28 PM, Grant Edwards wrote: On 2019-01-03, Gene Heskett wrote: Do I miss-remember that there was an anaconda language at sometime in the past? Not long after python made its debute? I've not see it mentioned in a decade so maybe its died? About 20 years ago, the RedHat Linux

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 12:40 PM, Gene Heskett wrote: Do I miss-remember that there was an anaconda language at sometime in the past? Not long after python made its debute? I've not see it mentioned in a decade so maybe its died? Very alive and well... https://www.anaconda.com/what-is-anaconda/ It's no

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 09:53 AM, Avi Gross wrote: Bad analogy, but snakes do tend to shed their skin periodically as they grow. 3.x certainly was a snake shedding its skin. ESRI moved to 3 for the cloud oriented products but their non-cloud products are still 2.7 and that's the world I live in. Som

Re: the python name

2019-01-06 Thread rbowman
On 01/03/2019 07:59 AM, Jack Dangler wrote: Odd that COBOL (Common Business Oriented Language) and DIBOL (Digital Business Oriented Language) follow the paradigm, but SNOBOL went with "symBOlic"... I vaguely remember it as being sort of an inside joke vis a vis COBOL. -- https://mail.python.or

Re: the python name

2019-01-06 Thread rbowman
On 01/02/2019 06:03 PM, Avi Gross wrote: A Programming Language? APL. A company I worked for bought an IBM 5120, not to be confused with the later 51xx PC's. It shipped with BASIC and APL in the ROM, had a toggle switch to select between the two, and the weird characters on the keyboard. Tha

Re: the python name

2019-01-06 Thread rbowman
On 01/02/2019 12:41 PM, Schachner, Joseph wrote: The name "Python" may not make sense, but what sense does the name Java make, or even C (unless you know that it was the successor to B), or Haskell or Pascal or even BASIC? Or Caml or Kotlin or Scratch? Or Oberon or R? Or Smalltalk, or SNOBOL?

Re: the python name

2019-01-06 Thread rbowman
On 01/02/2019 11:06 PM, songbird wrote: i can only claim to have written one program in SNOBOL and that was over 30yrs ago... My sympathies... -- https://mail.python.org/mailman/listinfo/python-list

RE: Compilation (was: the python name)

2019-01-06 Thread Avi Gross
Peter, I suspect there is some python tool that can go through a directory structure of python code and produce appropriate byte code files in one sweep. That would not be at run time. And, in any system where the average user does not have write permission on those folders, that would be a good i

Re: Transparently treating tar files and zip archives as directories

2019-01-06 Thread Skip Montanaro
> Pyfilesystem (https://pypi.org/project/fs/) does something like this - > it might be what you're after, Thanks, Paul. That would seem to check all my boxes and more. S -- https://mail.python.org/mailman/listinfo/python-list

Re: Transparently treating tar files and zip archives as directories

2019-01-06 Thread Paul Moore
Pyfilesystem (https://pypi.org/project/fs/) does something like this - it might be what you're after, Paul On Sun, 6 Jan 2019 at 22:32, Skip Montanaro wrote: > > I find it useful in some of the work I do to treat Zip archives as if > they were directories. I don't think it would be too difficult

Transparently treating tar files and zip archives as directories

2019-01-06 Thread Skip Montanaro
I find it useful in some of the work I do to treat Zip archives as if they were directories. I don't think it would be too difficult to make it pretty much transparent, so that you could execute something like: fileobj = magic_open("/path/to/some/archive.zip/some/internal/path/magic.txt") or equi

Compilation (was: the python name)

2019-01-06 Thread Peter J. Holzer
On 2019-01-06 15:09:40 -0500, Avi Gross wrote: > [Can we ever change the subject line?] Feel free. > {REAL SUBJECT: degrees of compilation.} > Peter wrote: > > "... Hoever, this is the Python list and one of the advantages of > Python is that we don't have to compile our code. So we need a > dif

Re: the python name

2019-01-06 Thread Grant Edwards
On 2019-01-06, Peter J. Holzer wrote: > On 2019-01-06 13:43:02 -0500, Dennis Lee Bieber wrote: >> On Sun, 6 Jan 2019 13:26:15 +0100, "Peter J. Holzer" >> declaimed the following: >> >> >For example, about 10 years ago I built a continuous integration >> >pipeline for a project I was working on >

RE: the python name

2019-01-06 Thread Avi Gross
[Can we ever change the subject line?] {REAL SUBJECT: degrees of compilation.} Peter wrote: "... Hoever, this is the Python list and one of the advantages of Python is that we don't have to compile our code. So we need a different excuse for fencing on office chairs ;-). ..." I understand what

Re: Encounter issues to install Python

2019-01-06 Thread Olivier Oussou via Python-list
Hi dear Anthony,I am using Windows systeme. I have download the set up uf  python 3.6.4 (32-bit) and I can not install the software on my computer. I need your technical assistance to solve this matter and I will be glad if you do so. Best regard! OlivierMedical entomologist, Benin Le samed

Re: the python name

2019-01-06 Thread Peter J. Holzer
On 2019-01-06 13:43:02 -0500, Dennis Lee Bieber wrote: > On Sun, 6 Jan 2019 13:26:15 +0100, "Peter J. Holzer" > declaimed the following: > > >For example, about 10 years ago I built a continuous integration > >pipeline for a project I was working on [...] > >The result was that any change took ab

Python packaging (was: the python name)

2019-01-06 Thread Peter J. Holzer
On 2019-01-06 13:26:15 +0100, Peter J. Holzer wrote: > I haven't packaged anything yet. I have looked at the documentation > several times and I agree that it looks somewhat daunting (I am not > unfamiliar with packaging systems: I have built rpm and deb packages, > and used both the Makefile.PL an

Re: the python name

2019-01-06 Thread Peter J. Holzer
On 2019-01-04 22:59:40 -0500, Avi Gross wrote: > I don't go back to the beginning of FORTRAN. My comment was not that FORTRAN > was badly named when it was among the first to do such things. I am saying > that in retrospect, almost any language can do a basic subset of arithmetic > operations. So

Re: the python name

2019-01-06 Thread Peter J. Holzer
On 2019-01-04 12:56:56 -0500, songbird wrote: > Peter J. Holzer wrote: > > Almost all of these points don't seem to be related to the language, but > > to your environment. > > an application isn't useful unless it actually can > be deployed and used in an environment. True. But environments ar