摘要:
在ubuntu上搞python,执行了apt-get remove python,结果删除了一大堆的东西,搞得重启之后桌面上空白的啥也没有。后来安装了相关内容还是修复了:进入字符终端 sudo apt-get install ubuntu-desktop sudo apt-get ins... 阅读全文
摘要:
在linux中,直接写了一个python文件,要想直接运行,要在第一行导入python :#!/usr/bin/python,指定用此程序运行该文件。否则会报错:Warning: unknown mime-type for "Hello World!" -- using "application/o... 阅读全文