@Lavrynenko/

GetPass - пример

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.023590660373614902","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IGdldHBhc3MKcGFzc3dvcmQgPSBnZXRwYXNzLmdldHBhc3MoJ1Bhc3M6ICcpCmlmIHBhc3N3b3JkID09ICcxMjM0JzoKICBwcmludCgnT2shJykKZWxpZiBwYXNzd29yZCAhPSAnMTIzNCc6CiAgcHJpbnQoJ1Byb2JsZW0gOiggJyk="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
import getpass
password = getpass.getpass('Pass: ')
if password == '1234':
  print('Ok!')
elif password != '1234':
  print('Problem :( ')