Python (Chinese Wikipedia)

Analysis of information sources in references of the Wikipedia article "Python" in Chinese language version.

refsWebsite
Global rank Chinese rank
1st place
1st place
2,232nd place
1,779th place
383rd place
336th place
low place
low place
low place
low place
low place
low place
low place
low place
3,696th place
4,044th place
low place
low place
low place
low place
low place
low place
low place
low place
551st place
572nd place
low place
low place
low place
low place
1,669th place
1,456th place
low place
low place
low place
low place
4,683rd place
4,615th place
8,246th place
8,222nd place
207th place
628th place
low place
low place
low place
low place
low place
low place
low place
low place
8,118th place
8,002nd place
low place
low place
low place
low place
low place
low place
low place
low place
6th place
4th place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
8,974th place
5,855th place
low place
low place
low place
low place
low place
low place
low place
low place
8,986th place
5,690th place
low place
low place
low place
low place
626th place
578th place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
415th place
500th place
low place
low place
low place
low place
low place
low place
low place
9,273rd place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
9,845th place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place
low place

2ality.com (Global: low place; Chinese: low place)

activeloop.ai (Global: low place; Chinese: low place)

aiohttp.org (Global: low place; Chinese: low place)

docs.aiohttp.org

amk.ca (Global: low place; Chinese: low place)

arcade.academy (Global: low place; Chinese: low place)

api.arcade.academy

archive.org (Global: 6th place; Chinese: 4th place)

artima.com (Global: low place; Chinese: low place)

  • The Making of Python. Artima Developer. [2007-03-22]. (原始内容存档于2016-09-01). 
  • van Rossum, Guido. The fate of reduce() in Python 3000. Artima Developer. [2007-03-22]. (原始内容存档于2007-04-07). 
  • van Rossum, Guido. Language Design Is Not Just Solving Puzzles. Artima forums. Artima. 2006-02-09 [2007-03-21]. (原始内容存档于2020-01-17). the complexity introduced by a solution to a design problem must be somehow proportional to the problem's importance. …… Mathematicians don't mind these -- a proof is a proof is a proof, no matter whether it contains 2 or 2000 steps, or requires an infinite-dimensional space to prove something about integers. …… Features of a programming language, whether syntactic or semantic, are all part of the language's user interface. And a user interface can handle only so much complexity or it becomes unusable. This is also the reason why Python will never have continuations, and even why I'm uninterested in optimizing tail recursion. 
    van Rossum, Guido. Tail Recursion Elimination. Neopythonic.blogspot.be. 2009-04-22 [2012-12-03]. (原始内容存档于2018-05-19). Once tail recursion elimination exists, developers will start writing code that depends on it, and their code won't run on implementations that don't provide it …… I don't believe in recursion as the basis of all programming. This is a fundamental belief of certain computer scientists, especially those who love Scheme and like to teach programming by starting with a "cons" cell and recursion. 

bazel.build (Global: low place; Chinese: low place)

docs.bazel.build

bford.info (Global: low place; Chinese: low place)

cobra-language.com (Global: low place; Chinese: low place)

  • Esterbrook, Charles. Acknowledgements. cobra-language.com. Cobra Language. [2010-04-07]. (原始内容存档于2008-02-08). 

codehaus.org (Global: low place; Chinese: low place)

boo.codehaus.org

cwi.nl (Global: low place; Chinese: low place)

ir.cwi.nl

  • Guido van Rossum. Python Reference Manual - Version 1.2 (PDF). CWI Report CS-R9525. May 1995 [2023-03-04]. (原始内容存档 (PDF)于2023-03-05). Python is a simple, yet powerful, interpreted programming language that bridges the gap between C and shell programming, and is thus ideally suited for "throw-away英语Software_prototyping#Throwaway_prototyping programming" and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most prominent are influences from ABC, C, Modula-3 and Icon.
    The Python interpreter is easily extended with new functions and data types implemented in C. Python is also suitable as an extension language for highly customizable C applications such as editors or window managers.
     
  • Guido van Rossum. Extending and Embedding the Python Interpreter - Version 1.2 (PDF). CWI Report CS-R9527. May 1995 [2023-03-05]. (原始内容存档 (PDF)于2023-03-05). Python is an interpreted object oriented programming language. This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can define new functions but also new object types and their methods. The document also describes how to embed the Python interpreter in another application, for use as an extension language. Finally, it shows how to compile and link extension modules so that they can be loaded dynamically (at run time) into the interpreter, if the underlying operating system supports this feature. 
  • Guido van Rossum. Python Reference Manual - Version 1.2 (PDF). CWI Report CS-R9525. May 1995 [2023-03-04]. (原始内容存档 (PDF)于2023-03-05). The modulo operator always yields a result with the same sign as its second operand (or zero); …… The integer division and modulo operators are connected by the following identity: x == (x/y)*y + (x%y). 

cython.readthedocs.io (Global: low place; Chinese: low place)

deal.readthedocs.io (Global: low place; Chinese: low place)

djangoproject.com (Global: low place; Chinese: 9,273rd place)

docs.djangoproject.com

edemaine.github.io (Global: low place; Chinese: low place)

  • CoffeeScript for Python Programmers. CoffeeScript is a programming language whose syntax is clearly designed to match much of Python (with additional inspirations from Perl, ECMAScript, Ruby, etc.). 

exaloop.io (Global: low place; Chinese: low place)

docs.exaloop.io

fabfile.org (Global: low place; Chinese: low place)

gitbook.io (Global: low place; Chinese: low place)

nanguage.gitbook.io

github.com (Global: 383rd place; Chinese: 336th place)

godotengine.org (Global: low place; Chinese: low place)

docs.godotengine.org

golang.org (Global: 8,118th place; Chinese: 8,002nd place)

gvanrossum.github.io (Global: low place; Chinese: low place)

holoviz.org (Global: low place; Chinese: low place)

panel.holoviz.org

holoviz.org

huggingface.co (Global: low place; Chinese: low place)

infoworld.com (Global: 3,696th place; Chinese: 4,044th place)

jetbrains.com (Global: 8,974th place; Chinese: 5,855th place)

joblib.readthedocs.io (Global: low place; Chinese: low place)

julialang.org (Global: low place; Chinese: low place)

docs.julialang.org

leanpub.com (Global: low place; Chinese: low place)

libsdl.org (Global: low place; Chinese: low place)

linuxformat.co.uk (Global: low place; Chinese: low place)

linuxfoundation.org (Global: low place; Chinese: 9,845th place)

refspecs.linuxfoundation.org

linuxjournal.com (Global: 8,246th place; Chinese: 8,222nd place)

mail-archive.com (Global: 8,986th place; Chinese: 5,690th place)

medium.com (Global: 551st place; Chinese: 572nd place)

might.net (Global: low place; Chinese: low place)

matt.might.net

mit.edu (Global: 415th place; Chinese: 500th place)

csail.mit.edu

myhdl.org (Global: low place; Chinese: low place)

mypy-lang.org (Global: low place; Chinese: low place)

myqcloud.com (Global: low place; Chinese: low place)

yyrcd-1256568788.cos.na-siliconvalley.myqcloud.com

neopythonic.blogspot.be (Global: low place; Chinese: low place)

  • van Rossum, Guido. Language Design Is Not Just Solving Puzzles. Artima forums. Artima. 2006-02-09 [2007-03-21]. (原始内容存档于2020-01-17). the complexity introduced by a solution to a design problem must be somehow proportional to the problem's importance. …… Mathematicians don't mind these -- a proof is a proof is a proof, no matter whether it contains 2 or 2000 steps, or requires an infinite-dimensional space to prove something about integers. …… Features of a programming language, whether syntactic or semantic, are all part of the language's user interface. And a user interface can handle only so much complexity or it becomes unusable. This is also the reason why Python will never have continuations, and even why I'm uninterested in optimizing tail recursion. 
    van Rossum, Guido. Tail Recursion Elimination. Neopythonic.blogspot.be. 2009-04-22 [2012-12-03]. (原始内容存档于2018-05-19). Once tail recursion elimination exists, developers will start writing code that depends on it, and their code won't run on implementations that don't provide it …… I don't believe in recursion as the basis of all programming. This is a fundamental belief of certain computer scientists, especially those who love Scheme and like to teach programming by starting with a "cons" cell and recursion. 

nondot.org (Global: low place; Chinese: low place)

  • Lattner, Chris. Chris Lattner's Homepage. Chris Lattner. 2014-06-03 [2014-06-03]. (原始内容存档于2018-12-25). 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. 

norvig.com (Global: low place; Chinese: low place)

numpy.org (Global: low place; Chinese: low place)

nvidia.github.io (Global: low place; Chinese: low place)

orangedatamining.com (Global: low place; Chinese: low place)

pages.debian.net (Global: low place; Chinese: low place)

benchmarksgame-team.pages.debian.net

panda3d.org (Global: low place; Chinese: low place)

phoronix.com (Global: 4,683rd place; Chinese: 4,615th place)

psu.edu (Global: 207th place; Chinese: 628th place)

citeseerx.ist.psu.edu

pybenchmarks.org (Global: low place; Chinese: low place)

pydata.org (Global: low place; Chinese: low place)

pandas.pydata.org

  • DataFrame. [2022-09-01]. (原始内容存档于2022-09-01). DataFrame is a 2-dimensional labeled data structure with columns of potentially different types. You can think of it like a spreadsheet or SQL table, or a dict of Series objects. It is generally the most commonly used pandas object. 

seaborn.pydata.org

pygobject.readthedocs.io (Global: low place; Chinese: low place)

pyinstaller.org (Global: low place; Chinese: low place)

pypi.org (Global: low place; Chinese: low place)

pypl.github.io (Global: low place; Chinese: low place)

pypy.org (Global: low place; Chinese: low place)

doc.pypy.org

python-history.blogspot.com (Global: low place; Chinese: low place)

python.org (Global: 2,232nd place; Chinese: 1,779th place)

docs.python.org

python.org

pythondiscord.com (Global: low place; Chinese: low place)

pythoninsider.blogspot.com (Global: low place; Chinese: low place)

pyviz.org (Global: low place; Chinese: low place)

raw.githubusercontent.com (Global: low place; Chinese: low place)

  • GitHub repository of Python 0.9.1 source. [2023-02-25]. (原始内容存档于2023-03-05). 
    HISTORY. Python source distribution. Python Foundation. [2017-11-23]. (原始内容存档于2017-12-01). 
  • HISTORY. [2020-09-12]. (原始内容存档于2017-12-01). Lambda expressions are particularly useful in combination with map(), filter() and reduce(), described below. Thanks to Amrit Prem for submitting this code (as well as map(), filter(), reduce() and xrange())! 
  • Brian Kernighan, Dennis Ritchie. The C Programming Language, Second Edition (PDF). Prentice Hall. 1988 [2023-03-23]. (原始内容存档 (PDF)于2023-03-25). The relational operators group left-to-right, but this fact is not useful; a<b<c is parsed as (a<b)<c, and evaluates to either 0 or 1. 

ray.io (Global: low place; Chinese: low place)

returns.readthedocs.io (Global: low place; Chinese: low place)

simpy.readthedocs.io (Global: low place; Chinese: low place)

sites.google.com (Global: 626th place; Chinese: 578th place)

sourceforge.net (Global: 1,669th place; Chinese: 1,456th place)

ring-lang.sourceforge.net

pyopengl.sourceforge.net

speakingjs.com (Global: low place; Chinese: low place)

stackoverflow.co (Global: low place; Chinese: low place)

survey.stackoverflow.co

tensorflow.org (Global: low place; Chinese: low place)

tician.de (Global: low place; Chinese: low place)

documen.tician.de

tiobe.com (Global: low place; Chinese: low place)

  • TIOBE Index. TIOBE - The Software Quality Company. [2021-10-06]. (原始内容存档于2020-06-14). 

web.archive.org (Global: 1st place; Chinese: 1st place)

weblogs.com (Global: low place; Chinese: low place)

radio.weblogs.com

wikipedia.org (Global: low place; Chinese: low place)

en.wikipedia.org

  • 定义修饰器的示例:
    def viking_chorus(func):
        def wrapper(*args, **kwargs):
            for i in range(3):
                func(*args, **kwargs)
        return wrapper
    

    调用修饰器的示例:

    @viking_chorus    
    def menu_item(*args):
        print(", ".join(args)+", and spam")
    

    它等价于:

    def menu_item(*args):
        print(", ".join(args)+", and spam")
    
    menu_item = viking_chorus(menu_item)
    

    viking_chorus修饰后的menu英语Spam (Monty Python sketch)_item将原来定义运行3次:

    >>> menu_item("egg","bacon")
    egg, bacon, and spam
    egg, bacon, and spam
    egg, bacon, and spam
    
  • 修饰器工厂示例,这里的favourite_colour接受一个实际参数,并返回一个修饰器:
    def favourite_colour(colour):
        def decorator(func):
            def wrapper(*args, **kwargs):
                print(f"My favourite colour is {colour}.")
                func(*args, **kwargs)
            return wrapper
        return decorator
    
    def invincible(func):
        def wrapper(*args, **kwargs):
            print("I'm invincible!")
            func(*args, **kwargs)
        return wrapper
    

    使用毗连的修饰符链接修饰器示例:

    @invincible
    @favourite_colour("blue")
    def black_knight():
        print("None shall pass.")
    

    它等价于:

    black_knight = invincible(favourite_colour("blue")(black_knight))
    

    black_knight英语Black Knight (Monty Python)()结果为:

    >>> black_knight()
    I'm invincible!
    My favourite colour is blue.
    None shall pass.
    
  • 类方法、静态方法__new__(它是特殊情况而不需要加以修饰)、特殊方法__call____len____getitem____setitem__弱引用集合英语Set (abstract data type)示例:
    >>> from weakref import WeakSet
    ... class D():
    ...     __template = {}
    ...     __obj_set = WeakSet()
    ...     def __new__(cls, *args, **kwargs):
    ...         obj = super().__new__(cls)
    ...         cls.__obj_set.add(obj)
    ...         return obj
    ...     @classmethod
    ...     def load(cls, dict):
    ...         cls.__template |= dict
    ...     @classmethod
    ...     def create(cls, *args, **kwargs):
    ...         return cls(cls.__template, *args, **kwargs)
    ...     @classmethod
    ...     def count(cls):
    ...         return len(cls.__obj_set)
    ...     @classmethod
    ...     def contains(cls, obj):
    ...         return obj in cls.__obj_set
    ...     def __init__(self, dict={}, /, *args, **kwargs):
    ...         self.__dict__ |= dict
    ...         self.__dict__ |= kwargs
    ...     def __call__(self, *args, **kwargs):
    ...         self.__dict__ |= kwargs
    ...         return self.__dict__.copy()
    ...     def __len__(self):
    ...         return len(self.__dict__)
    ...     def __getitem__(self, key):
    ...         return self.__dict__[key]
    ...     def __setitem__(self, key, value):
    ...         self.__dict__[key] = value
    ...  
    >>> a = {'ak': 1, 'bk': 2, 'ck': 3}
    >>> d = D(a, dk=4)
    >>> d()
    {'ak': 1, 'bk': 2, 'ck': 3, 'dk': 4}
    >>> D.load(a)
    >>> e = D.create(ck=4)
    >>> e()
    {'ak': 1, 'bk': 2, 'ck': 4}
    >>> f = D(ak=1, bk=2)
    >>> f(ck=3)
    {'ak': 1, 'bk': 2, 'ck': 3}
    >>> f['ak']
    1
    >>> f['ak'] = 5
    >>> f()
    {'ak': 5, 'bk': 2, 'ck': 3}
    >>> len(f)
    3
    >>> D.count()
    3
    >>> del f
    >>> D.count()
    2
    >>> d.__weakref__
    <weakref at 0x72652697ede0; to 'D' at 0x72652713b230>
    >>> D.contains(d)
    True
    >>> D.contains(1)
    False
    
  • Guido van Rossum. Python Reference Manual - Version 1.2 (PDF). CWI Report CS-R9525. May 1995 [2023-03-04]. (原始内容存档 (PDF)于2023-03-05). Python is a simple, yet powerful, interpreted programming language that bridges the gap between C and shell programming, and is thus ideally suited for "throw-away英语Software_prototyping#Throwaway_prototyping programming" and rapid prototyping. Its syntax is put together from constructs borrowed from a variety of other languages; most prominent are influences from ABC, C, Modula-3 and Icon.
    The Python interpreter is easily extended with new functions and data types implemented in C. Python is also suitable as an extension language for highly customizable C applications such as editors or window managers.
     

xon.sh (Global: low place; Chinese: low place)