码迷,mamicode.com
首页 > 编程语言 > 详细

IDLE in Python (Ubuntu)

时间:2019-02-17 12:42:25      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:rect   ext   and   current   comm   alt+   hang   nbsp   get   

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)

标签:rect   ext   and   current   comm   alt+   hang   nbsp   get   

原文地址:https://www.cnblogs.com/code-saturne/p/10390609.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!