Re: Which python is recommended?

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>

> On May 21, 2020, at 17:25, Thomas Schneider <[email protected]> wrote:
> 
> Hanspeter
> 
>>>> python3     3.8.0-1             Generic commands to invoke python38
>>>> ...
>>>> python38    3.8.0-1             Interpreted, object-oriented language
>> 
>> If I was starting from scratch, I would choose python38. It's the
>> latest release and will be supported the longest.
> 
> Why not select python3?  That is, what is the difference to Fink?
> 
> Tom
> 
> 

It depends on what you need.  

For your own projects, if you need native windows, etc. then the system’s python3 is what you want.  On the other hand, if you want X11 windows, etc. you want Fink’s python3.  If you just want “a python” for text scripts and the like, Fink’s python3 is newer than  the built-in python3 (3.8.0 vs. 3.7.3).

As for Fink pythonmods, using py38 variants like Hanspeter suggested should hopefully provide longer upstream support.  Those variants which use “systempython” use the built-in python2.7, and will need to be updated to use the built-in python3 eventually.  I hope Apple doesn’t put out one more 10.15 release that suddenly removes python2.7.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.