About 10 results (0.00 seconds) via deepseek
https://docs.python.org/3/tutorial/index.html
# The Python Tutorial¶
This tutorial is designed for programmers that are new to the Python language, not beginners who are new to programming.
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platfor
https://learn.microsoft.com/en-us/training/modules/begin-python-coding-minecr...
# Understand the text-based programming language of Python
Python is a popular text-based programming language that can be used for a wide variety of applications. Students can transition more easily from block-based programming languages to Python rather than other text-based languages because:
- Python is considered concise and easy to read
- Python can be interpreted one line at a time, which makes it easy to find mistakes or errors
- Python is highly versatile and can be used for both small
https://learn.microsoft.com/zh-tw/training/modules/begin-python-coding-minecr...
# Understand the text-based programming language of Python
Python is a popular text-based programming language that can be used for a wide variety of applications. Students can transition more easily from block-based programming languages to Python rather than other text-based languages because:
- Python is considered concise and easy to read
- Python can be interpreted one line at a time, which makes it easy to find mistakes or errors
- Python is highly versatile and can be used for both small
https://docs.python.org/3.16/faq/general.html
# General Python FAQ¶
## General Information¶
### What is Python?
Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. It supports multiple programming paradigms beyond object-oriented programming, such as procedural and functional programming. Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to vari
https://itp.uni-frankfurt.de/~gros/Vorlesungen/ML/2026_python_first_steps.html
- execute withpython3 test.py or python test.py (could be using Python 2)
- elementary types likeint, double, boolean, ...
# an integer object is created
x1 = 1 # idem
print(id(x0), x0)
print(id(x1), x1, id(x1)-id(x0), "(difference in bits)\n")
print()
print("****************")
print("strings as lists")
print("****************")
x0 = "I am a string" # strings are ordered lists
x1 = " | " + x0[2] + x0[3]
print(x0, x1)
print("Finding Triples a^2 + b^2 == c^2") # ouput - not
https://docs.python.org/zh-cn/3.14/tutorial/appetite.html
课前甜点¶
如果您的工作主要是用电脑完成的,总有一天您会想能不能自动执行一些任务。比如,对大量文本文件执行查找、替换操作;利用复杂的规则重命名、重排序一堆照片文件;也可能您想编写一个小型数据库、或开发专用的图形界面应用,甚至是开发一个简单的游戏。
作为一名专业软件开发人员,您可能要处理 C/C++/Java 库,但编码、编译、测试、再编译这些开发流程太慢了;也许您正在给这些库开发测试套件,但总觉得这项工作真是枯燥乏味。又或许,您开发了个使用扩展语言的软件,却不想为这个软件专门设计一种新语言。
那么,Python 正好能满足您的需要。
你可以针对这些任务编写 Unix shell 脚本或 Windows 批处理文件,但 shell 脚本擅长的是移动文件和改变文本数据,而不适合编写 GUI 应用或游戏。 你可以编写 C/C++/Java 程序,但即使只完成一个初始版程序也需要耗费很长的开发时间。 Python 则更为简单易用,同时支持 Windows, macOS 和 Unix 操作系统,并能帮助你更快速地完成工作。
Python 虽然简单易用,但它可是真正的编程语言,提供了大量的数据结构
http://r3.ieee.org/fwc/wp-content/uploads/sites/23/2022/05/IEEE-Python.pdf#1#3#1
# What Is Python?
- Python is a widely used general-purpose, high-level programming language.
- Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in **fewer lines of code** than would be possible in languages such as C++ or Java.
- Python supports multiple programming paradigms, including object-oriented, imperative and functional programming.
- Python has a much simpler and cleaner syntax than other popular languages such as Java, C, and C+
https://rd.springer.com/referenceworkentry/10.1007/978-3-030-10576-1_11?page=...
# Programming Languages for Secondary Schools, Python
- Reference work entry
Python is a high-level multipurpose programming language created by Guido van Rossum and first released in 1991. Python is open source and managed by the nonprofit Python Software Foundation (https://www.python.org/psf/) since 2001. Python is taught in secondary schools in many countries and is the most popular introductory programming language at top US universities (Gua 2014).
Python supports multiple programming para
https://lernarchiv.bildung.hessen.de/sek/informatik/programmieren/programmier...
# 1 Objektorientierte Programmierung mit Python
Die Schülerinnen und Schüler befassen sich im Rahmen dieses Moduls mit der textuellen Programmiersprache Python und steigen dabei mit einfach Beispielen, wie das Nachprogrammieren eines Programms von Scratch nach Python ein. Im Anschluss daran lernen die Schülerinnen und Schüler Grundkonzepte der Programmierung kennen, wie beispielsweise die objektorientierte Programmierung, Vererbung, Datenkapselung und Entwurfsmuster. Alle Inhalte werden praktisc
https://automatetheboringstuff.com/3e/chapter1.html
## 1 PYTHON BASICS
The Python programming language has a wide range of syntactical constructions, standard library functions, and interactive development environment features. Fortunately, you can ignore most of that;
also called the read-evaluate-print-loop (REPL), which lets you run (or execute) Python instructions one at a time and instantly shows you the results. Using the interactive shell is great for learning what basic Python instructions do, so give it a try as you follow along.
In Pyt