Get Basename In Python Code For Snake