TypeError: not all arguments converted during string formatting
Ganesh Pal
ganesh1pal at gmail.com
Thu Feb 18 10:42:26 EST 2016
More information about the Python-list mailing list
Thu Feb 18 10:42:26 EST 2016
- Previous message (by thread): TypeError: not all arguments converted during string formatting
- Next message (by thread): ANN: psutil 4.0.0 released - how to get "real" process memory and environ in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 :)
- Previous message (by thread): TypeError: not all arguments converted during string formatting
- Next message (by thread): ANN: psutil 4.0.0 released - how to get "real" process memory and environ in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list