/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py 给出打开文档代码
时间: 2023-11-17 10:06:00 浏览: 198
打开文件代码
```python
# 打开/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py文档的代码如下:
import os
import subprocess
file_path = "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py"
subprocess.call(["sudo", "gedit", file_path])
```
--相关问题--:
1. 如何在Ubuntu中安装ROS?
2. 如何更新ROS
阅读全文