Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- print(os.getlogin()) #Return person's username who's logged in.
- os.system("ping google.com") #Type in cmd. (If you're on windows.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement