Hi everyone,
I am working on a project (just started) in PYTHON and I want to create a keylogger for 2 languages english and greek. For this I have created the below (it is under "constructi on") code.

"""
from pynput.keyboard import Key, Listener
from langdetect import detect
from pynput import keyboard
def on_press(key):
global string
...