پایتون، زبان برنامه نویسی همه کار فضای مجازی
برای توسعه فضای مجازی می توان از زبان برنامه نویسی پایتون استفاده کرد. یکی از زبان های برنامه نویسی همه کاره در دنیا پایتون است. این زبان دارای کتابخانه های مختلفی از قبیل TensorFlow، Scikit-Learn، Matplotlib، Pandas، Numpy و ... است.
با استفاده از این زبان می توان نرم افزار برای سیستم عامل های ویندوز، اندروید، ios، لینوکس، مک و ... طراحی و تولید کرد همچنین با استفاده از این زبان می توان هوش مصنوعی طراحی و تولید کرد.
پایتون یکی از زبان های اصلی مورد استفاده در حوزه یادگیری ماشین و هوش مصنوعی است.
پایتون پروژه ای آزاد و متن باز توسعه یافته است و توسط بنیاد نرم افزار پایتون مدیریت می گردد.
وبسایت رسمی زبان برنامه نویسی پایتون https://python.org/ است و همچنین وبسایت مخزن کتابخانه های پایتون https//:pypi.org/ می باشد.
نکته:
در زمان نوشتن کد برنامه رعایت اینتنت (intent) گذاری الزامی است.
منابع:
"Python 3.14.5 is out!" (به زبان انگلیسی). 10 مه 2026. Retrieved 12 May 2026.
"PEP 483 -- The Theory of Type Hints". Python.org.
File extension .pyo was removed in Python 3.5. See PEP 0488
Holth, Moore (30 March 2014). "PEP 0441 -- Improving Python ZIP Application Support". Retrieved 12 November 2015.
"Starlark Language". Retrieved 25 May 2019.
"Why was Python created in the first place?". General Python FAQ. Python Software Foundation. Retrieved 22 March 2007.
"Ada 83 Reference Manual (raise statement)".
Kuchling, Andrew M. (22 December 2006). "Interview with Guido van Rossum (July 1998)". amk.ca. Archived from the original on 1 May 2007. Retrieved 12 March 2012.
"itertools — Functions creating iterators for efficient looping — Python 3.7.1 documentation". docs.python.org.
van Rossum, Guido (1993). "An Introduction to Python for UNIX/C Programmers". Proceedings of the NLUUG Najaarsconferentie (Dutch UNIX Users Group). CiteSeerX 10.1.1.38.2023. even though the design of C is far from ideal, its influence on Python is considerable.
"Classes". The Python Tutorial. Python Software Foundation. Retrieved 20 February 2012. It is a mixture of the class mechanisms found in C++ and Modula-3
Lundh, Fredrik. "Call By Object". effbot.org. Archived from the original on 23 November 2019. Retrieved 21 November 2017. replace "CLU" with "Python", "record" with "instance", and "procedure" with "function or method", and you get a pretty accurate description of Python's object model.
Simionato, Michele. "The Python 2.3 Method Resolution Order". Python Software Foundation. The C3 method itself has nothing to do with Python, since it was invented by people working on Dylan and it is described in a paper intended for lispers
Kuchling, A. M. "Functional Programming HOWTO". Python v2.7.2 documentation. Python Software Foundation. Retrieved 9 February 2012.
Schemenauer, Neil; Peters, Tim; Hetland, Magnus Lie (18 May 2001). "PEP 255 – Simple Generators". Python Enhancement Proposals. Python Software Foundation. Retrieved 9 February 2012.
Smith, Kevin D.; Jewett, Jim J.; Montanaro, Skip; Baxter, Anthony (2 September 2004). "PEP 318 – Decorators for Functions and Methods". Python Enhancement Proposals. Python Software Foundation. Retrieved 24 February 2012.
"More Control Flow Tools". Python 3 documentation. Python Software Foundation. Retrieved 24 July 2015.
"CoffeeScript". coffeescript.org.
"The Genie Programming Language Tutorial". Retrieved 28 February 2020.
"Perl and Python influences in JavaScript". www.2ality.com. 24 February 2013. Retrieved 15 May 2015.
Rauschmayer, Axel. "Chapter 3: The Nature of JavaScript; Influences". O'Reilly, Speaking JavaScript. Archived from the original on 26 December 2018. Retrieved 15 May 2015.
"Why We Created Julia". Julia website. February 2012. Retrieved 5 June 2014. We want something as usable for general programming as Python [...]
Ring Team (4 December 2017). "Ring and other languages". ring-lang.net. ring-lang. Archived from the original on 25 December 2018. Retrieved 29 January 2018.
Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: bringing Ruby on Rails to the Java platform. Berkeley: APress. p. 3. ISBN 978-1-59059-881-8.
Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 June 2014. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.
Kuhlman, Dave. "A Python Book: Beginning Python, Advanced Python, and Python Exercises". Section 1.1. Archived from the original (PDF) on 23 June 2012.
"History and License". Python documentation (به انگلیسی). Retrieved 2025-03-29.
«TIOBE Index - TIOBE». Consultado el 1 de mayo de 2023.
«Digi Python Wiki Archive». www.digi.com. دریافت شده در ۲۰۲۵-۰۳-۲۹.
«28.12. gc — Garbage Collector interface — Python 2.7.18 documentation». docs.python.org. دریافت شده در ۲۰۲۵-۰۳-۲۹.
"gc — Garbage Collector interface". Python documentation (به انگلیسی). Retrieved 2025-03-29.
"Sunsetting Python 2". Python.org (به انگلیسی). Retrieved 2019-09-22.
"PEP 373 -- Python 2.7 Release Schedule". Python.org (به انگلیسی). Retrieved 2019-09-22.
"Python Developer's Guide — Python Developer's Guide". devguide.python.org. Retrieved 2019-12-17.
Venners, Bill (13 January 2003). "The Making of Python". Artima Developer. Artima. Retrieved 22 March 2007.
«artima - The Making of Python». Consultado el 2023-05-02.
«History and License». The Python Software Foundation. مارس ۲۴, ۲۰۱۱. دریافت شده در ۵ فروردین ۱۳۹۰.
مستندات پایتون - پایتون برای چه ایجاد شد؟
van Rossum, Guido (20 January 2009). "A Brief Timeline of Python". The History of Python. Retrieved 20 January 2009.
مشارکت کنندگان ویکی پدیا. «Benevolent Dictator For Life». در دانشنامه ویکی پدیای انگلیسی، بازبینی شده در ۵ فروردین ۱۳۹۰.
Fairchild, Carlie (12 July 2018). "Guido van Rossum Stepping Down from Role as Python's Benevolent Dictator For Life". Linux Journal. Retrieved 13 July 2018.
"Guido van Rossum Stepping Down from Role as Python's Benevolent Dictator For Life | Linux Journal". www.linuxjournal.com (به انگلیسی).
"Python boss Guido van Rossum steps down after 30 years". The Inquirer (به انگلیسی). Archived from the original on 19 February 2019. Retrieved 14 August 2020.
"PEP 8100". python. Python Software Foundation. Retrieved 4 May 2019.
"PEP 8100". Python Software Foundation. Retrieved 4 May 2019.
https://discuss.python.org/t/steering-council-nomination-guido-van-rossum-2020-term/2657/11. {{cite web}}: Missing or empty |title= (help)
Kuchling, A. M.; Zadka, Moshe (16 October 2000). "What's New in Python 2.0". Python Software Foundation. Retrieved 11 February 2012.
"Python 3.0 Release". Python Software Foundation. Retrieved 8 July 2009.
van Rossum, Guido (5 April 2006). "PEP 3000 – Python 3000". Python Enhancement Proposals. Python Software Foundation. Archived from the original on 3 March 2016. Retrieved 27 June 2009.
"Automated Python 2 to 3 code translation — Python Documentation". Retrieved 11 February 2018.
"PEP 373 -- Python 2.7 Release Schedule". python.org. Retrieved 9 January 2017.
"PEP 466 -- Network Security Enhancements for Python 2.7.x". python.org. Retrieved 9 January 2017.
The Cain Gang Ltd. "Python Metaclasses: Who? Why? When?" (PDF). Archived from the original (PDF) on 30 May 2009. Retrieved 27 June 2009.
"3.3. Special method names". The Python Language Reference. Python Software Foundation. Retrieved 27 June 2009.
"PyDatalog". Retrieved 22 July 2012.
"Extending and Embedding the Python Interpreter: Reference Counts" (به انگلیسی). Docs.python.org. Retrieved June 5, 2020. Since Python makes heavy use of malloc() and free(), it needs a strategy to avoid memory leaks as well as the use of freed memory. The chosen method is called reference counting.
PEP 20 -- The Zen of Python
Hettinger, Raymond (30 January 2002). "PEP 289 – Generator Expressions". Python Enhancement Proposals. Python Software Foundation. Retrieved 19 February 2012.
"6.5 itertools – Functions creating iterators for efficient looping". Docs.python.org. Retrieved 22 November 2016.
Peters, Tim (19 August 2004). "PEP 20 – The Zen of Python". Python Enhancement Proposals. Python Software Foundation. Retrieved 24 November 2008.
Martelli, Alex; Ravenscroft, Anna; Ascher, David (2005). Python Cookbook, 2nd Edition. O'Reilly Media. p. 230. ISBN 978-0-596-00797-3.
"Python Culture". ebeab. January 21, 2014. Archived from the original on January 30, 2014.
Goodger, David. "Code Like a Pythonista: Idiomatic Python". Archived from the original on 27 May 2014. Retrieved 24 March 2009.
"How to think like a Pythonista". Archived from the original on 23 March 2018. Retrieved 8 July 2020.
"Whetting Your Appetite". The Python Tutorial. Python Software Foundation. Retrieved 20 February 2012.
"In Python, should I use else after a return in an if block?". Stack Overflow. Stack Exchange. 17 February 2011. Retrieved 6 May 2011.
Lutz, Mark (2009). Learning Python: Powerful Object-Oriented Programming (به انگلیسی). O'Reilly Media, Inc. p. 17. ISBN 978-1-4493-7932-2.
Fehily, Chris (2002). Python (به انگلیسی). Peachpit Press. p. xv. ISBN 978-0-201-74884-0.
«اماده سازی محیط توسعه برای دایتون». learnclasico.com. دریافت شده در ۲۰۲۵-۰۶-۰۳.
"Is Python a good language for beginning programmers?". General Python FAQ. Python Software Foundation. Retrieved 21 March 2007.
"Myths about indentation in Python". Secnetix.de. Archived from the original on 18 February 2018. Retrieved 19 April 2011.
Guttag, John V. (2016-08-12). Introduction to Computation and Programming Using Python: With Application to Understanding Data. MIT Press. ISBN 978-0-262-52962-4.
"PEP 0465 -- A dedicated infix operator for matrix multiplication". python.org. Retrieved 1 January 2016.
"Python 3.5.1 Release and Changelog". python.org. Retrieved 1 January 2016.
"What's New in Python 3.8". Retrieved 14 October 2019.
"Chapter 15. Expressions - 15.21.1. Numerical Equality Operators == and !=". Oracle Corporation. Retrieved 28 August 2016.
"Chapter 15. Expressions - 15.21.3. Reference Equality Operators == and !=". Oracle Corporation. Retrieved 28 August 2016.
van Rossum, Guido; Hettinger, Raymond (7 February 2003). "PEP 308 – Conditional Expressions". Python Enhancement Proposals. Python Software Foundation. Retrieved 13 July 2011.
url = https://docs.python.org/3/reference/lexical_analysis.html
"The Python Language Reference, section 3.3. New-style and classic classes, for release 2.7.1". Retrieved 12 January 2011.
"Built-in Types". Retrieved 3 October 2019.
van Rossum, Guido (5 June 2001). "PEP 7 – Style Guide for C Code". Python Enhancement Proposals. Python Software Foundation. Retrieved 24 November 2008.
"CPython byte code". Docs.python.org. Retrieved 16 February 2016.
"Python 2.5 internals" (PDF). Archived from the original (PDF) on 6 August 2012. Retrieved 19 April 2011.
"An Interview with Guido van Rossum". Oreilly.com. Retrieved 24 November 2008.
"PyPy compatibility". Pypy.org. Retrieved 3 December 2012.
"speed comparison between CPython and Pypy". Speed.pypy.org. Retrieved 3 December 2012.
Shaw, Anthony (2018-03-30). "Which is the fastest version of Python?". Hacker Noon. Retrieved 2019-12-20.
"Application-level Stackless features — PyPy 2.0.2 documentation". Doc.pypy.org. Retrieved 17 July 2013.
"Python-for-EV3". LEGO Education (به انگلیسی). Retrieved 17 April 2019.
"Plans for optimizing Python". Google Project Hosting. 15 December 2009. Retrieved 24 September 2011.
"Python on the Nokia N900". Stochastic Geometry. 2010-04-29.
"google/grumpy". 10 April 2020 – via GitHub.
"Projects". opensource.google.
"Nuitka Home | Nuitka Home". nuitka.net (به انگلیسی). Retrieved 18 August 2017.
Borderies, Olivier (24 January 2019). "Pythran: Python at C++ speed !". Medium.
"Pythran — Pythran 0.9.5 documentation". pythran.readthedocs.io.
Warsaw, Barry; Hylton, Jeremy; Goodger, David (13 June 2000). "PEP 1 – PEP Purpose and Guidelines". Python Enhancement Proposals. Python Software Foundation. Retrieved 19 April 2011.
"PEP 8 -- Style Guide for Python Code". Python.org.
Cannon, Brett. "Guido, Some Guys, and a Mailing List: How Python is Developed". python.org. Python Software Foundation. Archived from the original on 1 June 2009. Retrieved 27 June 2009.
«Python Developer's Guide». devguide. ۲۰۲۵-۰۳-۲۹.
"PEP 602 -- Annual Release Cycle for Python". Python.org (به انگلیسی). Retrieved 6 November 2019.
"Changing the Python release cadence [LWN.net]". lwn.net. Retrieved 6 November 2019.
Norwitz, Neal (8 April 2002). "[Python-Dev] Release Schedules (was Stability & change)". Retrieved 27 June 2009.
Aahz; Baxter, Anthony (15 March 2001). "PEP 6 – Bug Fix Releases". Python Enhancement Proposals. Python Software Foundation. Retrieved 27 June 2009.
Piotrowski, Przemyslaw (July 2006). "Build a Rapid Web Development Environment for Python Server Pages and Oracle". Oracle Technology Network. Oracle. Retrieved 12 March 2012.
Batista, Facundo (17 October 2003). "PEP 327 – Decimal Data Type". Python Enhancement Proposals. Python Software Foundation. Retrieved 24 November 2008.
Eby, Phillip J. (7 December 2003). "PEP 333 – Python Web Server Gateway Interface v1.0". Python Enhancement Proposals. Python Software Foundation. Retrieved 19 February 2012.
Debill, Erik. "Module Counts". ModuleCounts. Retrieved 5 November 2019.
"20+ Python Web Scraping Examples (Beautiful Soup & Selenium) - Like Geeks". likegeeks.com. 5 December 2017. Archived from the original on 12 May 2020. Retrieved 12 March 2018.
«GUI Programming in Python». The Python Wiki. ۲۰۱۰-۱۰-۱۰. دریافت شده در ۵ فروردین ۱۳۹۰.
«Graphic User Interface FAQ». Python Software Foundation. مارس ۱۳, ۲۰۱۰. بایگانی شده از اصلی در ۶ اوت ۲۰۱۱. دریافت شده در ۵ فروردین ۱۳۹۰.
"TIOBE Index". TIOBE - The Software Quality Company. Retrieved 7 March 2017.
TIOBE Software Index (2015). "TIOBE Programming Community Index Python". Retrieved 10 September 2015.
"Quotes about Python". Python Software Foundation. Retrieved 8 January 2012.
"Organizations Using Python". Python Software Foundation. Retrieved 15 January 2009.
"Python: the holy grail of programming". CERN Bulletin. CERN Publications (31/2006). 31 July 2006. Retrieved 11 February 2012.
"Tornado: Facebook's Real-Time Web Framework for Python - Facebook for Developers". Facebook for Developers (به انگلیسی). Retrieved 2018-06-19.
Shafer, Daniel G. (17 January 2003). "Python Streamlines Space Shuttle Mission Design". Python Software Foundation. Retrieved 24 November 2008.
Taft, Darryl K. (5 March 2007). "Python Slithers into Systems". eWeek.com. Ziff Davis Holdings. Retrieved 24 September 2011.
GitHub - reddit-archive/reddit: historical code from reddit.com., The Reddit Archives, 2019-03-19, retrieved 2019-03-20
"Usage statistics and market share of Python for websites". 2012. Retrieved 18 December 2012.
Oliphant, Travis (2007). "Python for Scientific Computing". Computing in Science and Engineering. 9 (3): 10–20. Bibcode:2007CSE.....9c..10O. CiteSeerX 10.1.1.474.6460. doi:10.1109/MCSE.2007.58. ISSN 1521-9615. Archived from the original on 15 June 2020. Retrieved 25 August 2020.
Millman, K. Jarrod; Aivazis, Michael (2011). "Python for Scientists and Engineers". Computing in Science and Engineering. 13 (2): 9–12. Bibcode:2011CSE....13b...9M. doi:10.1109/MCSE.2011.36.
Science education with SageMath, Innovative Computing in Science Education, archived from the original on 15 June 2020, retrieved 22 April 2019
"Installers for GIMP for Windows - Frequently Asked Questions". 26 July 2013. Archived from the original on 17 July 2013. Retrieved 26 July 2013.
"jasc psp9components". Archived from the original on 19 March 2008.
"About getting started with writing geoprocessing scripts". ArcGIS Desktop Help 9.2. Environmental Systems Research Institute. 17 November 2006. Retrieved 11 February 2012.
CCP porkbelly (24 August 2010). "Stackless Python 2.7". EVE Community Dev Blogs. CCP Games. Archived from the original on 11 January 2014. Retrieved 23 August 2020. As you may know, EVE has at its core the programming language known as Stackless Python.
Caudill, Barry (20 September 2005). "Modding Sid Meier's Civilization IV". Sid Meier's Civilization IV Developer Blog. Firaxis Games. Archived from the original on 2 December 2010. we created three levels of tools … The next level offers Python and XML support, letting modders with more experience manipulate the game world and everything in it.
"Python Language Guide (v1.0)". Google Documents List Data API v1.0. Archived from the original on 15 July 2010.
"Immunity: Knowing You're Secure". Archived from the original on 16 February 2009.
"Core Security". Core Security.
Dean, Jeff; Monga, Rajat; et al. (9 November 2015). "TensorFlow: Large-scale machine learning on heterogeneous systems" (PDF). TensorFlow.org. Google Research. Retrieved 10 November 2015.
Piatetsky, Gregory. "Python eats away at R: Top Software for Analytics, Data Science, Machine Learning in 2018: Trends and Analysis". KDnuggets. KDnuggets. Retrieved 30 May 2018.
"Who is using scikit-learn? — scikit-learn 0.20.1 documentation". scikit-learn.org.
"Natural Language Toolkit — NLTK 3.5b1 documentation". www.nltk.org.
"Python Setup and Usage". Python Software Foundation. Retrieved 10 January 2020.
"Gotchas for Python Users". boo.codehaus.org. Codehaus Foundation. Archived from the original on 11 December 2008. Retrieved 24 November 2008.
Esterbrook, Charles. "Acknowledgements". cobra-language.com. Cobra Language. Archived from the original on 8 February 2008. Retrieved 7 April 2010.
Kincaid, Jason (10 November 2009). "Google's Go: A New Programming Language That's Python Meets C++". TechCrunch. Retrieved 29 January 2010.
Strachan, James (29 August 2003). "Groovy – the birth of a new dynamic language for the Java platform". Archived from the original on 5 April 2007. Retrieved 11 June 2007.
Yegulalp, Serdar (16 January 2017). "Nim language draws from best of Python, Rust, Go, and Lisp". InfoWorld. Nim's syntax is strongly reminiscent of Python's, as it uses indented code blocks and some of the same syntax (such as the way if/elif/then/else blocks are constructed).
"An Interview with the Creator of Ruby". Linuxdevcenter.com. Retrieved 3 December 2012.
Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 June 2014. I started work on the Swift Programming Language in July of 2010. I implemented much of the basic language structure, with only a few people knowing of its existence. A few other (amazing) people started contributing in earnest late in 2011, and it became a major focus for the Apple Developer Tools group in July 2013 [...] drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.