Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1.  # convert memo into m_client format
  2. temp_memo = row[client_index['MEMO']]
  3. if row[client_index['MEMO']] == '\\N':    
  4.     client_dict['memo'] = temp_memo.replace('\\N', 'その他の仕事: ' + row[client_index['SHOKUGYO_OTHER']])
  5. else:
  6.     client_dict['memo'] = temp_memo.replace(temp_memo, temp_memo + ', ' + 'その他の仕事: ' + row[client_index['SHOKUGYO_OTHER']])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement