Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Python open_text示例
编程语言:
Python
命名空间/包名称:
psutil._common
方法/功能:
open_text
hotexamples.com的示例:
2
Python open_text - 已找到2个示例
。这些是从开源项目中提取的最受好评的
psutil._common.open_text
现实Python示例。您可以评价示例,以帮助我们提高示例质量。
示例#1
0
显示文件
def test_open_text(self): with open_text(__file__) as f: self.assertEqual(f.mode, 'rt')
示例#2
0
显示文件
文件:
test_misc.py
项目:
giampaolo/psutil
def test_open_text(self): with open_text(__file__) as f: self.assertEqual(f.mode, 'rt')