Jump to content

Talk:Python (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Former good articlePython (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.
Article milestones
DateProcessResult
March 7, 2007Good article nomineeListed
February 17, 2009Peer reviewReviewed
March 3, 2009Good article reassessmentKept
February 9, 2023Good article reassessmentDelisted
Current status: Delisted good article

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) · WatchWatch article reassessment pageMost recent review
Result: No improvemnent, so delisted. ~~ AirshipJungleman29 (talk) 13:16, 9 February 2023 (UTC)[reply]

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)[reply]

See above for further issues. No harm in starting the reassessment now. ~~ AirshipJungleman29 (talk) 12:41, 1 February 2023 (UTC)[reply]
@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)[reply]
@Abductive, Comp.arch, Thumperward, and Akeosnhaoe:
Perhaps @Peterl, Gadfium, TJRC, MrOllie, and Peaceray: too. ~~ AirshipJungleman29 (talk) 14:36, 1 February 2023 (UTC)[reply]
Femke (alt), this article annoyingly dates to before the days of nominator/reviewer.~~ AirshipJungleman29 (talk) 14:33, 1 February 2023 (UTC)[reply]
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)[reply]
The discussion above 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.

Ease of Learning

[edit]
Python is often considered one of the easiest programming languages to learn, making it accessible to people of all ages. Its simple, readable syntax emphasizes clarity, allowing beginners to quickly grasp fundamental programming concepts without being overwhelmed by complex rules. Even children can learn Python, thanks to its straightforward design and beginner-friendly resources. The language encourages an interactive learning experience, where users can immediately test and run code in a simple way, making it ideal for newcomers to programming. Python's clean and consistent syntax reduces the learning curve, enabling new programmers to focus on solving problems rather than struggling with complicated syntax rules. This simplicity, combined with its powerful capabilities, makes Python an excellent choice for people who are just starting to learn coding. JadPythonWiki (talk) 15:44, 16 December 2024 (UTC)[reply]
Comment tagged inappropriate under talk page guidelines. WP:TALK#PROPOSE
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)[reply]

Syntax for Beginners

[edit]
Python's syntax is designed to be simple and easy to read, contributing to its popularity as an introductory programming language. Some key features of Python's syntax include:
  • 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 the return statement.
JadPythonWiki (talk) 15:53, 16 December 2024 (UTC)[reply]
Comment tagged inappropriate under talk page guidelines. WP:TALK#PROPOSE
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)[reply]

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)[reply]

Plan for Future Edits

[edit]
  1. Adding more examples showcasing different paradigms

We could provide Python examples of list comprehensions, lambda functions, map, filter, reduce in a functional programming context.

  1. Show graph or data of Python popularity in relation to other languages
  2. Show examples of using performance optimization tools with Python like Numba, Cython, and PyPy
  3. Running experimental support for running in a free-threaded mode

MadHanSolo (talk) 18:23, 26 March 2025 (UTC)[reply]

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)[reply]