SlideShare a Scribd company logo
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!

More Related Content

PDF
Lowcode: Redoing NativeBoost Portably
PPTX
ODP
Core Hackers of the Caribbean: The Curse of the Black Perl
PDF
Hcplphx920
PPTX
Practical F#
PDF
An introduction to go programming language
PPTX
Kotlin L → ∞
PDF
Simplify Localization with Design Pattern Automation
Lowcode: Redoing NativeBoost Portably
Core Hackers of the Caribbean: The Curse of the Black Perl
Hcplphx920
Practical F#
An introduction to go programming language
Kotlin L → ∞
Simplify Localization with Design Pattern Automation

Viewers also liked (20)

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

Similar to All things py (20)

PDF
session5-Getting stated with Python.pdf
PPTX
Python Tutorial | Python Programming Language
PPTX
Introduction python
PPTX
Introduction to python for Beginners
ZIP
An Introduction to PyPy
PPT
1-ppt-python.ppt
PDF
intro.pptx (1).pdf
PPTX
Python Programming Draft PPT.pptx
PPTX
Phython Programming Language
PPTX
An Introduction To Python - Python, Print()
PPT
Python for students step by step guidance
PPTX
Chapter - 1.pptx
PPTX
python unit2.pptx
PPT
Python programming-2-2048 (30 files merged).ppt
PPT
Python programming notes all in one python ppt
PPTX
Basic Python Introduction Lecture 1.pptx
PDF
introduction of python in data science
PPTX
Python tutorial for beginners - Tib academy
PPTX
IPT 2.pptx
PPTX
Lecture 1.pptx
session5-Getting stated with Python.pdf
Python Tutorial | Python Programming Language
Introduction python
Introduction to python for Beginners
An Introduction to PyPy
1-ppt-python.ppt
intro.pptx (1).pdf
Python Programming Draft PPT.pptx
Phython Programming Language
An Introduction To Python - Python, Print()
Python for students step by step guidance
Chapter - 1.pptx
python unit2.pptx
Python programming-2-2048 (30 files merged).ppt
Python programming notes all in one python ppt
Basic Python Introduction Lecture 1.pptx
introduction of python in data science
Python tutorial for beginners - Tib academy
IPT 2.pptx
Lecture 1.pptx
Ad

More from Krishna Sangeeth KS (16)

PPTX
Bringing back Vangogh
PPTX
Intro to BigData , Hadoop and Mapreduce
PPTX
Solving graph problems using networkX
PPT
Round 1 gnosis
PPTX
Anti Counterfeit System using QR codes and Various other applications
PPTX
Automatic web monitoring & retrieval system
PPTX
Written round
PPTX
Visual connect
PPTX
PPTX
Gnosis quiz 2k10 dry1
PPTX
Choice round
PPTX
Gnosis quiz 2k10 dry1
PPTX
Gnosis Quiz 2k10 Prelims
Bringing back Vangogh
Intro to BigData , Hadoop and Mapreduce
Solving graph problems using networkX
Round 1 gnosis
Anti Counterfeit System using QR codes and Various other applications
Automatic web monitoring & retrieval system
Written round
Visual connect
Gnosis quiz 2k10 dry1
Choice round
Gnosis quiz 2k10 dry1
Gnosis Quiz 2k10 Prelims

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Encapsulation_ Review paper, used for researhc scholars
Programs and apps: productivity, graphics, security and other tools
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf

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.)