Re: Vedr: What does """ means in python?

2014-02-10 Thread Duncan Booth
Gisle Vanem wrote: > Regrading handy uses of ''', you learned me one trick when using Pythonÿ > code in a Windows .bat file: > > rem = ''' > @echo off > echo This is batch > \python32\python %0 > echo All done > exit /b > rem ''' > import sys > print("This is Python") > for i,p in enum

Vedr: What does """ means in python?

2014-02-08 Thread Gisle Vanem
  Gisle V. "Computers are useless. They can only give answers" --Pablo Picasso Chris Angelico wrote: > For SQL? Ignore the extra spaces, it's a free-form language. The only > reason to consider dedent() would be if you're worried about how your > log files will look. The actual execution of

Re: What does """ means in python?

2014-02-08 Thread Chris Angelico
On Sun, Feb 9, 2014 at 6:55 AM, Walter Hurry wrote: > When I asked (here) about this a while ago, some kind soul suggested > textwrap.dedent. > > Any advice as to the pros and cons of the respective approaches (esp. for > SQL)? For SQL? Ignore the extra spaces, it's a free-form language. The on

Re: What does """ means in python?

2014-02-08 Thread Walter Hurry
quot;""SELECT name, phone_number >> FROM coworkers >> WHERE name=%s >> AND clue > %s >> LIMIT 5""", >>(name, clue_threshold)) >> >> What do

Re: What does """ means in python?

2014-02-08 Thread Roy Smith
FROM coworkers > WHERE name=%s > AND clue > %s > LIMIT 5""", >(name, clue_threshold)) > > What does """ means in python? This is what's known as a "

What does """ means in python?

2014-02-08 Thread Sam
LIMIT 5""", (name, clue_threshold)) What does """ means in python? -- https://mail.python.org/mailman/listinfo/python-list