Category:Python: Difference between revisions
mNo edit summary |
(update) |
||
(48 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
{{language |
|||
[http://puli.org.cn/web/plane-crash/ plane crash] [http://puli.org.cn/web/registratori-audio/ registratori audio] [http://nibko.info/data/peg-perego.htm peg perego passeggino venezia] [http://nibko.info/data/savi-srl.htm savi srl] [http://nibko.info/data/incinte-porno.htm incinte porno] [http://nibko.info/data/jamelia-davis.htm jamelia davis] [http://zodip.info/description/giochi-si.htm giochi si intelligenza] [http://puli.org.cn/web/www-barracuda/ www barracuda it] [http://italnet.net.cn/img/cbr-/ cbr 900 rr honda] [http://italnet.net.cn/img/hitmania-dance/ hitmania dance champion 2004] [http://puli.org.cn/web/biglietto-augurale/ biglietto augurale] [http://italnet.net.cn/img/telefono-nokia/ telefono nokia] [http://zodip.info/description/trasmettitore-audio.htm trasmettitore audio fm] [http://hangzhau.cn/html/batteria-presario/ batteria presario] [http://zodip.info/description/voli-lerici.htm voli lerici] [http://puli.org.cn/web/mircea-russu/ mircea russu] [http://puli.org.cn/web/discount/ discount] [http://italnet.net.cn/img/fergie-sexy/ fergie sexy] [http://hangzhau.cn/html/beghelli-gas/ beghelli gas] [http://italnet.net.cn/img/musica-wav/ musica wav] [http://nibko.info/data/sapphic.htm sapphic] [http://puli.org.cn/web/opel-astra/ opel astra 1.8 cdx] [http://zodip.info/description/bisex-lsb.htm bisex lsb] [http://nibko.info/data/aggiungi-posto.htm aggiungi posto tavola] [http://italnet.net.cn/img/caduca/ caduca] [http://hangzhau.cn/html/mariah-carey/ mariah carey video nuda] [http://nibko.info/data/www-eledofe.htm www eledofe it] [http://zodip.info/description/age-of.htm age of empires 2 the conquerors] [http://hangzhau.cn/html/spot-telecom/ spot telecom berlusconi] [http://italnet.net.cn/img/giardino-delle/ giardino delle idee] [http://nibko.info/data/illuminazione-per.htm illuminazione per giardino] [http://puli.org.cn/web/tf-/ tf 4000 pvr] [http://nibko.info/data/tenerife.htm tenerife] [http://nibko.info/data/logitechgamepad-rumblepad.htm logitech-gamepad rumblepad ii usb] [http://hangzhau.cn/html/colombino/ colombino] [http://zodip.info/description/make-francis.htm make francis] [http://italnet.net.cn/img/evanecense/ evanecense] [http://zodip.info/description/hard-top.htm hard top bmw z3] [http://hangzhau.cn/html/can-t/ can t stop] [http://hangzhau.cn/html/bari-graffiti/ bari graffiti] [http://nibko.info/data/offerta-lavoro.htm offerta lavoro bari] [http://puli.org.cn/web/ati-/ ati 9550 256 agp] [http://italnet.net.cn/img/piotti-snc/ piotti snc] [http://nibko.info/data/peg-perego.htm peg perego golf] [http://nibko.info/data/password-spoof.htm password spoof] [http://nibko.info/data/sex-woman.htm sex woman] [http://italnet.net.cn/img/kebnekaise/ kebnekaise] [http://puli.org.cn/web/supporto-dvd/ supporto dvd] [http://nibko.info/data/cara.htm cara] [http://puli.org.cn/web/cordless-color/ cordless color] [http://puli.org.cn/web/fuoristrada-pordenone/ fuoristrada pordenone] [http://puli.org.cn/web/mousse-t/ mousse t feat emma lanford is it cos i] [http://zodip.info/description/fifa.htm fifa 05] [http://italnet.net.cn/img/outcast-roses/ outcast roses] [http://puli.org.cn/web/los-diablo/ los diablo midi] [http://puli.org.cn/web/lg-vc/ lg vc9800] [http://puli.org.cn/web/franciasing/ franciasing] [http://hangzhau.cn/html/opel-corsa/ opel corsa 1.7 dti sport] [http://zodip.info/description/o-mia.htm o mia bela] [http://italnet.net.cn/img/dragostea-din/ dragostea din tei o zone haiduci] [http://italnet.net.cn/img/clipporno/ clipporno] [http://italnet.net.cn/img/epson-cinghia/ epson cinghia di trasferimento] [http://hangzhau.cn/html/jamella-diablo/ jamella diablo 2 editor] [http://nibko.info/data/nike-air.htm nike air ninety] [http://italnet.net.cn/img/prezzi-agriturismo/ prezzi agriturismo] [http://zodip.info/description/meganqt.htm meganqt] [http://hangzhau.cn/html/videoregistratori-daewoo/ videoregistratori daewoo] [http://puli.org.cn/web/sancho/ sancho] [http://italnet.net.cn/img/biolay/ biolay] [http://hangzhau.cn/html/biglietto-aereo/ biglietto aereo roma bangkok] [http://zodip.info/description/diffusori-b.htm diffusori b] [http://puli.org.cn/web/denis-russos/ denis russos] [http://puli.org.cn/web/erbe-infestanti/ erbe infestanti] [http://nibko.info/data/hotel-concorde.htm hotel concorde arona] [http://nibko.info/data/jeanhugues-anglade.htm jean-hugues anglade] [http://nibko.info/data/black-sex.htm black sex clips] [http://hangzhau.cn/html/lcd-b/ lcd b o 32] [http://puli.org.cn/web/philips/ philips 5812] [http://zodip.info/description/opel-tigra.htm opel tigra 1 3 cdti] [http://hangzhau.cn/html/voli-gubbio/ voli gubbio] [http://italnet.net.cn/img/denon-home/ denon home] [http://hangzhau.cn/html/moppie-karaoke/ moppie karaoke] [http://hangzhau.cn/html/rapina-a/ rapina... a nave armata] [http://hangzhau.cn/html/sony-lcsva/ sony lcs-va10] [http://puli.org.cn/web/donne-ninfomani/ donne ninfomani] [http://puli.org.cn/web/rivenditori-calabria/ rivenditori calabria] [http://hangzhau.cn/html/tv-lcd/ tv lcd 22] [http://nibko.info/data/lg-.htm lg 9900 dvd] [http://nibko.info/data/salemme-films.htm salemme films] [http://puli.org.cn/web/animal-hard/ animal hard] [http://hangzhau.cn/html/call-of/ call of me] [http://italnet.net.cn/img/venuta/ venuta] [http://zodip.info/description/sport-medicina.htm sport medicina] [http://hangzhau.cn/html/girls-anal/ girls anal vree watch] [http://hangzhau.cn/html/bmw-/ bmw 6 cabrio] [http://hangzhau.cn/html/truyentranh/ truyentranh] [http://zodip.info/description/toulmin.htm toulmin] [http://zodip.info/description/yety-sport.htm yety sport] [http://zodip.info/description/imagini-visita.htm imagini visita ginecologo] [http://italnet.net.cn/img/hilary-duff/ hilary duff most wanted] [http://zodip.info/description/cartina-regione.htm cartina regione] [http://italnet.net.cn/img/vuelve-a/ vuelve a mi] [http://zodip.info/description/eug.htm eug] [http://puli.org.cn/web/canon-caricabatterie/ canon caricabatterie] [http://hangzhau.cn/html/agnes-moorehead/ agnes moorehead] [http://italnet.net.cn/img/becker-traffic/ becker traffic pro 7945] [http://hangzhau.cn/html/haplan/ haplan 2] [http://zodip.info/description/tarocco-celtico.htm tarocco celtico] [http://italnet.net.cn/img/piscina-calcinate/ piscina calcinate] [http://nibko.info/data/beethoven-inno.htm beethoven inno al creatore] [http://italnet.net.cn/img/klossowski/ klossowski] [http://italnet.net.cn/img/da-cacca/ da cacca] [http://puli.org.cn/web/processori-intel/ processori intel xeon 2 8 ghz 2 8] [http://nibko.info/data/manipolazione-informazione.htm manipolazione informazione] [http://italnet.net.cn/img/cromwell/ cromwell] [http://italnet.net.cn/img/indesit-wi/ indesit wi 600] [http://puli.org.cn/web/jose-luis/ jose luis perales] [http://hangzhau.cn/html/frigorifero-/ frigorifero 188 cm] [http://zodip.info/description/intervento-tendine.htm intervento tendine femorale] [http://zodip.info/description/jvc-autoradio.htm jvc autoradio lettore cd mp3] [http://zodip.info/description/panasonic-videocamera.htm panasonic- videocamera digitale] [http://zodip.info/description/al.htm al 501] [http://italnet.net.cn/img/technisat-skystar/ technisat skystar pci] [http://zodip.info/description/acer-power.htm acer power fv 515] [http://zodip.info/description/differenziale-matematica.htm differenziale (matematica e g...] [http://italnet.net.cn/img/ballz-d/ ballz 3d 2.5] [http://nibko.info/data/hiroshima-prefettura.htm hiroshima (prefettura)] [http://italnet.net.cn/img/raccoglitore-monete/ raccoglitore monete] [http://italnet.net.cn/img/telefoni-nec/ telefoni nec] [http://zodip.info/description/spartito-spiderman.htm spartito spiderman] [http://nibko.info/data/toshiba-lampade.htm toshiba lampade] [http://italnet.net.cn/img/acaju/ acaju] [http://puli.org.cn/web/foto-licia/ foto licia colo nuda] [http://italnet.net.cn/img/leasing-ford/ leasing ford] [http://puli.org.cn/web/i-robe/ i robe] [http://puli.org.cn/web/lagostina-pressione/ lagostina pressione] [http://hangzhau.cn/html/pavia/ pavia] [http://zodip.info/description/gol-de.htm gol de marado] [http://hangzhau.cn/html/persecuzione-degli/ persecuzione degli ebrei] [http://puli.org.cn/web/intimo-uomo/ intimo uomo navigare] [http://puli.org.cn/web/mp-fm/ mp3 fm lettori] [http://nibko.info/data/nuovi-dettagli.htm nuovi dettagli sul film di splinter cell] [http://hangzhau.cn/html/polar-s/ polar s 625x] [http://hangzhau.cn/html/condizionatori-dual/ condizionatori dual classe a] [http://hangzhau.cn/html/erano-tutti/ erano tutti miei figli] [http://puli.org.cn/web/lambata/ lambata] [http://hangzhau.cn/html/hairy-mature/ hairy mature] [http://italnet.net.cn/img/la-casa/ la casa degli spiriti allende isabel] [http://hangzhau.cn/html/testo-in/ testo in italiano fuck it] [http://nibko.info/data/la-spada.htm la spada e la magia] [http://nibko.info/data/christina-millian.htm christina millian dip it low] [http://puli.org.cn/web/ingegnere-chimico/ ingegnere chimico] [http://zodip.info/description/manlio.htm manlio] [http://italnet.net.cn/img/fondo-pantallas/ fondo pantallas] [http://zodip.info/description/ragazzo-collegno.htm ragazzo collegno] [http://italnet.net.cn/img/haflinger-puch/ haflinger puch] [http://italnet.net.cn/img/gallerie-porno/ gallerie porno gratuite] [http://zodip.info/description/baan-specialist.htm baan specialist (regione lombardia - milano provincia)] [http://puli.org.cn/web/www-tvazteca/ www tvazteca com topten] [http://zodip.info/description/hifi-lg.htm hi-fi lg] [http://puli.org.cn/web/ufficio-vercelli/ ufficio vercelli] [http://zodip.info/description/testi-e.htm testi e canzoni] [http://hangzhau.cn/html/fitness/ fitness] [http://zodip.info/description/mercedes-e.htm mercedes e sw] [http://zodip.info/description/dropout.htm drop-out] [http://puli.org.cn/web/consigli-investimento/ consigli investimento] [http://zodip.info/description/software-navigazione.htm software navigazione offline] [http://hangzhau.cn/html/lettini-con/ lettini con fasciatoio] [http://puli.org.cn/web/jerri-ryan/ jerri ryan] [http://puli.org.cn/web/puntoshop/ puntoshop] [http://zodip.info/description/freextv.htm freextv] [http://hangzhau.cn/html/nike-calcetto/ nike calcetto] [http://zodip.info/description/palmare-cellulari.htm palmare cellulari motorola] [http://italnet.net.cn/img/fondo-cometa/ fondo cometa] [http://italnet.net.cn/img/karoku/ karoku] [http://zodip.info/description/noche-loba.htm noche loba en vivo] [http://zodip.info/description/tv-fm.htm tv fm card] [http://puli.org.cn/web/www-valentinademy/ www valentinademy] [http://italnet.net.cn/img/messalina-venere/ messalina venere imperatrice] [http://italnet.net.cn/img/personal-domain/ personal domain names] [http://nibko.info/data/sarmalele-reci.htm sarmalele reci] [http://hangzhau.cn/html/masterizzatore-dvd/ masterizzatore dvd lite on] [http://zodip.info/description/kenwood-km.htm kenwood km] [http://zodip.info/description/ways-of.htm ways of luv] [http://hangzhau.cn/html/carosone-video/ carosone video] [http://puli.org.cn/web/import-cereali/ import cereali] [http://nibko.info/data/michaeljackson.htm michaeljackson] [http://italnet.net.cn/img/istituti-di/ istituti di ricerca di mercato] [http://puli.org.cn/web/film-scaricabili/ film scaricabili gratis in italiano] [http://nibko.info/data/proyectos.htm proyectos] [http://italnet.net.cn/img/acquista-casa/ acquista casa] [http://hangzhau.cn/html/albergo-/ albergo 5 stella vienna] [http://hangzhau.cn/html/la-lotta/ la lotta del sesso sei milioni di anni fa] [http://zodip.info/description/palazzolo.htm palazzolo] [http://hangzhau.cn/html/kaly/ kaly] [http://nibko.info/data/banni.htm banni] [http://zodip.info/description/dinamo-ja.htm dinamo ja volim] [http://italnet.net.cn/img/clomid-mg/ clomid 50mg 10 cpr] [http://zodip.info/description/chi-non.htm chi non lavora] [http://italnet.net.cn/img/donne-asia/ donne asia nude] [[Category:Solutions by Programming Language]] |
|||
|exec=interpreted |
|||
From the official [http://www.python.org Python] web-site "Python is a dynamic object-oriented programming language that can be used for many kinds of software development." |
|||
|site=https://www.python.org |
|||
|strength=strong |
|||
|safety=safe |
|||
|express=implicit |
|||
|checking=dynamic |
|||
|parampass=object reference |
|||
|gc=yes |
|||
|LCT=yes |
|||
|bnf=https://docs.python.org/3/reference/grammar.html}}{{language programming paradigm|Dynamic}}{{language programming paradigm|Object-oriented}}{{codepad}}From the official [https://www.python.org Python] website: "Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs." |
|||
It is easy to create clean bug-free programs in Python due to the motto: "Errors should never pass silently." Python is an [[wp:Interpreter (computing)|interpreter]]. Python source files (.py files) are typically compiled to an intermediate [[bytecode]] language (.pyc files) and executed by a Python Virtual Machine. |
|||
Python source files (.py files) are typically compiled to an intermediate bytecode language (.pyc files) and executed by a Python Virtual Machine. |
|||
===Notes=== |
|||
Because Python uses whitespace for structure, do not format long code examples with leading whitespace, instead use <code><nowiki><pre></pre></nowiki></code> tags, or, preferably, <code><nowiki><syntaxhighlight lang="python"></syntaxhighlight></nowiki></code> tags. This will make it easier to copy code into and out of the wiki. Example: |
|||
<syntaxhighlight lang="python">print('this line must not have leading indentation!') |
|||
if True: |
|||
print('example: ', foo(3), len(bar))</syntaxhighlight> |
|||
Some Python examples may deviate from idiomatic Python because they may be written to work in Python 3.X as well as Python 2.X environments. This includes doing things like: |
|||
* Using brackets in print statements/functions of one expression. |
|||
* Using zip and not izip; keys(), values(), items() and not their iter- forms. |
|||
* Checking for raw_input and setting raw_input to input if not found. |
|||
* Conditionally importing reduce if it is not found. |
|||
This style is not a requirement for Python code on RC, but it may be in use and should not necessarily be 'corrected' if found in examples. |
|||
The command line is often used in Python for short pieces of code, and so, again; examples showing such use are not incorrect and may be left. |
|||
==See Also== |
==See Also== |
||
* [ |
* [[wp:python_(programming_language)|Wikipedia: Python]] |
||
* [http://www.python.org The Python official site] |
|||
==Todo== |
|||
[[Tasks_not_implemented_in_Python]] |
Latest revision as of 16:10, 21 August 2023
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Interpreted |
---|---|
Garbage collected: | Yes |
Parameter passing methods: | By object reference |
Type safety: | Safe |
Type strength: | Strong |
Type expression: | Implicit |
Type checking: | Dynamic |
See Also: |
From the official Python website: "Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs."
It is easy to create clean bug-free programs in Python due to the motto: "Errors should never pass silently." Python is an interpreter. Python source files (.py files) are typically compiled to an intermediate bytecode language (.pyc files) and executed by a Python Virtual Machine.
Notes
Because Python uses whitespace for structure, do not format long code examples with leading whitespace, instead use <pre></pre>
tags, or, preferably, <syntaxhighlight lang="python"></syntaxhighlight>
tags. This will make it easier to copy code into and out of the wiki. Example:
print('this line must not have leading indentation!')
if True:
print('example: ', foo(3), len(bar))
Some Python examples may deviate from idiomatic Python because they may be written to work in Python 3.X as well as Python 2.X environments. This includes doing things like:
- Using brackets in print statements/functions of one expression.
- Using zip and not izip; keys(), values(), items() and not their iter- forms.
- Checking for raw_input and setting raw_input to input if not found.
- Conditionally importing reduce if it is not found.
This style is not a requirement for Python code on RC, but it may be in use and should not necessarily be 'corrected' if found in examples.
The command line is often used in Python for short pieces of code, and so, again; examples showing such use are not incorrect and may be left.
See Also
Todo
Subcategories
This category has the following 18 subcategories, out of 18 total.
@
- Python Implementations (8 P)
- Python User (344 P)
K
- Kivy (1 P)
L
- Livewires (1 P)
M
- Matplotlib (3 P)
N
- NumPy (13 P)
T
- Tkinter (8 P)
V
- VPython (9 P)
W
- WxPython (3 P)
Pages in category "Python"
The following 200 pages are in this category, out of 1,513 total.
(previous page) (next page)A
- A* search algorithm
- A+B
- Abbreviations, automatic
- Abbreviations, easy
- Abbreviations, simple
- ABC problem
- ABC words
- Abelian sandpile model
- Abelian sandpile model/Identity
- Abstract type
- Abundant odd numbers
- Abundant, deficient and perfect number classifications
- Accumulator factory
- Achilles numbers
- Ackermann function
- Active Directory/Connect
- Active Directory/Search for a user
- Active object
- Add a variable to a class instance at runtime
- Addition chains
- Addition-chain exponentiation
- Additive primes
- Address of a variable
- ADFGVX cipher
- Air mass
- AKS test for primes
- Algebraic data types
- Align columns
- Aliquot sequence classifications
- Almkvist-Giullera formula for pi
- Almost prime
- Alternade words
- Amb
- Amicable pairs
- Anadromes
- Anagrams
- Anagrams/Deranged anagrams
- Angle difference between two bearings
- Angles (geometric), normalization and conversion
- Animate a pendulum
- Animation
- Anonymous recursion
- Anti-primes
- Append a record to the end of a text file
- Append numbers at same position in strings
- Apply a callback to an array
- Apply a digital filter (direct form II transposed)
- Approximate equality
- Apéry's constant
- Arbitrary-precision integers (included)
- Archimedean spiral
- Arena storage pool
- Arithmetic coding/As a generalized change of radix
- Arithmetic derivative
- Arithmetic evaluation
- Arithmetic numbers
- Arithmetic-geometric mean
- Arithmetic-geometric mean/Calculate Pi
- Arithmetic/Complex
- Arithmetic/Integer
- Arithmetic/Rational
- Array concatenation
- Array length
- Arrays
- Ascending primes
- ASCII art diagram converter
- Aspect oriented programming
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Associative array/Merging
- Atomic updates
- Attractive numbers
- Audio alarm
- Average loop length
- Averages/Arithmetic mean
- Averages/Mean angle
- Averages/Mean time of day
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average
- AVL tree
B
- Babbage problem
- Babylonian spiral
- Bacon cipher
- Balanced brackets
- Balanced ternary
- Banker's algorithm
- Barnsley fern
- Base 16 numbers needing a to f
- Base58Check encoding
- Base64 decode data
- Base64 encode data
- Bell numbers
- Benford's law
- Bernoulli numbers
- Bernstein basis polynomials
- Best shuffle
- Bifid cipher
- Bilinear interpolation
- Bin given limits
- Binary digits
- Binary search
- Binary strings
- Binomial transform
- Bioinformatics/base count
- Bioinformatics/Global alignment
- Bioinformatics/Sequence mutation
- Bioinformatics/Subsequence
- Biorhythms
- Birthday problem
- Bitcoin/address validation
- Bitcoin/public point to address
- Bitmap
- Bitmap/Bresenham's line algorithm
- Bitmap/Bézier curves/Cubic
- Bitmap/Bézier curves/Quadratic
- Bitmap/Flood fill
- Bitmap/Histogram
- Bitmap/Midpoint circle algorithm
- Bitmap/PPM conversion through a pipe
- Bitmap/Read a PPM file
- Bitmap/Read an image through a pipe
- Bitmap/Write a PPM file
- Bitwise IO
- Bitwise operations
- Blum integer
- Boolean values
- Boustrophedon transform
- Box the compass
- Boyer-Moore string search
- Brace expansion
- Brace expansion using ranges
- Brazilian numbers
- Break OO privacy
- Brilliant numbers
- Brownian tree
- Bulls and cows
- Bulls and cows/Player
- Burrows–Wheeler transform
- Bézier curves/Intersections
C
- Caesar cipher
- Calculating the value of e
- Calendar
- Calkin-Wilf sequence
- Call a foreign-language function
- Call a function
- Call a function in a shared library
- Call an object method
- Calmo numbers
- CalmoSoft primes
- Camel case and snake case
- Canny edge detector
- Canonicalize CIDR
- Cantor set
- Card shuffles
- Carmichael 3 strong pseudoprimes
- Carmichael lambda function
- Cartesian product of two or more lists
- Case-sensitivity of identifiers
- Casting out nines
- Catalan numbers
- Catalan numbers/Pascal's triangle
- Catamorphism
- Catmull–Clark subdivision surface
- Change e letters to i in words
- Changeable words
- Chaocipher
- Chaos game
- Character codes
- Chat server
- Chebyshev coefficients
- Check if a polygon overlaps with a rectangle
- Check if two polygons overlap
- Check input device is a terminal
- Check Machin-like formulas
- Check output device is a terminal
- Check that file exists
- Checkpoint synchronization
- Checksumcolor
- Chemical calculator
- Chernick's Carmichael numbers
- Cheryl's birthday
- Chess player
- Chinese remainder theorem
- Chinese zodiac