TypeError: not all arguments converted during string formatting
Ganesh Pal
ganesh1pal at gmail.com
Thu Feb 18 10:42:26 EST 2016
On Wed, Feb 17, 2016 at 7:32 PM, Chris Angelico <rosuav at gmail.com> wrote:
> The print statement/function happily accepts multiple arguments, and
> will join them according to a set of predefined rules. The logging
> functions don't have those rules, so they take one message and some
> optional parameters. Try this, instead:
>
> logging.info("%r %r %r", out, err, ret)
>
Thanks this solved my issue :)
More information about the Python-list
mailing list