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
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
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 ""&qu
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
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
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
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 know a bit about codin