ponential forms for errors, specially when
starting to play with exponents: 6.67430E-11 ± 1.5E-15.
--
Ángel GR
--
https://mail.python.org/mailman/listinfo/python-list
Στις 20/8/2010 8:22 πμ, ο/η Cameron Simpson έγραψε:
[...snip...]
| Why does the page variable which is actually a string needs to be a
| tuple or a list and not just as a string which is what it actually
| is?
With regard to the "%" operator, it considers the string on the left to
be a format s
Στις 19/8/2010 6:58 μμ, ο/η Tim Chase έγραψε:
It can be written as a non-3-quote string, you just have to escape the
inner quotes (single & double) and the backslash to be seen:
name = 'My name is "Nikos" and I\'m from Thessaloniki\\Greece'
name = "My name is \"Nikos\" and I'm from Thessal
Στις 19/8/2010 2:32 μμ, ο/η Tim Chase έγραψε:
(1,) + (2,)
to return "(1,2)"
This is actually joining two single element tuples (1,) and (2, ) to a
new bigger tuple of two elements, correct?
--
http://mail.python.org/mailman/listinfo/python-list
Στις 19/8/2010 2:32 μμ, ο/η Tim Chase έγραψε:
So Python needs a way to express that you *explicitly* mean "this is
one of those rare one-element tuples, not an order of operations
prioritization":
(1,) + (2,)
to return "(1,2)"
Yes i can see the difference now!! I just had to look at the big
Στις 18/8/2010 7:31 πμ, ο/η Cameron Simpson έγραψε:
On 17Aug2010 20:15, Νίκος wrote:
| ===
| cursor.execute( ''' SELECT host, hits, date FROM visitors WHERE page =
| '%s' ORDER BY date DESC ''' % (page) )
| ===
|
| Someone told me NOT to d
Στις 3/8/2010 10:39 πμ, ο/η Chris Rebert έγραψε:
Please tell me the difference between 3 things.
a) Asking Notepad++(my editor) to save all my python scripts as UTF-8
without BOM.
That affects what encoding the text file comprising the source code
itself is in.
What does this practically mea
Found it...and will share.
You need to install the "X Software Developement" library (standard
only is enough) from you Fedora distro...not sure what will be required
on other Linux distro's.
Worked like a charm...thanks Peter.
gerry rodman
http://www.gerryrodman.com/
--
http://mail.python.org
Peter,
Can you share the name of the library on the Fedora distro?
thx,
gerry rodman
http://www.gerryrodman.com/
[EMAIL PROTECTED] wrote:
> Thanks for that tip
>
> Following a dialogue in that discussion group it is now working. The
> problem was that I didn't have the right jpeg library inst