What does """ means in python?

Sam lightaiyee at gmail.com
Sat Feb 8 15:02:54 CET 2014


For string, one uses "" to represent string. Below is a code fragment that uses """ instead.

cursor.execute("""SELECT name, phone_number 
                  FROM coworkers 
                  WHERE name=%s 
                  AND clue > %s 
                  LIMIT 5""",
               (name, clue_threshold))

What does """ means in python?



More information about the Python-list mailing list