Skip to content

Instantly share code, notes, and snippets.

View aminecs's full-sized avatar
🤗
just happy to be here

Mohamed Amine Belabbes aminecs

🤗
just happy to be here
View GitHub Profile
### Keybase proof
I hereby claim:
* I am aminecs on github.
* I am aminework (https://keybase.io/aminework) on keybase.
* I have a public key ASANyiEy65co3U_qP1XsQ4PX88-noiJn1_RJN4sU7Qwqjwo
To claim this, I am signing this object:
@aminecs
aminecs / goto.py
Created May 6, 2020 15:26 — forked from georgexsh/goto.py
python goto with system trace function
import sys
def j(lineno):
frame = sys._getframe().f_back
called_from = frame
def hook(frame, event, arg):
if event == 'line' and frame == called_from:
try:
frame.f_lineno = lineno