🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #319

mysql + python

#319
From: Ogryzek
Date: Tue, 10 Dec 2002 09:28
12 lines
1254 bytes
Witam
Mam taki skrypt
    max_id = "select max(id) from pub"
    max_id_cursor = db.cursor()
    max_id_cursor.execute(max_id)
    result = max_id_cursor.fetchall()
i tutaj zaczynaja sie schody. Chcialbym wyciagac ta jedna wartosc i dodawac
1. Probowalem juz roznych sposobow, ale nie moge sie dobrac do tej wartosci.
Za wszelkie sugestie z gory dzieki

Pozdrawiam
Lukasz Slowik alias Ogryzek
Technical Details
Message-ID: <at4cc9$fs7$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.icm.edu.pl!news.onet.pl!not-for-mail
From: "Ogryzek" <slukas5@poczta.onet.pl>
Newsgroups: pl.comp.lang.python
Subject: mysql + python
Date: Tue, 10 Dec 2002 10:28:41 +0100
Organization: news.onet.pl
Lines: 15
Sender: slukas5@poczta.onet.pl@228-mia-4.acn.waw.pl
Message-ID: <at4cc9$fs7$1@news.onet.pl>
NNTP-Posting-Host: 228-mia-4.acn.waw.pl
X-Trace: news.onet.pl 1039512777 16263 212.76.47.228 (10 Dec 2002 09:32:57 GMT)
X-Complaints-To: abuse@onet.pl
NNTP-Posting-Date: 10 Dec 2002 09:32:57 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit