Re: python documentation

2021-03-26 Thread Dan Stromberg
On Fri, Mar 26, 2021 at 10:37 PM Chris Angelico wrote: > On Sat, Mar 27, 2021 at 4:20 PM wrote: > > By the way, some months ago I started trying to migrate to Python 3 and > > gave up in favor of creating said compilation. Compatibility of Python > > and its Packages decreased with V3 significan

Re: python documentation

2021-03-26 Thread Chris Angelico
On Sat, Mar 27, 2021 at 4:20 PM wrote: > > Chris, > > you seem to imply, that I have compiled said versions without reason and > that the same would be possible on basis of Python 3 - which is simply > not true. Maybe you are not enough acquainted with Qt and belonging > libraries alike PyQtGraph.

Re: python documentation

2021-03-26 Thread python
Chris, you seem to imply, that I have compiled said versions without reason and that the same would be possible on basis of Python 3 - which is simply not true. Maybe you are not enough acquainted with Qt and belonging libraries alike PyQtGraph. Maybe you are just not willing to see / accept

Re: python documentation

2021-03-26 Thread MRAB
On 2021-03-27 03:44, Chris Angelico wrote: On Sat, Mar 27, 2021 at 2:15 PM wrote: [snip] By the way, there is more, Blythooon offers beyond what I already have written in the last email. Otherwise please name me another comparable MINIMAL 'distribution', which is compiled specifically for sc

Re: python documentation

2021-03-26 Thread Chris Angelico
On Sat, Mar 27, 2021 at 2:15 PM wrote: > > No, I am not encouraging, I am just offering the possibility. > > Python and its community once was not dogmatic. At least this was my > impression when I started - after all Python originally had been > designed to be multi paradigmatic. This spirit of f

Re: python documentation

2021-03-26 Thread python
No, I am not encouraging, I am just offering the possibility. Python and its community once was not dogmatic. At least this was my impression when I started - after all Python originally had been designed to be multi paradigmatic. This spirit of freedom was one mayor reason for Python to grow

RE: convert script awk in python

2021-03-26 Thread Avi Gross via Python-list
https://docs.python.org/3/library/fileinput.html Dan, Yes, fileinput sounds like what I described and more. It does indeed seem to emulate the interface in programs like AWK including using "-" as a placeholder for standard input. Now all you need is to have it also do the split! ∀vi ∃.

Re: convert script awk in python

2021-03-26 Thread 2QdxY4RzWzUUiLuE
On 2021-03-26 at 21:06:19 -0400, Avi Gross via Python-list wrote: > A generator that opens one file at a time (or STDIN) in a consistent > manner, would be a reasonable thing to have as part of emulating AWK. https://docs.python.org/3/library/fileinput.html -- https://mail.python.org/mailman/li

RE: convert script awk in python

2021-03-26 Thread Avi Gross via Python-list
Michael, A generator that opens one file at a time (or STDIN) in a consistent manner, would be a reasonable thing to have as part of emulating AWK. As I see it, you may want a bit more that includes having it know how to parse each line it reads into some version of names that in Python might not

Re: convert script awk in python

2021-03-26 Thread Michael Torrie
On 3/25/21 1:14 AM, Loris Bennett wrote: > Does any one have a better approach? Not as such. Running a command and parsing its output is a relatively common task. Years ago I wrote my own simple python wrapper function that would make it easier to run a program with arguments, and capture its out

Re: python documentation

2021-03-26 Thread Chris Angelico
On Sat, Mar 27, 2021 at 7:49 AM wrote: > > Hi Chris, > > > thank you for your interest and thanks for asking. > > > Blythooon is notable due to several reasons; let's compare it with some > of the already listed (and thus obviously notable) 'distributions': > > 2) winpython seems not to support Py

Re: python documentation - addendum

2021-03-26 Thread python
Sorry, copy & paste obviously failed, here is the link I wanted to include: https://www.anaconda.com/terms-of-service On 2021-03-26 17:33, Chris Angelico wrote: On Sat, Mar 27, 2021 at 3:31 AM wrote: Howdy Folks, I would like to suggest adding "Blythooon" to the list under "Other partie

Re: python documentation

2021-03-26 Thread python
Hi Chris, thank you for your interest and thanks for asking. Blythooon is notable due to several reasons; let's compare it with some of the already listed (and thus obviously notable) 'distributions': 1) pythonxy seems not to be maintained anymore - the last version I found is from 2015.

Re: Help Please

2021-03-26 Thread Igor Korot
Hi, On Fri, Mar 26, 2021 at 11:36 AM Anis4Games wrote: > Hello python support team , i need help about packages and python modules > > That Video Will Explain My Problem > Please don't send any attachment to the list - it will be dropped from the E-mail. Cut'n'paste any errors you receive dire

Re: convert script awk in python

2021-03-26 Thread Pankaj Jangid
Christian Gollwitzer writes: > The closest equivalent I can come up with in Python is this: > > == > import sys > > s=0 > for line in sys.stdin: > try: > s += float(line.split()[1]) > except: > pass > print(s) > =

Help Please

2021-03-26 Thread Anis4Games
Hello python support team , i need help about packages and python modules That Video Will Explain My Problem The Problem : Is Im Installed [Socks] Alredy With Command => pip install socks But When i run some script using socks pack its show a error with message " import socks " no socks modules

Re: python documentation

2021-03-26 Thread Chris Angelico
On Sat, Mar 27, 2021 at 3:31 AM wrote: > > Howdy Folks, > > > I would like to suggest adding "Blythooon" to the list under "Other > parties have re-packaged CPython" listed here: > What makes it notable? ChrisA -- https://mail.python.org/mailman/listinfo/python-list

python documentation

2021-03-26 Thread python
Howdy Folks, I would like to suggest adding "Blythooon" to the list under "Other parties have re-packaged CPython" listed here: https://www.python.org/download/alternatives/ Blythooon can be found here: https://pypi.org/project/blythooon/ and the belonging installation step-by-step-guid