IDLE in Python (Ubuntu)
Posted kaiming
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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‘
以上是关于IDLE in Python (Ubuntu)的主要内容,如果未能解决你的问题,请参考以下文章