I am trying to put information available on the web, and to do so I am using string formatting:
fields = """{"fname" : %s, "lname" : %s, "email" : %s, "deptid" : deptid, "active" : active, "sentient" : sentient}""", (fname, lname, email)
with various values for each of the three variables.
不管怎么说,当我试图看到田野时,它仍然显示成百分数! 我实际上如何取而代之?