Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. elif line.startswith('def'):
  2. if len(line.split(' ')) >= 2 and len(line.split(' ')[1].split('(')) >= 1 \
  3. and len(dir_name.split('/')) >= 1:
  4. tmp.append(tuple((line.split(' ')[1].split('(')[0], dir_name.split('/')[-1])))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement