Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



listdictset
definition

lmylist = [ ]



def with a valuelmylist = ['value1','value2' ]

add itemlmylist.append = ['value3' ]

delete






2D listMatrix :  4 COLUMNs and X ROWs

convert a list to a list[x,0,0,0]
list_all_files_and_pages = get_file_from_html_folder(htmlpath, mydebug)
for i in range(len(list_all_files_and_pages)):
list_all_files_and_pages.insert(i,[list_all_files_and_pages[i],0,0,0])






Dictionary
definition

dict = { "key":"value" }



set a key value pairdict [ "key" ] = "value" 

...