如题,最简例子:
将下面内容保存为 python.md:
## 模块 string
```python
def remove_punctuation(s):
s_without_punct = ""
for letter in s:
if letter not in string.punctuation:
s_without_punct += letter
return s_without_punct
```
然后用下面命令判断文件类型:xdg-mime query filetype python.md
text/x-script.python
不知这样的文件要怎样才能正常处理呢?
--
FROM 61.140.124.*