Python Constructs

From NoskeWiki
Jump to: navigation, search

About

NOTE: This page is a daughter page of: Python


Here are some python constructs I forget:


Python constructs

Enumerated For Loop

for (i, item) in enumerate(item_arr):
  if i == 0:
    print 'This is first row'
  print str(item)