Python получить текущее местоположение файла
import os
os.path.dirname(os.path.abspath(__file__))
Proud Polecat
import os
os.path.dirname(os.path.abspath(__file__))
request.url
# => "http://localhost:3000/lists/7/items"
request.path
# => "/lists/7/items"
echo $PWD
scriptdir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
type -a <command>