Js2Py
js2py
Introduction
JavaScript for Python Programmers
ΒΆ
Tutorial:
Introduction
EuroPython 2012 Tutorial
Time, date and location
Installed software
Timetable
Is this tutorial for me?
Gotcha quiz
Gotcha answers
Counters example
Goal
counters.html
counters.css
counters.js
Counters discussion
Namespace
Create
Global object
Counter class
Counter properties
Onload
Delegation
Closing namespace
Counters memory
Memory
IE memory leaks
Garbage collection
Residue
Reclaiming memory
Summary
Reference:
What do you need to know in Python
Global and local scopes
Default scope
Functions passed as parameters
Method binding
Closures
Star arguments
Objects
Late news
Similarities
Differences
JavaScript objects
Like Python classes
Custom item methods
On metaclass
Never instantiated
Conclusion
Functions
Defining a function
Calling a function
Functions and
this
Pitfalls
Methods and
this
Explicit this
Classes
Point in Python
Point in JavaScript
Advanced features
Resources:
Downloads
Search Page
Introduction
Introduction
EuroPython 2012 Tutorial
Gotcha quiz
Gotcha answers
Counters example
Counters discussion
Counters memory
What do you need to know in Python
Objects
JavaScript objects
Functions
Functions and
this
Classes
Downloads
JavaScript for Python Programmers