string - What does %c character formatting do in Python and it's use? -


going through string formatting operations can't wrap head %c operation , use.

learn python hard way, gave following example makes little sense without proper context.

"%c" % 34 == '"'      

here link if wants check out: http://learnpythonthehardway.org/book/ex37.html

it gives character represented ascii code "34".

if ascii table notice 34 = "


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -