Tuesday, September 16, 2008

Stuff i learned today

Python List.extend :
  • [list_object].extend(iterable) extends the list object by appending an iterable object elemenets to the list.
Example:
l = list()
l.append('123')
iter = '123'
l.extend(iter)
print l
# this will print: ['123', '1', '2', '3']

C++ Program life-cycle:
             the figure below explaining the typical compiled language program life-cycle, i learened it today while revisiting c++ using a nice book called Teach yourself C++ in one houre a day.
             




No comments: