SlideShare uma empresa Scribd logo
1 de 29
All Things *Py*
Random assorted stuff on Py from the world wide web thingy.
Err. What’s in a name
Mister?
Roses are red,
Violets are blue,
Programming languages have
Wonderful names.
http://en.wikipedia.org/wiki/List_of_programming_languages
“Over six years ago, in December 1989, I was looking for a
"hobby" programming project that would keep me
occupied during the week around Christmas. My office ...
would be closed, but I had a home computer, and not
much else on my hands. I decided to write an interpreter
for the new scripting language I had been thinking about
lately: a descendant of ABC that would appeal to Unix/C
hackers. I chose Python as a working title for the project,
being in a slightly irreverent mood (and a big fan of Monty
Python’s Flying circus)”
Guido writes
Guido likes to work even during Christmas.
You heard it right. Python have got nothing to do
with snakes or snake charmers.
Python is not a new language. It’s been around for a
while and battle tested.
& the curious case of beard.
http://www.wired.com/2012/06/beard-gallery/
Forgot to ask. What is your Python?
Is this your Python?
Python lives in JVM too.
.NET and open source :O
One Self eating snake to rule them all.
Hmm.. Interesting.. Maybe.. Maybe not
What about Cython?
Anaconda
This is supposed to be funny.
My bad. The Anaconda distribution of
Python for real.
Cpython*
Jython.
IronPython
PyPy.
*Not to be confused with Cython
Implementations of Python
Q: Is Python interpreted or compiled ?
What if someone asks you?
A: Well. It depends on the context.
What do you do when you are not sure of the
answer or just want to evade the question
completely?
when the guy who asked the question
is looking else where..
The simple version.
The longer version.
• IronPython: compiles to DLR trees which the DLR then compiles to CIL
bytecode. What happens to the CIL bytecode depends upon which CLI VES
you are running on, but Microsoft .NET, GNU Portable.NET and Novell
Mono will eventually compile it to native machine code.
• Jython: interprets Python sourcecode until it identifies the hot code paths,
which it then compiles to JVML bytecode. What happens to the JVML
bytecode depends upon which JVM you are running on.
• PyPy: compiles to PyPy bytecode, which then gets interpreted by the PyPy
VM until it identifies the hot code paths which it then compiles into native
code, JVML bytecode or CIL bytecode depending on which platform you
are running on. There is also a JIT compiling process that happens.
• CPython: compiles to CPython bytecode which it then interprets.
http://stackoverflow.com/questions/2998215/if-python-is-interpreted-what-are-pyc-files
So the smart answer is.
It depends on the context.!!
Implementation details are key to the answer.
CPython is byte code interpreted unless proved otherwise.
How do you Learn Python?
A byte of Python
(http://www.swaroopch.com/notes/python/)
The MOOC
& ChennaiPy
Learning never stops.
The Myth of Genius Programmer
Thank You And That’s how Pattambi Railway Station came to
existence.!
(A mallu joke so profound that people simply don’t get it unless you are a mallu.)
Questions? Go easy on me!

Mais conteúdo relacionado

Destaque

The Cassandra Platform - Christos Diou
The Cassandra Platform - Christos Diou The Cassandra Platform - Christos Diou
The Cassandra Platform - Christos Diou
Cassandra Project
 
Building a Recommendation Engine Using Diverse Features by Divyanshu Vats
Building a Recommendation Engine Using Diverse Features by Divyanshu VatsBuilding a Recommendation Engine Using Diverse Features by Divyanshu Vats
Building a Recommendation Engine Using Diverse Features by Divyanshu Vats
Spark Summit
 

Destaque (20)

The Cassandra Platform - Christos Diou
The Cassandra Platform - Christos Diou The Cassandra Platform - Christos Diou
The Cassandra Platform - Christos Diou
 
Qcon Rio 2015 - Data Lakes Workshop
Qcon Rio 2015 - Data Lakes WorkshopQcon Rio 2015 - Data Lakes Workshop
Qcon Rio 2015 - Data Lakes Workshop
 
Nosql y cassandra
Nosql y cassandraNosql y cassandra
Nosql y cassandra
 
Manual cassandra NoSQL
Manual cassandra NoSQLManual cassandra NoSQL
Manual cassandra NoSQL
 
Pré-processamento em Big Data
Pré-processamento em Big DataPré-processamento em Big Data
Pré-processamento em Big Data
 
Making Big Data a First Class citizen in the enterprise
Making Big Data a First Class citizen in the enterpriseMaking Big Data a First Class citizen in the enterprise
Making Big Data a First Class citizen in the enterprise
 
Apache Cassandra - Base de datos
Apache Cassandra - Base de datosApache Cassandra - Base de datos
Apache Cassandra - Base de datos
 
Fast Data:The Rebirth of Streaming Analytics
Fast Data:The Rebirth of Streaming AnalyticsFast Data:The Rebirth of Streaming Analytics
Fast Data:The Rebirth of Streaming Analytics
 
Hadoop, SQL & NoSQL: No Longer an Either-or Question
Hadoop, SQL & NoSQL: No Longer an Either-or QuestionHadoop, SQL & NoSQL: No Longer an Either-or Question
Hadoop, SQL & NoSQL: No Longer an Either-or Question
 
Instalacion,Configuracion y Creacion de Una Base de Datos en Apache Cassandra...
Instalacion,Configuracion y Creacion de Una Base de Datos en Apache Cassandra...Instalacion,Configuracion y Creacion de Una Base de Datos en Apache Cassandra...
Instalacion,Configuracion y Creacion de Una Base de Datos en Apache Cassandra...
 
Elytics - Construindo uma plataforma de big data
Elytics - Construindo uma plataforma de big data Elytics - Construindo uma plataforma de big data
Elytics - Construindo uma plataforma de big data
 
Apache cassandra
Apache cassandraApache cassandra
Apache cassandra
 
Great Visualizations and Analytics using Business Intelligence Open Source
Great Visualizations and Analytics using Business Intelligence Open SourceGreat Visualizations and Analytics using Business Intelligence Open Source
Great Visualizations and Analytics using Business Intelligence Open Source
 
Manual apache cassandra y comandos en la shell
Manual apache cassandra y comandos en la shellManual apache cassandra y comandos en la shell
Manual apache cassandra y comandos en la shell
 
Hadoop MapReduce Streaming and Pipes
Hadoop MapReduce  Streaming and PipesHadoop MapReduce  Streaming and Pipes
Hadoop MapReduce Streaming and Pipes
 
Building a Recommendation Engine Using Diverse Features by Divyanshu Vats
Building a Recommendation Engine Using Diverse Features by Divyanshu VatsBuilding a Recommendation Engine Using Diverse Features by Divyanshu Vats
Building a Recommendation Engine Using Diverse Features by Divyanshu Vats
 
Up and running with pyspark
Up and running with pysparkUp and running with pyspark
Up and running with pyspark
 
Desenvolvimento Mobile: Android e iOS caminhando juntos
Desenvolvimento Mobile: Android e iOS caminhando juntosDesenvolvimento Mobile: Android e iOS caminhando juntos
Desenvolvimento Mobile: Android e iOS caminhando juntos
 
PyCon APAC 2016 Keynote
PyCon APAC 2016 KeynotePyCon APAC 2016 Keynote
PyCon APAC 2016 Keynote
 
Improving data interoperability in Python and R
Improving data interoperability in Python and RImproving data interoperability in Python and R
Improving data interoperability in Python and R
 

Semelhante a All things py

Python @ PiTech - March 2009
Python @ PiTech - March 2009Python @ PiTech - March 2009
Python @ PiTech - March 2009
tudorprodan
 
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donatRaspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
SANTIAGO PABLO ALBERTO
 

Semelhante a All things py (20)

2016 bioinformatics i_python_part_1_wim_vancriekinge
2016 bioinformatics i_python_part_1_wim_vancriekinge2016 bioinformatics i_python_part_1_wim_vancriekinge
2016 bioinformatics i_python_part_1_wim_vancriekinge
 
Linear Algebra in Python
Linear Algebra in PythonLinear Algebra in Python
Linear Algebra in Python
 
P1 2017 python
P1 2017 pythonP1 2017 python
P1 2017 python
 
Python @ PiTech - March 2009
Python @ PiTech - March 2009Python @ PiTech - March 2009
Python @ PiTech - March 2009
 
P1 2018 python
P1 2018 pythonP1 2018 python
P1 2018 python
 
Invasion of the dynamic language weenies
Invasion of the dynamic language weeniesInvasion of the dynamic language weenies
Invasion of the dynamic language weenies
 
Bridging Ousterhout's Dichotomy
Bridging Ousterhout's DichotomyBridging Ousterhout's Dichotomy
Bridging Ousterhout's Dichotomy
 
Codebits Handivi
Codebits HandiviCodebits Handivi
Codebits Handivi
 
Python Games
Python GamesPython Games
Python Games
 
Python Tutorial .pdf
Python Tutorial .pdfPython Tutorial .pdf
Python Tutorial .pdf
 
Python 3.5: An agile, general-purpose development language.
Python 3.5: An agile, general-purpose development language.Python 3.5: An agile, general-purpose development language.
Python 3.5: An agile, general-purpose development language.
 
Beginning Kindle Hackery
Beginning Kindle HackeryBeginning Kindle Hackery
Beginning Kindle Hackery
 
python into.pptx
python into.pptxpython into.pptx
python into.pptx
 
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donatRaspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
Raspberry pi: Aprende a programar en raspberry pi con python por wolfram donat
 
Python Programming1.ppt
Python Programming1.pptPython Programming1.ppt
Python Programming1.ppt
 
PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdf
 
Learn raspberry pi programming with python
Learn raspberry pi programming with pythonLearn raspberry pi programming with python
Learn raspberry pi programming with python
 
Python overview
Python overviewPython overview
Python overview
 
a glance at computer programming
a glance at computer programminga glance at computer programming
a glance at computer programming
 
Python Tutorials.pptx
Python Tutorials.pptxPython Tutorials.pptx
Python Tutorials.pptx
 

Mais de Krishna Sangeeth KS

Mais de Krishna Sangeeth KS (16)

Bringing back Vangogh
Bringing back VangoghBringing back Vangogh
Bringing back Vangogh
 
Intro to BigData , Hadoop and Mapreduce
Intro to BigData , Hadoop and MapreduceIntro to BigData , Hadoop and Mapreduce
Intro to BigData , Hadoop and Mapreduce
 
Solving graph problems using networkX
Solving graph problems using networkXSolving graph problems using networkX
Solving graph problems using networkX
 
Lvc
LvcLvc
Lvc
 
Round 1 gnosis
Round 1 gnosisRound 1 gnosis
Round 1 gnosis
 
Lvc
LvcLvc
Lvc
 
Anti Counterfeit System using QR codes and Various other applications
Anti Counterfeit System using QR codes and Various other applicationsAnti Counterfeit System using QR codes and Various other applications
Anti Counterfeit System using QR codes and Various other applications
 
Automatic web monitoring & retrieval system
Automatic web monitoring & retrieval systemAutomatic web monitoring & retrieval system
Automatic web monitoring & retrieval system
 
Written round
Written roundWritten round
Written round
 
Visual connect
Visual connectVisual connect
Visual connect
 
Supertheme
SuperthemeSupertheme
Supertheme
 
Gnosis quiz 2k10 dry1
Gnosis quiz 2k10 dry1Gnosis quiz 2k10 dry1
Gnosis quiz 2k10 dry1
 
Dry 2
Dry 2Dry 2
Dry 2
 
Choice round
Choice roundChoice round
Choice round
 
Gnosis quiz 2k10 dry1
Gnosis quiz 2k10 dry1Gnosis quiz 2k10 dry1
Gnosis quiz 2k10 dry1
 
Gnosis Quiz 2k10 Prelims
Gnosis Quiz  2k10 PrelimsGnosis Quiz  2k10 Prelims
Gnosis Quiz 2k10 Prelims
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

All things py

  • 1. All Things *Py* Random assorted stuff on Py from the world wide web thingy.
  • 2. Err. What’s in a name Mister? Roses are red, Violets are blue, Programming languages have Wonderful names. http://en.wikipedia.org/wiki/List_of_programming_languages
  • 3. “Over six years ago, in December 1989, I was looking for a "hobby" programming project that would keep me occupied during the week around Christmas. My office ... would be closed, but I had a home computer, and not much else on my hands. I decided to write an interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python’s Flying circus)” Guido writes
  • 4. Guido likes to work even during Christmas. You heard it right. Python have got nothing to do with snakes or snake charmers. Python is not a new language. It’s been around for a while and battle tested. & the curious case of beard. http://www.wired.com/2012/06/beard-gallery/
  • 5. Forgot to ask. What is your Python?
  • 6. Is this your Python?
  • 7. Python lives in JVM too.
  • 8. .NET and open source :O
  • 9. One Self eating snake to rule them all.
  • 13. This is supposed to be funny.
  • 14. My bad. The Anaconda distribution of Python for real.
  • 15. Cpython* Jython. IronPython PyPy. *Not to be confused with Cython Implementations of Python
  • 16. Q: Is Python interpreted or compiled ? What if someone asks you?
  • 17. A: Well. It depends on the context. What do you do when you are not sure of the answer or just want to evade the question completely?
  • 18. when the guy who asked the question is looking else where..
  • 20. The longer version. • IronPython: compiles to DLR trees which the DLR then compiles to CIL bytecode. What happens to the CIL bytecode depends upon which CLI VES you are running on, but Microsoft .NET, GNU Portable.NET and Novell Mono will eventually compile it to native machine code. • Jython: interprets Python sourcecode until it identifies the hot code paths, which it then compiles to JVML bytecode. What happens to the JVML bytecode depends upon which JVM you are running on. • PyPy: compiles to PyPy bytecode, which then gets interpreted by the PyPy VM until it identifies the hot code paths which it then compiles into native code, JVML bytecode or CIL bytecode depending on which platform you are running on. There is also a JIT compiling process that happens. • CPython: compiles to CPython bytecode which it then interprets. http://stackoverflow.com/questions/2998215/if-python-is-interpreted-what-are-pyc-files
  • 21. So the smart answer is. It depends on the context.!! Implementation details are key to the answer. CPython is byte code interpreted unless proved otherwise.
  • 22. How do you Learn Python?
  • 23. A byte of Python (http://www.swaroopch.com/notes/python/)
  • 27. The Myth of Genius Programmer
  • 28. Thank You And That’s how Pattambi Railway Station came to existence.! (A mallu joke so profound that people simply don’t get it unless you are a mallu.)