Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
pgzero /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
data
[ DIR ]
drwxr-xr-x
__init__.py
204
B
-rw-r--r--
__main__.py
39
B
-rw-r--r--
actor.py
7
KB
-rw-r--r--
animation.py
5.61
KB
-rw-r--r--
builtins.py
314
B
-rw-r--r--
clock.py
5.07
KB
-rw-r--r--
constants.py
828
B
-rw-r--r--
game.py
7.45
KB
-rw-r--r--
keyboard.py
1.56
KB
-rw-r--r--
loaders.py
6.58
KB
-rw-r--r--
music.py
2.47
KB
-rw-r--r--
ptext.py
17.96
KB
-rw-r--r--
rect.py
15.43
KB
-rw-r--r--
runner.py
3.42
KB
-rw-r--r--
screen.py
3.3
KB
-rw-r--r--
soundfmt.py
2.85
KB
-rw-r--r--
spellcheck.py
4.87
KB
-rw-r--r--
tone.py
5.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : keyboard.py
import re from warnings import warn from .constants import keys DEPRECATED_KEY_RE = re.compile(r'[A-Z]') PREFIX_RE = re.compile(r'^K_(?!\d$)') class Keyboard: """The current state of the keyboard. Each attribute represents a key. For example, :: keyboard.a is True if the 'A' key is depressed, and False otherwise. """ # The current key state. This may as well be a class attribute - there's # only one keyboard. _pressed = set() def __getattr__(self, kname): if DEPRECATED_KEY_RE.match(kname): warn( "Uppercase keyboard attributes (eg. keyboard.%s) are " "deprecated." % kname, DeprecationWarning, 2 ) kname = PREFIX_RE.sub('', kname) try: key = keys[kname.upper()] except AttributeError: raise AttributeError('The key "%s" does not exist' % key) return key.value in self._pressed def _press(self, key): """Called by Game to mark the key as pressed.""" self._pressed.add(key) def _release(self, key): """Called by Game to mark the key as released.""" self._pressed.discard(key) def __getitem__(self, k): if isinstance(k, keys): return k.value in self._pressed else: warn( "String lookup in keyboard (eg. keyboard[%r]) is " "deprecated." % k, DeprecationWarning, 2 ) return getattr(self, k) keyboard = Keyboard()
Close