Python

如何写你的第一个Python 3程序 — step-by-step Python tutorial on Progressive Robot

如何写你的第一个Python 3程序

“Hello, World!” 程序是一个经典的,确立已久的传统电脑程序。”Hello, World!“因为能展示一个语言的基本句法,因此常被用作初学者的第一个”简单但完整”的程序,并可以被用来测试编程环境。 这个教程将指导你写出第一个Python 3中的”Hello, World”程序。 你需要[安装好Python…

Read more
How To Authenticate Django Apps using django-allauth — step-by-step Python tutorial on Progressive Robot

How To Authenticate Django Apps using django-allauth

django-allauth is an integrated set of Django applications dealing with account authentication, registration, management, and third-party (social) account authentication. In this tutorial, you will build a Django application that uses django-allauth to authenticate using a cloud account.

Read more
Python XML to JSON, XML to Dict — step-by-step Python tutorial on Progressive Robot

Python XML to JSON, XML to Dict

URL: https://www.progressiverobot.com/python-xml-to-json-dict/ Today we will learn how to convert XML to JSON and XML to Dict in python. We can use python xmltodict module to read XML file and convert it to Dict or JSON data. We can also stream over large XML files and convert them to Dictionary. Before stepping into the coding part, […]

Read more
Python ord(), chr() functions — step-by-step Python tutorial on Progressive Robot

Python ord(), chr() functions

URL: https://www.progressiverobot.com/python-ord-chr/ Python ord() and chr() are built-in functions. They are used to convert a character to an int and vice versa. Python ord() and chr() functions are exactly opposite of each other. Python ord() Python ord() function takes string argument of a single Unicode character and return its integer Unicode code point value. Let's […]

Read more
Python 2与Python 3的对比:从实际出发的考量 — step-by-step Python tutorial on Progressive Robot

Python 2与Python 3的对比:从实际出发的考量

Python是可读性很强,并且用途极其多样的编程语言。它的名字是从英国的喜剧团体“Monty Python”受到启发,因此“让Python语言用起来很有趣”对于Python开发团队来说是非常重要的核心目标。易于安装配置、代码风格相对简单直接、有即时的反馈和报错,这些特性让Python成为编程初学者的一个很好选择。 由于Python是一种“多范式”语言-也就是说它支持多种编程样式,包括“脚本”和“面向对象”,因此非常适用于通用编程,用途广泛。在工业界,Python被诸如United Space…

Read more
Python print() — step-by-step Python tutorial on Progressive Robot

Python print()

URL: https://www.progressiverobot.com/python-print/ Hello learners. In this tutorial we are going to learn more about Python print function. In our last tutorial we learned about [Python float](/community/tutorials/python-float) function. Python Print Almost all of our previous tutorial contains the Python print() function. But we did not discussed about python print function to the fullest. Now we will […]

Read more
CHAT