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!

All things py

  • 1.
    All Things *Py* Randomassorted stuff on Py from the world wide web thingy.
  • 2.
    Err. What’s ina 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 yearsago, 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 towork 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 yourPython?
  • 7.
  • 8.
    .NET and opensource :O
  • 9.
    One Self eatingsnake to rule them all.
  • 10.
  • 11.
  • 12.
  • 13.
    This is supposedto be funny.
  • 14.
    My bad. TheAnaconda distribution of Python for real.
  • 15.
    Cpython* Jython. IronPython PyPy. *Not to beconfused with Cython Implementations of Python
  • 16.
    Q: Is Pythoninterpreted or compiled ? What if someone asks you?
  • 17.
    A: Well. Itdepends 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 guywho asked the question is looking else where..
  • 19.
  • 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 smartanswer is. It depends on the context.!! Implementation details are key to the answer. CPython is byte code interpreted unless proved otherwise.
  • 22.
    How do youLearn Python?
  • 23.
    A byte ofPython (http://www.swaroopch.com/notes/python/)
  • 24.
  • 25.
  • 26.
  • 27.
    The Myth ofGenius Programmer
  • 28.
    Thank You AndThat’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.)
  • 29.