New submission from anatoly techtonik:

http://docs.python.org/3/library/subprocess.html

A common confusion is that result from subprocess calls in Python 3 is bytes, 
not string, and needs to be converted.

The problem is complicated because you need to know the encoding of 
input/output streams. This should be documented at least.

http://stackoverflow.com/questions/606191/convert-byte-array-to-python-string

----------
assignee: docs@python
components: Documentation
messages: 187982
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: subprocess docs lack info how to use output result
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17860>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to