Skip to content

Instantly share code, notes, and snippets.

View VBPROGER's full-sized avatar
🖥️
Coding

VB PROGER VBPROGER

🖥️
Coding
View GitHub Profile
@VBPROGER
VBPROGER / template.py
Last active October 14, 2022 20:08
Python file template for begginers.
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# template.py: Python file template for begginers.
def cli():
pass # Your main function here!
def test():
pass # Your test function here!
@VBPROGER
VBPROGER / sysexec.py
Created October 14, 2022 20:04
Fastly execute shell codes without quitting!
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# sysexec.py: Fastly execute shell codes without quitting!
import subprocess, traceback, os
while True:
try:
x = str(input('~> ') or '')
if x: subprocess.run(x.split())