Obtener camino al directorio actual Python
import os
os.path.abspath(os.getcwd())
A
import os
os.path.abspath(os.getcwd())
from os import getcwd # only import "getcwd" from os
getcwd() # Get the current working directory