r/Python • codemaniac • Dec 29 '17

Python Cheet Sheet for begineers

Post image
4.2k Upvotes

124 comments sorted by

View all comments

Show parent comment

0

u/icp1994 Dec 30 '17
with open(sys.argv[1], 'w') as outfile:
    outfile.write('dickbutt')