python

2020-04-15 Thread mike via Python-list

I need somehelpwith Python 36-32 and 38-32
I have been using sublime text 3 asmy ide for about 1 year now and everything 
was fine -I tried to change to Pycharm 2020 - I was going to use sublime 3 as 
my IDE for python36-32 and the Pycharm2020 forthe IDE forPython38-32. 
Unfortunatly snt wrong as nomatter which IDE I use I get the following 
Python -v info


Microsoft Windows [Version 10.0.18363.720]
© 2019 Microsoft Corporation. All rights reserved.

C:\Users\mkgrt>python
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x1688 (most recent call first):

C:\Users\mkgrt>python -v
import _frozen_importlib # frozen
import _imp # builtin
import sys # builtin
import '_warnings' # 
import '_thread' # 
import '_weakref' # 
import '_frozen_importlib_external' # 
import '_io' # 
import 'marshal' # 
import 'nt' # 
import _thread # previously loaded ('_thread')
import '_thread' # 
import _weakref # previously loaded ('_weakref')
import '_weakref' # 
import 'winreg' # 
# installing zipimport hook
import 'zipimport' # 
# installed zipimport hook
Fatal Python error: Py_Initialize: unable to load the file system codec
Traceback (most recent call last):
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'encodings'

Checking Pytghon36-32

C:\Users\mkgrt\AppData\Local\Programs\Python\Python36-32\Lib\encodings
the encodings in in the Lib -I have tried the following 
uninstalled Python36-32 / Python38-32 / Pycharmcreated the PYTHONPATH and 
PYTHONHOME and nothing works - Any Help would be appreciated thank you in 
advance
Top of Form
Bottom of Form


Python 36-32 problem encoding module not found 





Bottom of Form


Sent from Mail for Windows 10

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


Re: Book recommendation? For getting up to date

2025-02-19 Thread Mike via Python-list

On 16-02-2025 13:50, Jan Erik Moström via Python-list wrote:

I'm looking for a book that would teach me the lastest and greatest parts of 
Python, does anyone have any recommendations?

I've looked at python.org and pythonbooks.org but I couldn't decide which one 
to get.

I used to be fairly good at Python, but I haven't done any serious programming 
in the last 10 years or so. So I would like something that got me up-to-date 
with the latest features.

Great question.  But also not a simple question.

Great new promising developments are not only happening in core Python 
libraries, but also in some great external libraries, most targeted for 
ML/data science things.


Recently I re-ordered my collection on open access Python Book. I also 
was, and still am, searching for good quality books for 'professionals' 
that cover the latest developments good.


I tried to create an hard copy of parts of the Python documentation. 
E.g. to study on paper some exiting new things that are created in 
Python 3.13 like CPython’s global interpreter lock (“GIL”) changes. But 
the PDF was over 3000 pages, so not practical for creating a hard copy 
version.


Modern Python parts should imho cover changes  to libraries and give 
good guidance on how to really use the latest PEPs. Things like handling 
Hatch (the new tool for packaging), when to use latest options in the 
Pandas library (and NOT)  should minimal be covered if you want to do 
Python today.


My current best collection for online quality open access Python Books 
is on: 
https://nocomplexity.com/documents/pythonbook/generatedfiles/overview.html#books 



Some of these books can be ordered as hard copy.

Regards

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