한국   대만   중국   일본 
?????? (??????????? ????) - ?????????? Jump to content

?????? (??????????? ????)

?????????????
Python
???????????? multi-paradigm : object-oriented , imperative , functional , procedural , reflective
?????? ??????????? 20 ??????? 1991 ; 33 years ago  ( 1991-??-20 ) [?]
?????? ??????? Guido van Rossum
?????? Python Software Foundation
?????? ????? 3.6.1 / 21 ??????? 2017 ; 7 years ago  ( 2017-??-21 ) [?]
2.7.13 / 17 ???????? 2016 ; 7 years ago  ( 2016-??-17 ) [?]
?????? ?????? duck , dynamic , strong
?????? ??????? CPython , IronPython , Jython , MicroPython , PyPy
?????? Cython , RPython , Stackless Python
????? ???????? ???????? ABC , [?] ALGOL 68 , [?] C , [?] C++ , [?] Dylan , [?] Haskell , [?] Icon , [??] Java , [??] Lisp , [??] Modula‑3 , [?] Perl
??? ?????? ???????? ???????? Boo , Cobra , CoffeeScript , [??] D , F# , Falcon , Genie , [??] Go , Groovy , JavaScript , [??] [??] Julia , [??] Nim , Ruby , [??] Swift [??]
???????? ?????? Cross-platform
?????? Python Software Foundation License
??????? www .python .org

?????? ?? "???? ?????? ??????????? ????" ??? ? [??] [??] [??] ?? ??? ??????????? ???? ??????? ????? ?????? ????? ????????? ???? ????? ??? ?????????? ?????????? ? [??] [??] ???? ?????? ???? ?? ???????????, ??????????? ?????? ??? ???????? ???? ? ???????????? ?????? ????

???? ??????????? ?????? ????-??????? ????? ?????? ( {} )?? ??????????? ????, ????????? ????? ?????? (white space)? ??????? ?????? ????? ????? ???? ????? (Guido van Rossum) ???? ??????? ?????? ???????? ????? ??? ?? ??????????? ????, ?????? ????? ????? ???????????? ??????? ????? ??????? ??????? (compile) ?????? ???????? ????? ?????? ???????? ????? ???????????? ????????? ???? ??????? ????????? ??? ?????????????? ???? ?????? ???????????

???? ?????? (Linux) ?????????? ??????? ?? ?????? ??????????? (interpreter) ????? ??? ???????


????? ??? ????????? ???????? ???? ??????? ??????

?????? [ ???????? ]

Guido van Rossum , the creator of Python

???? ????? ????????? ????? ???? ????? (Guido van Rossum) alt.sources?? ?????? ?????? ???????? [??] ??? ABC ??????????? ????? ????????? ???????? ????? ???? ????? Monty Python's Flying Circus ? ????? ????????? ???? ??? ?????? ???????? [??]

?????? ?????? ???????? ?????????? ????????? ??????? ? [??]

???? ?????????? ??? ?????? ?.?? ?????? ?????? ??????? ?

???? ????? ?????? ?? ??????? ?????? ?.? ??? ???? ????? ????? ??????? ????? ?????? ?????? ????? ???? ???????? ????? ????? ???? ?????? ????? ?????????? ? [??]

?????? ?????? ?.?? ???? ?????? ????? ????????? [??]

??????? [ ???????? ]

  1. ???: ?????? ?? ??? ??????????? ????? ????? ???? ? ?????????? ??????? ?????? ?????? ?? ?????
  2. ??? ??????: ?????? ?????? ???? ??? ????????? ????? ???? ??????????? ????? ????? ??????????? ???? ???? ??????? ??????????
  3. ????????? ??? ?????????? : ?????? ?? ???? ?????? ????????? [??]
  4. ???? ?????? :
  5. ????????? : ??? ?????? , ??????, ???? ??? ???? ????? ?????????? ??????? ???? ??????? ???? ???? ????? ?????????? ???????? ???? ???? ??? ???????
  6. ??????????? ??????????? ??????????? ???? : ?? (C) ?? C++ ??? ????? ????? ???????????? ??????? ????? ??????? ??????? (compile) ?????? ???????? ?????
  7. ??????? ?????????? :
  8. ????????????? : ?????? ?????? ????? ????? ???? ???????? ??????? ????, ??? ????? ?? (C) ?? C++?? ????????????
  9. ?????? ?????????: ?????? ???? ????????? ???? ?????? ?????? ????? ?????? ???????? ??????????
  10. ??????????:

??????????? [ ???????? ]

??????? ???????? [ ???????? ]

?????? ?.??? ???? ??????? ???????? ?????

and
 del
        from
        not
        while

as
         elif
       global
      or
         with

assert
     else
       if
          pass
       yield

break
      except
     import
      print

class
      exec
       in
          raise

continue
   finally
    is
          return

def
        for
        lambda
      try

?????? ?????? [ ???????? ]

'''

 Hello world

'''

print
 "Hello world"

???????? ?????? [ ???????? ]

# Python 3: Fibonacci series up to n

def
 fib
(
n
):

     a
,
 b
 =
 0
,
 1

     while
 a
 <
 n
:

         print
(
a
,
 end
=
' '
)

         a
,
 b
 =
 b
,
 a
+
b

     print
()

 fib
(
1000
)

????? ??????? [ ???????? ]

????? ?????? [ ???????? ]

  • Downey, Allen B (Version 1.6.6 - May 2012). Think Python: How to Think Like a Computer Scientist . ISBN   978-0-521-72596-5 . {{ cite book }} : Check date values in: |date= ( help )
  • Hamilton, Naomi (5 August 2008). "The A-Z of Programming Languages: Python" . Computerworld . Retrieved 31 March 2010 .
  • Lutz, Mark (2013). Learning Python (5th ed.). O'Reilly Media. ISBN   978-0-596-15806-4 .
  • Pilgrim, Mark (2004). Dive Into Python . Apress. ISBN   978-1-59059-356-1 . Archived from the original on 2012-09-19 . Retrieved 2014-02-12 .
  • Pilgrim, Mark (2009). Dive Into Python 3 . Apress. ISBN   978-1-4302-2415-0 .
  • Summerfield, Mark (2009). Programming in Python 3 (2nd ed.). Addison-Wesley Professional. ISBN   978-0-321-68056-3 .

???? [ ???????? ]

  1. "The History of Python: A Brief Timeline of Python" . Blogger . 2009-01-20 . Retrieved 2016-03-20 .
  2. Deily, Ned (2017-03-21). "Python 3.6.1 is now available" . Python Insider . The Python Core Developers . Retrieved 2017-03-22 .
  3. Peterson, Benjamin (2016-12-17). "Python 2.7.13 released" . Python Insider . The Python Core Developers . Retrieved 2016-12-17 .
  4. "Why was Python created in the first place?" . General Python FAQ . Python Software Foundation . Retrieved 22 March 2007 .
  5. Kuchling, Andrew M. (22 December 2006). "Interview with Guido van Rossum (July 1998)" . amk.ca . Archived from the original on 6 February 2012 . Retrieved 12 March 2012 .
  6. van Rossum, Guido (1993). "An Introduction to Python for UNIX/C Programmers" . Proceedings of the NLUUG najaarsconferentie (Dutch UNIX users group) . even though the design of C is far from ideal, its influence on Python is considerable.
  7. ?.? ?.? "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
  8. 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
  9. Kuchling, A. M. "Functional Programming HOWTO" . Python v2.7.2 documentation . Python Software Foundation . Retrieved 9 February 2012 .
  10. Schemenauer, Neil; Peters, Tim; Hetland, Magnus Lie (18 May 2001). "PEP 255 ? Simple Generators" . Python Enhancement Proposals . Python Software Foundation . Retrieved 9 February 2012 .
  11. 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 .
  12. "More Control Flow Tools" . Python 3 documentation . Python Software Foundation . Retrieved 5 August 2012 .
  13. "CoffeeScript borrows chained comparisons from Python" .
  14. "Genie Language - A brief guide" . Retrieved 2015-12-28 .
  15. "Perl and Python influences in JavaScript" . www.2ality.com . 24 February 2013 . Retrieved 15 May 2015 .
  16. 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 .
  17. ???? ???: ??? <ref> ?????; Julia ????? ???? ???? ????? ???? ???? ????? ?
  18. 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 .
  19. 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.
  20. TIOBE Software Index (2012). "TIOBE Programming Community Index Python" . Retrieved 15 October 2012 .
  21. "Programming Language Trends - O'Reilly Radar" . Radar.oreilly.com. 2 August 2006 . Retrieved 17 July 2013 .
  22. "The RedMonk Programming Language Rankings: January 2013 ? tecosystems" . Redmonk.com. 28 February 2013 . Retrieved 17 July 2013 .
  23. Mark Summerfield. Rapid GUI Programming with Python and Qt . Python is a very expressive language, which means that we can usually write far fewer lines of Python code than would be required for an equivalent application written in, say, C++ or Java
  24. "Code Complete, p. 100" .
  25. "Python Tutorial: History and Philosophy of Python" . www.python-course.eu . Retrieved 2019-02-17 .
  26. "Foreword for "Programming Python" (1st ed.)" . Python.org (in ??????) . Retrieved 2019-02-17 .
  27. ??.? ??.? "History and License ? Python 3.7.2 documentation" . docs.python.org . Retrieved 2019-02-17 .
  28. "Update Python 2.7 EOL date by hugovk · Pull Request #344 · python/devguide" . GitHub (in ??????) . Retrieved 2019-02-18 .
  29. Ambv (2019-02-04). "Python Insider: Python 3.8.0a1 is now available for testing" . Python Insider . Retrieved 2019-02-17 .

????? ????? [ ???????? ]