Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Kushal Kumaran
On Thu, Aug 04 2022 at 10:22:41 AM, Turritopsis Dohrnii Teo En Ming 
 wrote:
> Subject: Which linux distro is more conducive for learning the Python
> programming language?
>
> Good day from Singapore,
>
> May I know which linux distro is more conducive for learning the
> Python programming language?
>
> Since I have absolutely and totally FREE RHEL developer subscription
> (I don't need to spend a single cent), can I use Red Hat Enterprise
> Linux version 9.0 to learn Python?
>
> Is it the most popular linux distro for learning Python?
>
> I just want to know which linux distro and version is more conducive
> for learning Python. Because there are thousands of linux distros out
> there. And I just want to settle down on a particular linux distro and
> version.
>

The best one would be whatever you happen to have installed and for
which you understand system administration.  Beyond that, distribution
choice matters very little.  Every distribution I've used ships python3
packages, which was fine for learning the language.

-- 
regards,
kushal
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread dn
On 04/08/2022 14.31, Paul Bryan wrote:
> I wouldn't say any particular Linux distribution is appreciably better
> for Python development than another. I would suggest using a version of
> a Linux distribution that supports a recent Python release (e.g. 3.9 or
> 3.10).

+1

As a Python-learner (there's no comment about current programming
expertise), it is unlikely to make any difference which Linux distro is
used.

Answers to such open-ended questions are usually seated in bias - which
in-turn is mostly likely to be the same answer as 'which is the Linux
distro *I* use?
(I've used a number, with Python, over the years)

The better alignment is to match the version of Python with the book or
course you are using as learning-materials. That way, there are unlikely
to be surprises.

There are differences in Python implementations between Linux, Mac, and
Windows. However, I can't think of a book or course which spends any
time discussing them, or having a chapter which demands one or other OpSys.

When you become more experienced two things will happen: firstly you
will start using tools which enable the use of different versions of
Python for different dev.projects; and secondly you will form your own
opinions of "best"!
(it's not difficult to change distro)


PS most of us will qualify for RedHat's Developer program[me] and free
copies of software.
-- 
Regards,
=dn
-- 
https://mail.python.org/mailman/listinfo/python-list


Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
Subject: Which linux distro is more conducive for learning the Python 
programming language?


Good day from Singapore,

May I know which linux distro is more conducive for learning the Python 
programming language?


Since I have absolutely and totally FREE RHEL developer subscription (I 
don't need to spend a single cent), can I use Red Hat Enterprise Linux 
version 9.0 to learn Python?


Is it the most popular linux distro for learning Python?

I just want to know which linux distro and version is more conducive for 
learning Python. Because there are thousands of linux distros out there. 
And I just want to settle down on a particular linux distro and version.


Thank you.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
4 Aug 2022 Thursday
Blogs:
https://tdtemcerts.blogspot.com
https://tdtemcerts.wordpress.com
--
https://mail.python.org/mailman/listinfo/python-list


Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
I actually did a Google search for "which linux distro is best for python".

Link: 
https://www.google.com/search?q=which+linux+distro+is+best+for+python=1C1GCEA_enSG1005SG1005=ALiCzsYaL58MJsevR2Uc0nnWtmc7kWFbIg%3A1659580387580=4y_rYqWII8i7z7sPwPCtwAI=0ahUKEwjlhenbkqz5AhXI3XMBHUB4CygQ4dUDCA8=5=which+linux+distro+is+best+for+python_lcp=Cgdnd3Mtd2l6EAMyBQgAEIAEMgUIABCGAzIFCAAQhgMyBQgAEIYDMgUIABCGAzoECCMQJzoECAAQQzoLCAAQgAQQsQMQgwE6CAgAEIAEELEDOggILhCABBCxAzoFCAAQkQI6BQguEIAEOgsILhCABBDHARCvAToKCAAQgAQQhwIQFDoGCAAQHhAWSgQIQRgASgQIRhgAUABYljtg0D5oAXABeACAAesBiAG3E5IBBjM3LjAuMZgBAKABAcABAQ=gws-wiz

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore

On Thu, 4 Aug 2022 at 10:31, Paul Bryan  wrote:
>
> I wouldn't say any particular Linux distribution is appreciably better for 
> Python development than another. I would suggest using a version of a Linux 
> distribution that supports a recent Python release (e.g. 3.9 or 3.10).
>
> On Thu, 2022-08-04 at 10:22 +0800, Turritopsis Dohrnii Teo En Ming wrote:
>
> Subject: Which linux distro is more conducive for learning the Python
> programming language?
>
> Good day from Singapore,
>
> May I know which linux distro is more conducive for learning the
> Python programming language?
>
> Since I have absolutely and totally FREE RHEL developer subscription
> (I don't need to spend a single cent), can I use Red Hat Enterprise
> Linux version 9.0 to learn Python?
>
> Is it the most popular linux distro for learning Python?
>
> I just want to know which linux distro and version is more conducive
> for learning Python. Because there are thousands of linux distros out
> there. And I just want to settle down on a particular linux distro and
> version.
>
> Thank you.
>
> Regards,
>
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 4 Aug 2022 Thursday
> Blogs:
> https://tdtemcerts.blogspot.com
> https://tdtemcerts.wordpress.com
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Paul Bryan
I wouldn't say any particular Linux distribution is appreciably better
for Python development than another. I would suggest using a version of
a Linux distribution that supports a recent Python release (e.g. 3.9 or
3.10).

On Thu, 2022-08-04 at 10:22 +0800, Turritopsis Dohrnii Teo En Ming
wrote:
> Subject: Which linux distro is more conducive for learning the Python
> programming language?
> 
> Good day from Singapore,
> 
> May I know which linux distro is more conducive for learning the
> Python programming language?
> 
> Since I have absolutely and totally FREE RHEL developer subscription
> (I don't need to spend a single cent), can I use Red Hat Enterprise
> Linux version 9.0 to learn Python?
> 
> Is it the most popular linux distro for learning Python?
> 
> I just want to know which linux distro and version is more conducive
> for learning Python. Because there are thousands of linux distros out
> there. And I just want to settle down on a particular linux distro
> and
> version.
> 
> Thank you.
> 
> Regards,
> 
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 4 Aug 2022 Thursday
> Blogs:
> https://tdtemcerts.blogspot.com
> https://tdtemcerts.wordpress.com

-- 
https://mail.python.org/mailman/listinfo/python-list


Which linux distro is more conducive for learning the Python programming language?

2022-08-03 Thread Turritopsis Dohrnii Teo En Ming
Subject: Which linux distro is more conducive for learning the Python
programming language?

Good day from Singapore,

May I know which linux distro is more conducive for learning the
Python programming language?

Since I have absolutely and totally FREE RHEL developer subscription
(I don't need to spend a single cent), can I use Red Hat Enterprise
Linux version 9.0 to learn Python?

Is it the most popular linux distro for learning Python?

I just want to know which linux distro and version is more conducive
for learning Python. Because there are thousands of linux distros out
there. And I just want to settle down on a particular linux distro and
version.

Thank you.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
4 Aug 2022 Thursday
Blogs:
https://tdtemcerts.blogspot.com
https://tdtemcerts.wordpress.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python-list Digest, Vol 227, Issue 3

2022-08-03 Thread Leif Svalgaard
I also get 'file not found' when trying to let Spyder [v5.2] select the
newly installed 3.10.6, and the path length is a lot less than 256.


On Wed, Aug 3, 2022 at 9:03 AM  wrote:

> Send Python-list mailing list submissions to
> python-list@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.python.org/mailman/listinfo/python-list
> or, via email, send a message with subject or body 'help' to
> python-list-requ...@python.org
>
> You can reach the person managing the list at
> python-list-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Python-list digest..."
> Today's Topics:
>
>1. RE: [RELEASE] Python 3.10.6 is available (jsch...@sbcglobal.net)
>2. Clabate: minimalistic class-based templates for Python (Axy)
>3. Re: Dictionary order? (Stefan Ram)
>
>
>
> -- Forwarded message --
> From: 
> To: "'Pablo Galindo Salgado'" , "'Python Dev'" <
> python-...@python.org>, , "'python-committers'" <
> python-committ...@python.org>, 
> Cc:
> Bcc:
> Date: Tue, 2 Aug 2022 12:13:16 -0500
> Subject: RE: [RELEASE] Python 3.10.6 is available
> Does anyone know if this is being worked on?
> https://github.com/python/cpython/issues/90242
>
> It was originally reported here:  https://bugs.python.org/issue46084
>
>
> -Original Message-
> From: Python-list 
> On Behalf Of Pablo Galindo Salgado
> Sent: Tuesday, August 2, 2022 5:13 AM
> To: Python Dev ; python-list@python.org;
> python-committers ;
> python-annou...@python.org
> Subject: [RELEASE] Python 3.10.6 is available
>
> Here you have a nice package of 200 commits of bugfixes and documentation
> improvements freshly made for Python 3.10. Go and download it when is still
> hot:
>
> https://www.python.org/downloads/release/python-3106/
>
> ## This is the sixth maintenance release of Python 3.10
>
> Python 3.10.6 is the newest major release of the Python programming
> language, and it contains many new features and optimizations.
>
> # Major new features of the 3.10 series, compared to 3.9
>
> Among the new major new features and changes so far:
>
> * [PEP 623](https://www.python.org/dev/peps/pep-0623/) -- Deprecate and
> prepare for the removal of the wstr member in PyUnicodeObject.
> * [PEP 604](https://www.python.org/dev/peps/pep-0604/) -- Allow writing
> union types as X | Y
> * [PEP 612](https://www.python.org/dev/peps/pep-0612/) -- Parameter
> Specification Variables
> * [PEP 626](https://www.python.org/dev/peps/pep-0626/) -- Precise line
> numbers for debugging and other tools.
> * [PEP 618 ](https://www.python.org/dev/peps/pep-0618/) -- Add Optional
> Length-Checking To zip.
> * [bpo-12782](https://bugs.python.org/issue12782): Parenthesized context
> managers are now officially allowed.
> * [PEP 632 ](https://www.python.org/dev/peps/pep-0632/) -- Deprecate
> distutils module.
> * [PEP 613 ](https://www.python.org/dev/peps/pep-0613/) -- Explicit Type
> Aliases
> * [PEP 634 ](https://www.python.org/dev/peps/pep-0634/) -- Structural
> Pattern Matching: Specification
> * [PEP 635 ](https://www.python.org/dev/peps/pep-0635/) -- Structural
> Pattern Matching: Motivation and Rationale
> * [PEP 636 ](https://www.python.org/dev/peps/pep-0636/) -- Structural
> Pattern Matching: Tutorial
> * [PEP 644 ](https://www.python.org/dev/peps/pep-0644/) -- Require OpenSSL
> 1.1.1 or newer
> * [PEP 624 ](https://www.python.org/dev/peps/pep-0624/) -- Remove
> Py_UNICODE encoder APIs
> * [PEP 597 ](https://www.python.org/dev/peps/pep-0597/) -- Add optional
> EncodingWarning
>
> [bpo-38605](https://bugs.python.org/issue38605): `from __future__ import
> annotations` ([PEP 563](https://www.python.org/dev/peps/pep-0563/)) used
> to be on this list in previous pre-releases but it has been postponed to
> Python 3.11 due to some compatibility concerns. You can read the Steering
> Council communication about it [here](
>
> https://mail.python.org/archives/list/python-...@python.org/thread/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/
> )
> to learn more.
>
> # More resources
>
> * [Changelog](
> https://docs.python.org/3.10/whatsnew/changelog.html#changelog
> )
> * [Online Documentation](https://docs.python.org/3.10/)
> * [PEP 619](https://www.python.org/dev/peps/pep-0619/), 3.10 Release
> Schedule
> * Report bugs at [https://bugs.python.org](https://bugs.python.org).
> * [Help fund Python and its community](/psf/donations/).
>
> # And now for something completely different A pentaquark is a human-made
> subatomic particle, consisting of four quarks and one antiquark bound
> together; they are not known to occur naturally or exist outside of
> experiments to create them. As quarks have a baryon number of (+1/3), and
> antiquarks of (−1/3), the pentaquark would have a total baryon number of 1
> and thus would be a baryon. Further, because it has five quarks instead of
> the usual three found in regular baryons (a.k.a.
> 'triquarks'), it is 

2 options both mutually exclusive with respect to 3rd option

2022-08-03 Thread Loris Bennett
Hi,

I want to plot some data which are collected over time.  I either want
to specify start and/or end times for the plot, or specify last week, month
or year.  So the usage would look like:

  plot_data [[--start START --end END] | --last LAST ]

I know about argsparse's mutually exclusive group, but this creates a
group of option with are all mutually exclusive amoungst each other.  I
want both --start and --end to be mutually exclusive with respect to
--last.

Can I achieve this directly with argsparse, or do I just have to check
the options by hand?

Cheers,

Loris

-- 
This signature is currently under construction.
-- 
https://mail.python.org/mailman/listinfo/python-list