Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103124 > unrolled thread

Re: TypeError: not all arguments converted during string formatting

Started byGanesh Pal <ganesh1pal@gmail.com>
First post2016-02-18 21:12 +0530
Last post2016-02-18 21:12 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: TypeError: not all arguments converted during string formatting Ganesh Pal <ganesh1pal@gmail.com> - 2016-02-18 21:12 +0530

#103124 — Re: TypeError: not all arguments converted during string formatting

FromGanesh Pal <ganesh1pal@gmail.com>
Date2016-02-18 21:12 +0530
SubjectRe: TypeError: not all arguments converted during string formatting
Message-ID<mailman.7.1455810148.2289.python-list@python.org>
On Wed, Feb 17, 2016 at 7:32 PM, Chris Angelico <rosuav@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 :)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web