Learn Python 3 the Hard Way
This book is published in 2017. The fundamentals of Python language is covered in this book. O’Reilly offers companion videos.
This book is a little outdated, but great for the beginners for grasping fundamentals. The companion video uses a text editor and Python on command line environment. It is great for learning how to use command-line arguments, but not much useful anymore since Jupyter notebook became dominant in the market.