阅读最新的真实python教程
ks-realpython-reader的Python项目详细描述
真正的python提要阅读器
真正的python提要阅读器是一个基本的web feed阅读器,可以从Real Python feed下载最新的真正的python教程。
有关更多信息,请参阅关于真实python的教程How to Publish an Open-Source Python Package to PyPI。
安装
您可以从PyPI:
pip install realpython-reader
Python2.7以及Python3.4及更高版本都支持该阅读器。
如何使用
真正的python提要阅读器是一个命令行应用程序,名为realpython
。要查看latest Real Python tutorials列表,只需调用程序:
$ realpython
The latest tutorials from Real Python (https://realpython.com/)
0 How to Publish an Open-Source Python Package to PyPI
1 Python "while" Loops (Indefinite Iteration)
2 Writing Comments in Python (Guide)
3 Setting Up Python for Machine Learning on Windows
4 Python Community Interview With Michael Kennedy
5 Practical Text Classification With Python and Keras
6 Getting Started With Testing in Python
7 Python, Boto3, and AWS S3: Demystified
8 Python's range() Function (Guide)
9 Python Community Interview With Mike Grouchy
10 How to Round Numbers in Python
11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
12 Splitting, Concatenating, and Joining Strings in Python
13 Image Segmentation Using Color Spaces in OpenCV + Python
14 Python Community Interview With Mahdi Yusuf
15 Absolute vs Relative Imports in Python
16 Top 10 Must-Watch PyCon Talks
17 Logging in Python
18 The Best Python Books
19 Conditional Statements in Python
要阅读一个特定的教程,请使用教程的数字标识作为参数调用程序:
$ realpython 0
# How to Publish an Open-Source Python Package to PyPI
Python is famous for coming with batteries included. Sophisticated
capabilities are available in the standard library. You can find modules for
working with sockets, parsing CSV, JSON, and XML files, and working with
files and file paths.
However great the packages included with Python are, there are many
fantastic projects available outside the standard library. These are most
often hosted at the Python Packaging Index (PyPI), historically known as the
Cheese Shop. At PyPI, you can find everything from Hello World to advanced
deep learning libraries.
[... The full text of the article ...]
您还可以在自己的python代码中调用真正的python提要阅读器,方法是从reader
包导入:
>>> from reader import feed
>>> feed.get_titles()
['How to Publish an Open-Source Python Package to PyPI', ...]