daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     global class_dict
  2.  
  3.     for row in unparsed_list:
  4.         if row[0]=='':
  5.             class_info = [
  6.                 return_class_info(get_class_number, row[1]),
  7.                 return_class_info(get_class_name, row[1])
  8.             ]
  9.             ccnum = float(class_info[0])  # ccnum = current class name
  10.             class_dict[ccnum] = HSCC()
  11.             class_dict[ccnum].class_number = class_info[0]
  12.             class_dict[ccnum].class_name = class_info[1]
  13.             print(class_dict[ccnum].class_info())
  14.         else:
  15.             class_dict[ccnum].class_entries[row[0]] = class_dict[ccnum].HSCE()
  16.             class_dict[ccnum].class_entries[row[0]].entry_num = row[0]
  17.            
  18.             print(class_dict[ccnum].class_entries[row[0]].entry_num)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top