首页 > 编程语言 > 详细

IDLE in Python (Ubuntu)

时间:2019-02-17 12:54:35      阅读:197      评论:0      收藏:0      [点我收藏+]

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)

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!