import ospath = str(input()) print(path)print(str(os.path.dirname(path)))
c:\\system\\apps\\Python.sds
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!