- 博客(3)
- 收藏
- 关注
原创 Linux下和windows下opendds信息互通
** Linux下和windows下opendds信息互通**1、 首先保证两个平台下的TAO+ACE和opendds的版本保持一致2、 修改Linux上 /etc/hosts 将127.0.0.1改成192.168.10.120(Linux上的IP地址)3、 过程:1)首先在Linux上执行:$DDS_ROOT/bin/DCPSInfoRepo -...
2019-07-09 14:09:02
830
原创 os.path.exists()的用法
os.path.exists(path) 如果path存在,返回True;如果path不存在,返回False。
2018-09-17 12:01:41
35793
转载 我学python之路:pprint模块
pprint能够打印python的数据结构,看起来更直观。 PrettyPrinter类有三个参数:indent, depth, width indent:展示数据时,缩进多少(每个递归层) depth:最多显示层级 width:展示一行宽度,默认80 调用 pp=pprint.PrettyPrinter(indent=10) pp.pprint(stuff)对每层递归...
2018-09-17 12:00:54
312
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅