Re: Codig style: " or """

2005-04-13 Thread Steve Holden
Sara Khalatbari wrote: Hi! Suppose you're writing a module & writing the definition of each function in that module in " or """. for example: a) "This function does this & that" or: b) """This function does blah blah blah""" What are the differences between " and """ ? I'm using gedit & I wanna k

Re: Codig style: " or """

2005-04-13 Thread Steven Bethard
Sara Khalatbari wrote: Hi! Suppose you're writing a module & writing the definition of each function in that module in " or """. for example: a) "This function does this & that" or: b) """This function does blah blah blah""" What are the differences between " and """ ? I'm using gedit & I wanna k

RE: Codig style: " or """

2005-04-13 Thread Harper, Gina
Try PEP 8, Guido's Style Guide: http://www.python.org/peps/pep-0008.html Good luck with your boss! *gina* -Original Message- From: Sara Khalatbari [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:13 AM To: Python List Subject: Codig style: " or """ Hi! Suppose you're writi

Re: Codig style: " or """

2005-04-13 Thread Bill Mill
On 4/13/05, Sara Khalatbari <[EMAIL PROTECTED]> wrote: > Hi! > > Suppose you're writing a module & writing the > definition of each function in that module in " or > """. > for example: > a) "This function does this & that" > or: > b) """This function does blah blah blah""" > > What are the diff

Re: Codig style: " or """

2005-04-13 Thread Will McGugan
Sara Khalatbari wrote: Hi! Suppose you're writing a module & writing the definition of each function in that module in " or """. for example: a) "This function does this & that" or: b) """This function does blah blah blah""" What are the differences between " and """ ? I'm using gedit & I wanna k

Re: Codig style: " or """

2005-04-13 Thread Roy Smith
Sara Khalatbari <[EMAIL PROTECTED]> wrote: >What are the differences between " and """ ? The triple-quote form lets you write multi-line quoted strings: """This function does a lot of neat stuff. It takes many lines of text to describe what it does. Multiple paragraphs, even. """ >To be very