Python

How To Work with Unicode in Python — step-by-step Python tutorial on Progressive Robot

How To Work with Unicode in Python

The tutorial will cover the basics of Unicode in Python and how Python interprets Unicode characters. It covers the concepts of unicodedata and how to use this module to convert UTF-8 to ASCII. By the end of this tutorial readers will have a strong fundamental understanding of Unicode in Python which would help solve internationalization problems in code.

Read more
How To Make a Calculator Program in Python 3 — step-by-step Python tutorial on Progressive Robot

How To Make a Calculator Program in Python 3

In this tutorial, we’ll go through how to make a simple command-line calculator program in Python 3. We’ll be using math operators, variables, conditional statements, functions, and take in user input to make our calculator.

Read more
How to Parse CSV Files in Python — step-by-step Python tutorial on Progressive Robot

How to Parse CSV Files in Python

URL: https://www.progressiverobot.com/parse-csv-files-in-python/ CSV files are used a lot in storing tabular data into a file. We can easily export data from database tables or excel files to CSV files. It's also easy to read by humans as well as in the program. In this tutorial, we will learn how to parse CSV files in Python. […]

Read more
如何在Python 3中使用注释 — step-by-step Python tutorial on Progressive Robot

如何在Python 3中使用注释

“注释”是存在于电脑代码中的”被编译器和解释器忽略”的那些文本行。在程序中使用注释将使得代码更易读(方便人去理解代码),因为注释能提供有用的信息去解释代码的每一部分是做什么的。 取决于在程序中的不同目的,你的注释可以是给自己的标记和提醒,或者是帮助其它程序员去理解你的代码。 总的来说,当你写程序或修改程序的过程中,当时写下的注释最为有用。而之后补上的注释长远看来将会没那么有用,因为一段时间之后,你会很容易忘记之前的想法。

Read more
Getting Started With Flask — step-by-step Python tutorial on Progressive Robot

Getting Started With Flask

Learn how to use Flask — a Python micro web framework, to build your web applications. See how Flask handles routing, web page templating, and more.

Read more
CHAT