I am not sure which database you're using, but all the mainstream RDBMS is
server-client Architecture, when you're running one DML(including the
SELECT), the RDBMS setting up a server process, the query running in that
process instead of your client process, so I guess your problem can solved
in th
Τη Κυριακή, 27 Ιανουαρίου 2013 12:26:44 π.μ. UTC+2, ο χρήστης Michael Torrie
έγραψε:
> A tuple is one method for passing variables into the string formatter.
>
> So if you need to display something twice, just put in two "%s" in the
>
> format string, and pass it the same variable twice.
Yes i
On Sun, Jan 27, 2013 at 8:04 PM, Ferrous Cranus wrote:
> Okey, so far BUT i want the url linking to happen only for the URL column's
> value, and not for the hits column too. How do i apply the url link to the
> URL column's value only?
Step 1: Learn to read documentation.
Step 2: Learn to writ
Τη Κυριακή, 27 Ιανουαρίου 2013 11:08:15 π.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
> On Sun, Jan 27, 2013 at 8:04 PM, Ferrous Cranus wrote:
>
> > Okey, so far BUT i want the url linking to happen only for the URL column's
> > value, and not for the hits column too. How do i apply the url link
On Sun, Jan 27, 2013 at 8:16 PM, Ferrous Cranus wrote:
> Τη Κυριακή, 27 Ιανουαρίου 2013 11:08:15 π.μ. UTC+2, ο χρήστης Chris Angelico
> έγραψε:
>> On Sun, Jan 27, 2013 at 8:04 PM, Ferrous Cranus
>> wrote:
>>
>> > Okey, so far BUT i want the url linking to happen only for the URL
>> > column's
Τη Κυριακή, 27 Ιανουαρίου 2013 11:26:38 π.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
> You have been given a number of hints. Coding requires work, not just
>
> complaining that someone else's code "is not correct". Either pay
>
> someone to do the work, or do it yourself, but don't expect and
On 01/26, Matt Jones wrote:
The SQL part is not under control and getting it there requires more
development time than the management is willing to allocate. So this
would be a first step before refactoring that part. I'm aware that the
database might not notice that I don't want to receive the re
In article ,
Ben Finney wrote:
> Roy Smith writes:
>
> > but I happen to know its offset is 0 (i.e. GMT).
>
> As further fuel for your hatred: GMT is not the same thing as UTC+0, and
> never has been. (See the definitions of those two separate timezones for
> more; Wikipedia's articles are pr
In article ,
Ben Finney wrote:
> Roy Smith writes:
>
> > I have two datetimes. One is offset-naive. The other is offset-aware,
> > but I happen to know its offset is 0 (i.e. GMT).
>
> Do you know the timezone of the offset-naive value?
>
> Or is the above mixed up, and you mean âone is
On Friday, January 25, 2013 10:41:36 PM UTC-6, Angel wrote:
> I am changing the default font for a Tkinter application:
>
>
>
> class FuelControl(Tkinter.Frame):
>
> def __init__(self,master):
>
> self.version='0.02'
>
> self.font=tkFont.Font(family="Helvetica",size=18)
>
On 01/27/2013 02:04 AM, Ferrous Cranus wrote:
>[...]
> data = cur.fetchall()
> for row in data:
> print ( "" )
>
> for item in row:
> print( ''' href='http://www.%s
Hi
Question 3 Chp2 Page 76
Adds2 to a and assigns the result to b.
I have several attemtps,would like to check my answer.help please
At 80 i need all the help i can find.
Thanks George Smart
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Jan 27, 2013 at 11:29 AM, wrote:
> Hi
> Question 3 Chp2 Page 76
> Adds2 to a and assigns the result to b.
> I have several attemtps,would like to check my answer.help please
> At 80 i need all the help i can find.
> Thanks George Smart
> --
> http://mail.python.org/mailman/listinfo/python
On 01/27/2013 09:29 AM, george...@talktalk.net wrote:
> Hi
> Question 3 Chp2 Page 76
> Adds2 to a and assigns the result to b.
> I have several attemtps,would like to check my answer.help please
> At 80 i need all the help i can find.
> Thanks George Smart
Awesome that you are learning Python! In
On 27-Jan-2013 17:12, ru...@yahoo.com wrote:
On 01/27/2013 02:04 AM, Ferrous Cranus wrote:
[...]
data = cur.fetchall()
for row in data:
print ( "" )
for item in row:
Τη Κυριακή, 27 Ιανουαρίου 2013 6:12:59 μ.μ. UTC+2, ο χρήστης ru...@yahoo.com
έγραψε:
> On 01/27/2013 02:04 AM, Ferrous Cranus wrote:
>
> >[...]
>
> > data = cur.fetchall()
>
> > for row in data:
>
> > print ( "" )
>
> >
On Sun, Jan 27, 2013 at 1:05 PM, Κώστας Παπαδόπουλος
wrote:
> Τη Κυριακή, 27 Ιανουαρίου 2013 6:12:59 μ.μ. UTC+2, ο χρήστης
> ru...@yahoo.com έγραψε:
> > On 01/27/2013 02:04 AM, Ferrous Cranus wrote:
> >
> > >[...]
> >
> > > data = cur.fetchall()
> >
> > > for row in data:
>
Τη Κυριακή, 27 Ιανουαρίου 2013 8:36:42 μ.μ. UTC+2, ο χρήστης Joel Goldstick
έγραψε:
> On Sun, Jan 27, 2013 at 1:05 PM, Κώστας Παπαδόπουλος
> wrote:
>
> Τη Κυριακή, 27 Ιανουαρίου 2013 6:12:59 μ.μ. UTC+2, ο χρήστης ru...@yahoo.com
> έγραψε:
>
>
>
>
> > On 01/27/2013 02:04 AM, Ferrous Cranus
I am in a class and was just looking for different advice. This is the first
time iv ever tried to do this. That's all that iv taken from two chapters and
wondering how bad I did. I also like to learn. Thanks for everyones input
--
http://mail.python.org/mailman/listinfo/python-list
On 01/27/2013 11:44 AM, Κώστας Παπαδόπουλος wrote:
> This is not correct.
> the attribute is for url (row[0]) only, not for url and hits too.
>
> i want the following working code:
>
> =
> data = cur.fetchall()
> for row in data:
> ur
Hello George,
I found the book you're referring to via google (searching for: tony
gaddis starting out with python). The question is this:
3. Write assignment statements that perform the following operations
with the variables a,b and c.
a. Adds 2 to a and assigns the result to b
b. Multipli
d. Subtracts 8 from and assigns the result to a
this should read: "Subtracts 8 from b and assigns the result to a"
Funny how none of the assignments involve a variable c, despite the
question :)
--
http://mail.python.org/mailman/listinfo/python-list
Τη Κυριακή, 27 Ιανουαρίου 2013 9:12:16 μ.μ. UTC+2, ο χρήστης ru...@yahoo.com
έγραψε:
>
Yes indeed, there is no need to use a loop since i know the exact number of
items i'am expecting. Thanks you very much for clarifying this to me:
One last thing i want to ask you:
===
On 01/27/2013 03:24 PM, Κώστας Παπαδόπουλος wrote:
Τη Κυριακή, 27 Ιανουαρίου 2013 9:12:16 μ.μ. UTC+2, ο χρήστης ru...@yahoo.com
έγραψε:
>>
>
> Yes indeed, there is no need to use a loop since i know the exact
number of items i'am expecting. Thanks you very much for clarifying this
to me:
>
On 01/27/2013 01:50 PM, Mitya Sirenef wrote:
> On 01/27/2013 03:24 PM, Κώστας Παπαδόπουλος wrote:
>> Τη Κυριακή, 27 Ιανουαρίου 2013 9:12:16 μ.μ. UTC+2, ο χρήστης
>> ru...@yahoo.com έγραψε:
> >>
> >
> > Yes indeed, there is no need to use a loop since i know the exact
> number of items i'am e
I tried to write a simple battery monitor for laptops which shows normally just
the battery percentage, and when is clicked some more info.
If I click just one time it works, but if I click a second time, the additional
info Label seems to be empty (but it holds the dimension of the StringVar
co
On 01/27/2013 05:59 PM, leonix.po...@gmail.com wrote:
I tried to write a simple battery monitor for laptops which shows normally just
the battery percentage, and when is clicked some more info.
If I click just one time it works, but if I click a second time, the additional
info Label seems to b
On Sunday, January 27, 2013 4:59:20 PM UTC-6, leonix...@gmail.com wrote:
> I tried to write a simple battery monitor for laptops
> which shows normally just the battery percentage, and when
> is clicked some more info.
>
> If I click just one time it works, but if I click a second
> time, the addi
> On 26Jan2013 09:48, Matt Jones wrote:
> | It sounds like your real problem is with your SQL query... Is that part of
> | this problem under your control? Can you break the query into smaller,
> | quicker, pieces that you can run in a reasonable amount of time?
>
> Another option to investigate
On 27Jan2013 21:57, Jason Friedman wrote:
| > On 26Jan2013 09:48, Matt Jones wrote:
| > | It sounds like your real problem is with your SQL query... Is that part
of
| > | this problem under your control? Can you break the query into smaller,
| > | quicker, pieces that you can run in a reasonab
30 matches
Mail list logo