Talk:Python (programming language)
This is the talk page for discussing improvements to the Python (programming language) article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11Auto-archiving period: 3 months ![]() |
![]() | Python (programming language) was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake. | |||||||||||||||||||||
|
![]() | This ![]() It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||||
|
![]() | This article is written in American English, which has its own spelling conventions (color, defense, traveled) and some terms that are used in it may be different or absent from other varieties of English. According to the relevant style guide, this should not be changed without broad consensus. |
GA reassessment
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
- Article (edit | visual edit | history) · Article talk (edit | history) · Watch • • Most recent review
- Result: No improvemnent, so delisted. ~~ AirshipJungleman29 (talk) 13:16, 9 February 2023 (UTC)
A 2007 listing of a still in-use programming language; no surprise that huge amounts of material is unsourced, violating GA criterion 2. I also feel that too much detail is being paid to the syntax of the language, possibly violating criterion 3b). ~~ AirshipJungleman29 (talk) 12:37, 1 February 2023 (UTC)
- See above for further issues. No harm in starting the reassessment now. ~~ AirshipJungleman29 (talk) 12:41, 1 February 2023 (UTC)
- @AirshipJungleman29: can you notify the major contributors, reviewers and initial nominator? Pings may be missed, and I only pinged those with over 5% authorship. Feel free to remove this comment afterwards. Femke (alt) (talk) 14:00, 1 February 2023 (UTC)
- @Abductive, Comp.arch, Thumperward, and Akeosnhaoe:
- Perhaps @Peterl, Gadfium, TJRC, MrOllie, and Peaceray: too. ~~ AirshipJungleman29 (talk) 14:36, 1 February 2023 (UTC)
- Femke (alt), this article annoyingly dates to before the days of nominator/reviewer.~~ AirshipJungleman29 (talk) 14:33, 1 February 2023 (UTC)
- I am not a major contributor to this article, I just ran a couple of bots on it. Abductive (reasoning) 14:37, 1 February 2023 (UTC)
- @Abductive, Comp.arch, Thumperward, and Akeosnhaoe:
- @AirshipJungleman29: can you notify the major contributors, reviewers and initial nominator? Pings may be missed, and I only pinged those with over 5% authorship. Feel free to remove this comment afterwards. Femke (alt) (talk) 14:00, 1 February 2023 (UTC)
Ease of Learning
[edit]Not done – please clarify Merely pasting text onto a talk page will not get anything done. Is this a change that you want to see incorporated into the article? Please be specific about the change(s) that you want. Peaceray (talk) 17:10, 16 December 2024 (UTC)
Syntax for Beginners
[edit]- Print Function: Python uses the
print()
function to output data to the console. Unlike many languages, Python does not require semicolons at the end of statements, making it more readable. - Variable Assignment: Python is dynamically typed, meaning variables are assigned values directly without the need to declare their type. The type is inferred based on the assigned value. Example:
name = "JadPythonWiki"
- Indentation: Python uses indentation, rather than braces
{}
, to define blocks of code. Indentation must be consistent to avoid errors, making Python code clean and readable. - Input: Python uses the
input()
function to receive user input. By default, the input is returned as a string, which can be converted to other types if necessary. - Comments: Python supports single-line comments, which begin with the
#
symbol. Comments are ignored by the interpreter and are used to document the code. - Function Definition: Functions in Python are defined using the
def
keyword, followed by the function name and parameters in parentheses. Python functions can return values using thereturn
statement.
Not done – please clarify Merely pasting text onto a talk page will not get anything done. Is this a change that you want to see incorporated into the article? Please be specific about the change(s) that you want. Peaceray (talk) 17:10, 16 December 2024 (UTC)
"Pyston" listed at Redirects for discussion
[edit]
The redirect Pyston has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 February 6 § Pyston until a consensus is reached. Duckmather (talk) 02:32, 6 February 2025 (UTC)
Plan for Future Edits
[edit]- Adding more examples showcasing different paradigms
We could provide Python examples of list comprehensions, lambda functions, map, filter, reduce in a functional programming context.
- Show graph or data of Python popularity in relation to other languages
- Show examples of using performance optimization tools with Python like Numba, Cython, and PyPy
- Running experimental support for running in a free-threaded mode
MadHanSolo (talk) 18:23, 26 March 2025 (UTC)
- Hi @MadHanSolo:. Please feel free to add if you think that makes sense. However, keep in mind that Wikipedia is not a Howto or a set or tutorials so if the code examples become too large, they are likely to get deleted. --McSly (talk) 18:34, 26 March 2025 (UTC)
- Delisted good articles
- Old requests for peer review
- B-Class level-5 vital articles
- Wikipedia level-5 vital articles in Technology
- B-Class vital articles in Technology
- B-Class Computing articles
- High-importance Computing articles
- B-Class software articles
- High-importance software articles
- B-Class software articles of High-importance
- All Software articles
- B-Class Computer science articles
- Mid-importance Computer science articles
- B-Class Free and open-source software articles
- High-importance Free and open-source software articles
- B-Class Free and open-source software articles of High-importance
- All Free and open-source software articles
- All Computing articles
- High-importance Computer science articles
- WikiProject Computer science articles
- Wikipedia articles that use American English