IDLE in Python (Ubuntu)

To lauch IDLE in the Current Woking Directory

>>> usr/bin/idle3

 

Alt + n  # next command

Alt+p  # previous command

 >>> import os  # os module
>>> os.getcwd() # get Current Working Directory
'/home/kaiming/Documents/Python'

>>> os.chdir('/home/kaiming/Documents/Python/test') # Change DIRectory
>>> os.getcwd()
'/home/kaiming/Documents/Python/test'

posted @ 2019-02-17 11:59  kaiming_ai  阅读(162)  评论(0编辑  收藏  举报