change_dir.py 179 B

12345678910111213
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. '''
  4. @Auther :liuyuqi.gov@msn.cn
  5. @Time :2018/7/4 16:55
  6. @File :change_dir.py
  7. '''
  8. import os
  9. print(os.getcwd())
  10. os.chdir(os.getcwd())