Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filePath = r'C:\Users\tonyy\Documents\maya\scripts\maya_instancer_component\workers\16472'.replace('\\','/')+'/cmdOut.txt'
- with open(filePath,'r') as optFile:
- lines = optFile.read().splitlines()
- print lines[-1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement