error in install.sh

2020-09-30 Thread RobH
I had to do a reinstall of my linux system due to a faulty ssd, and have a problem with a install.sh script.The said script is included in with lcd files. which I downloaded from github. When I run ./install.sh, it fails at ./install.sh: line 34: syntax error: unexpected end of file. I don't k

Re: error in install.sh

2020-09-30 Thread 2QdxY4RzWzUUiLuE
On 2020-09-30 at 13:27:43 +0100, RobH wrote: > I had to do a reinstall of my linux system due to a faulty ssd, and have a > problem with a install.sh script.The said script is included in with lcd > files. which I downloaded from github. > > When I run ./install.sh, it fails at > ./install.sh: l

Re: error in install.sh

2020-09-30 Thread RobH
On 30/09/2020 13:49, [email protected] wrote: On 2020-09-30 at 13:27:43 +0100, RobH wrote: I had to do a reinstall of my linux system due to a faulty ssd, and have a problem with a install.sh script.The said script is included in with lcd files. which I downloaded from github.

Interference tkinter and plot from matplotlib

2020-09-30 Thread Pierre Bonville
Hi everybody, I am running this little program below on Win 10 with Python 3.8 (just typing prog.py after the prompt c:\Users ...>), and while it correctly displays the window and does the first plt.plot(), it does not reach the input command and remains waiting after I shut the plot. If I replace

Re: Interference tkinter and plot from matplotlib

2020-09-30 Thread Christian Gollwitzer
Am 30.09.20 um 15:46 schrieb Pierre Bonville: Hi everybody, Interference tkinter and plot from matplotlib You are mixing different ways of control flow. In a GUI program, don't call input(). Use the mainloop() as the very last of your calls, and only work in the callbacks. That means yo

new feature in Python.

2020-09-30 Thread yonatan
Hi, My name is Jonatan and i am programming in Python for about 4 years, I have a great idea, there are __iX__` methods, such as `__ior__`, `__iadd__`, `__iand__` etc.., which implements the |=, +=, &= behavior, it would be nice if you could implement also `__igetattr__` or something, which mea

Re: new feature in Python.

2020-09-30 Thread Jason C. McDonald
> I have a great idea, there are __iX__` methods, such as `__ior__`, > `__iadd__`, `__iand__` etc.., which implements the |=, +=, &= > behavior,  > it would be nice if you could implement also `__igetattr__` or > something, which means: > > instead of > con = "some text here" > con  = con.replace

Re: new feature in Python.

2020-09-30 Thread Chris Angelico
On Thu, Oct 1, 2020 at 2:14 AM Jason C. McDonald wrote: > > > > I have a great idea, there are __iX__` methods, such as `__ior__`, > > `__iadd__`, `__iand__` etc.., which implements the |=, +=, &= > > behavior, > > it would be nice if you could implement also `__igetattr__` or > > something, which

Re: new feature in Python

2020-09-30 Thread Christman, Roger Graydon
On 30/09/2020, yonatan <[email protected]> proposed: > instead of > con = "some text here" > con = con.replace("here", "there") > we could do > con = "some text here" > con .= replace("here", "there") That would require a major rewrite of the grammer of the Python language, which would probab

Re: error in install.sh

2020-09-30 Thread Dieter Maurer
RobH wrote at 2020-9-30 13:27 +0100: >I had to do a reinstall of my linux system due to a faulty ssd, and have >a problem with a install.sh script.The said script is included in with >lcd files. which I downloaded from github. > >When I run ./install.sh, it fails at >./install.sh: line 34: syntax e

Re: [RELEASE] Python 3.8.6 is now available

2020-09-30 Thread Mats Wichmann
On 9/29/20 9:16 AM, David Raymond wrote: >> Python 3.8.6 is the sixth maintenance release of Python 3.8. Go get it here: > >> https://www.python.org/downloads/release/python-386/ >> > > > Just a quick note that there still seem to be a few

Re: Problem

2020-09-30 Thread Eryk Sun
On 9/30/20, Dennis Lee Bieber wrote: > On Tue, 29 Sep 2020 22:31:18 + (UTC), Ron Villarreal via Python-list > declaimed the following: > >>Tried to open Python 3.8. I have Windows 10. Icon won’t open. > > What "Icon"? > > Python is a language interpreter/compiler -- it runs from a

A library that converts a type-annotated function into a webpage with HTML forms?

2020-09-30 Thread James Lu
Is there a python library available that converts a type-annotated Python function into a webpage with HTML forms? Something like: def foo(name: str, times: int): return f"Hello {name}!" * times serve_from(foo, host="0.0.0.0", port=3000) Turning into a server that serves something like thi

Re: Problem

2020-09-30 Thread Mirko via Python-list
Am 30.09.2020 um 17:55 schrieb Dennis Lee Bieber: > On Tue, 29 Sep 2020 22:31:18 + (UTC), Ron Villarreal via Python-list > declaimed the following: > >> Tried to open Python 3.8. I have Windows 10. Icon won’t open. > > What "Icon"? > > Python is a language interpreter/compiler -

Re: Problem

2020-09-30 Thread Chris Angelico
On Thu, Oct 1, 2020 at 7:33 AM Mirko via Python-list wrote: > > Am 30.09.2020 um 17:55 schrieb Dennis Lee Bieber: > > On Tue, 29 Sep 2020 22:31:18 + (UTC), Ron Villarreal via Python-list > > declaimed the following: > > > >> Tried to open Python 3.8. I have Windows 10. Icon won’t open. > > >

Re: Problem

2020-09-30 Thread Eryk Sun
On 9/30/20, Mirko via Python-list wrote: > > I have only limited knowledge about current Windows systems. But it > seems to me that newcomers download some setup exe/msi and then > search the menu to run what ever is found (python.exe or even the > setup-program.) It might help some people who tr

Re: Problem

2020-09-30 Thread Michael Torrie
On 9/29/20 4:31 PM, Ron Villarreal via Python-list wrote: > Tried to open Python 3.8. I have Windows 10. Icon won’t open. Did you read the documentation? https://docs.python.org/3/using/windows.html Seems like this comes up several times a week. Perhaps the installer should automatically open thi

Re: A library that converts a type-annotated function into a webpage with HTML forms?

2020-09-30 Thread Kushal Kumaran
On Wed, Sep 30 2020 at 04:45:47 PM, James Lu wrote: > Is there a python library available that converts a type-annotated Python > function into a webpage with HTML forms? > > Something like: > > > def foo(name: str, times: int): > return f"Hello {name}!" * times > > serve_from(foo, host="0.0.0

Re: Problem

2020-09-30 Thread Grant Edwards
On 2020-09-30, Mirko via Python-list wrote: > We are seeing these troubles from newcomers on Windows all of the > time -- and that for years. Isn't it time to ask if the way Python > installs itself on Windows-Systems is appropriate? And that's been asked every few months for years. Time and ti

Re: Problem

2020-09-30 Thread Grant Edwards
On 2020-09-30, Eryk Sun wrote: > On 9/30/20, Mirko via Python-list wrote: >> >> I have only limited knowledge about current Windows systems. But it >> seems to me that newcomers download some setup exe/msi and then >> search the menu to run what ever is found (python.exe or even the >> setup-prog