Re: need help with a translation issue

2021-04-17 Thread dn via Python-list
Longer response: NB I've not used the system and only quickly reviewed https://py-googletrans.readthedocs.io/_/downloads/en/documentation/pdf/ NBB I am treating you (and/or other interested-readers) as something of a 'beginner'. No insult is intended should I appear to be 'talking down'. On 18

Re: need help with a translation issue

2021-04-17 Thread Chris Angelico
On Sun, Apr 18, 2021 at 9:58 AM dn via Python-list wrote: > Alternately, what's there to stop some nefarious/stupid user (like me!) > entering "gobbledegook" and complaining that the program fails? "What is the French for fiddle-de-dee?" -- the Red Queen, to Alice (Incidentally, Google attempts

Re: need help with a translation issue

2021-04-17 Thread MRAB
On 2021-04-17 23:56, Quentin Bock wrote: I'm trying to take the user input and let them change the target language or dest code: from deep_translator import GoogleTranslator import googletrans import sys language_list = googletrans.LANGUAGES print(language_list) feedback = input("Would you lik

Re: need help with a translation issue

2021-04-17 Thread dn via Python-list
On 18/04/2021 10.56, Quentin Bock wrote: > I'm trying to take the user input and let them change the target language > or dest > code: > ... > language_list = googletrans.LANGUAGES > print(language_list) ... > user_choice = input ("Enter a language (the abbreviation or correctly > spelled na

need help with a translation issue

2021-04-17 Thread Quentin Bock
I'm trying to take the user input and let them change the target language or dest code: from deep_translator import GoogleTranslator import googletrans import sys language_list = googletrans.LANGUAGES print(language_list) feedback = input("Would you like to translate a sentence of your own? (yes

Re: Repair Install of 64 bit python

2021-04-17 Thread Terry Reedy
On 4/16/2021 10:15 AM, Cameron Simpson wrote: On 16Apr2021 13:13, Dan Ciprus (dciprus) wrote: Isn't the recommended python3 way of pip-ing stuff: python3 -m pip install ... .. just curious. If there's only one Python 3 installed then "pip3 install ..." _ought_ to be equivalent. However, in

Re: port to PDOS (especially mainframe)

2021-04-17 Thread Terry Reedy
On 4/16/2021 4:02 PM, Paul Edwards wrote: On Saturday, April 17, 2021 at 5:13:31 AM UTC+10, Paul Rubin wrote: Paul Edwards writes: I have succeeded in producing a Python 3.3 executable despite being built with a C library that only supports C90. Not surprising. CPython was restricted to C90

Re: port to PDOS (especially mainframe)

2021-04-17 Thread Paul Edwards
On Saturday, April 17, 2021 at 8:12:52 PM UTC+10, jak wrote: > I looked at the "asma" folder and noticed that some files were touched 6 > years ago. I could deduce from this that the authors might have an older > version, perhaps developed for an older version of python, probably for > the 2.x

Re: port to PDOS (especially mainframe)

2021-04-17 Thread jak
Il 17/04/2021 10:56, Paul Edwards ha scritto: On Saturday, April 17, 2021 at 7:52:07 AM UTC+10, jak wrote: one thing is not clear to me, do you absolutely need to use "asma"? http://www.z390.org/ I forgot to mention that it also requires Java. So instead of porting Python to the S/3X0 I woul

Re: port to PDOS (especially mainframe)

2021-04-17 Thread Paul Edwards
On Saturday, April 17, 2021 at 2:37:23 PM UTC+10, Dan Stromberg wrote: > > I want to produce EBCDIC executables that run on a > > S/3X0 (or z/Arch) machine (even if I personally do > > that via emulation). > > > I thought EBCDIC was analogous to ASCII? EBCDIC is an alternative to ASCII. E.g.

Re: port to PDOS (especially mainframe)

2021-04-17 Thread Paul Edwards
On Saturday, April 17, 2021 at 7:52:07 AM UTC+10, jak wrote: > one thing is not clear to me, do you absolutely need to use "asma"? > > http://www.z390.org/ I forgot to mention that it also requires Java. So instead of porting Python to the S/3X0 I would need to port Java. Note that Java (and P