This page is designed to give you a list of concrete examples demonstrating idiomatic (Pythonic) code.
Many of the examples were taken from the following resources:
$(document).ready(function() { | |
(function(){ | |
//cache variables | |
var iw = $('html').width(), | |
wh = screen.height; | |
alert('screen height: '+ wh +', inner-width: ' + iw); | |
if (wh == 768 || wh == 1024) { |
This page is designed to give you a list of concrete examples demonstrating idiomatic (Pythonic) code.
Many of the examples were taken from the following resources: