[python] failure notice

azurIt azurit na pobox.sk
Pondělí Duben 2 13:09:11 CEST 2007


aj vam chodi po kazdom prispevku takyto mail ?




	-----Pôvodná správa-----
	Od: [mailto:mailserver na argh.cz]
	Komu: azurit na pobox.sk
	Predmet: failure notice
	
	
	I'm afraid I wasn't able to deliver your message to the following addresses.
	This is a permanent error; I've given up. Sorry it didn't work out.
	
	<<python na py.cz>>:
	User "<python na py.cz>" does not exist!
	
	--- Below this line is a copy of the message.
	
	x-dam-info: 2007-04-02T13:10:09
	Received: from hugo.zagamma.cz ([194.228.3.217]) by dugr.cz with Microsoft SMTPSVC(6.0.3790.1830);
	Mon, 2 Apr 2007 13:08:51 +0200
	Received: from hugo.zagamma.vpn (softdnserr [::ffff:127.0.0.1])
	by hugo.zagamma.cz with esmtp; Mon, 02 Apr 2007 13:08:39 +0200
	id 0029483C.4610E437.00006F66
	Received: from paegas3.mail-atlas.net (paegas3.mail-atlas.net
	[::ffff:212.47.13.211])
	by hugo.zagamma.cz with esmtp; Mon, 02 Apr 2007 13:08:36 +0200
	id 00278115.4610E435.00006F11
	Old-Received-SPF: none (Address does not pass the Sender Policy Framework)
	SPF=HELO; sender=paegas3.mail-atlas.net;
	remoteip=::ffff:212.47.13.211; remotehost=paegas3.mail-atlas.net;
	helo=paegas3.mail-atlas.net; receiver=hugo.zagamma.cz;
	Old-Received-SPF: none (Address does not pass the Sender Policy Framework)
	SPF=MAILFROM; sender=azurit na pobox.sk;
	remoteip=::ffff:212.47.13.211; remotehost=paegas3.mail-atlas.net;
	helo=paegas3.mail-atlas.net; receiver=hugo.zagamma.cz;
	Received: from KNEDLIK ([10.0.0.44]) by paegas3.mail-atlas.net
	for python na py.cz; Mon, 2 Apr 2007 13:04:36 +0200
	From: "azurIt" <azurit na pobox.sk>
	To: python na py.cz
	Message-ID: <1a165106f7ec41538e27e656b46aed95 na pobox.sk>
	Date: Mon, 02 Apr 2007 13:04:35 +0200
	X-Priority: 3 (Normal)
	MIME-Version: 1.0
	Old-Received-SPF: none (Address does not pass the Sender Policy Framework)
	SPF=FROM; sender=azurit na pobox.sk; remoteip=::ffff:212.47.13.211;
	remotehost=paegas3.mail-atlas.net; helo=paegas3.mail-atlas.net;
	receiver=hugo.zagamma.cz;
	Subject: Re: [python] (no subject
	X-BeenThere: python na py.cz
	X-Mailman-Version: 2.1.9rc1
	Precedence: list
	Reply-To: Konference PyCZ <python na py.cz>
	List-Id: Konference PyCZ <python.py.cz>
	List-Unsubscribe: <http://www.py.cz/mailman/listinfo/python>,
	<mailto:python-request na py.cz?subject=unsubscribe>
	List-Archive: <http://www.py.cz/pipermail/python>
	List-Post: <mailto:python na py.cz>
	List-Help: <mailto:python-request na py.cz?subject=help>
	List-Subscribe: <http://www.py.cz/mailman/listinfo/python>,
	<mailto:python-request na py.cz?subject=subscribe>
	Content-Type: text/plain; charset="iso-8859-2"
	Content-Transfer-Encoding: quoted-printable
	Sender: python-bounces na py.cz
	Errors-To: python-bounces na py.cz
	Return-Path: python-bounces na py.cz
	X-OriginalArrivalTime: 02 Apr 2007 11:08:51.0890 (UTC) FILETIME=[4BBFB120:01C77517]
	
	pred tym vsetky je samozrejme nutne urobit import modulu:
	
	import _mysql, _mysql_exceptions
	
	azur
	
	
	>-----P=F4vodn=E1 spr=E1va-----
	>Od: azurIt [mailto:azurit na pobox.sk]
	>Komu: python na py.cz
	>Predmet: Re: [python] (no subject
	>
	>
	>ahoj,
	>
	>MySQL modul stiahnes tu:
	>http://mysql-python.sourceforge.net/
	>
	>mala ukazka ako to potom stade vytiahnes:
	>
	>db_conn =3D _mysql.connect(host=3D"localhost", user=3D"login", passwd=3D"h=
	eslo", db=3D"databaza")
	>db_conn.query("SELECT name FROM users")
	>mysql_result =3D db_conn.store_result().fetch_row(maxrows=3D0)
	>db_conn.close()
	>print mysql_result
	>
	>azur
	>
	>
	>>-----P=F4vodn=E1 spr=E1va-----
	>>Od: xxxyyyxxx [mailto:xyz007 na centrum.cz]
	>>Komu: python na py.cz
	>>Predmet: [python] (no subject
	>>
	>>
	>>Ahoj, mam nasledujici databazi:
	>>--------------------------------------------------------------------
	>>CREATE TABLE `users` (
	>>`uid` int(10) unsigned NOT NULL default '0',
	>>`name` varchar(60) NOT NULL default '',
	>>`pass` varchar(32) NOT NULL default '',
	>>`mail` varchar(64) default '',
	>>`mode` tinyint(4) NOT NULL default '0',
	>>`sort` tinyint(4) default '0',
	>>`threshold` tinyint(4) default '0',
	>>`theme` varchar(255) NOT NULL default '',
	>>`signature` varchar(255) NOT NULL default '',
	>>`created` int(11) NOT NULL default '0',
	>>`access` int(11) NOT NULL default '0',
	>>`login` int(11) NOT NULL default '0',
	>>`status` tinyint(4) NOT NULL default '0',
	>>`timezone` varchar(8) default NULL,
	>>`language` varchar(12) NOT NULL default '',
	>>`picture` varchar(255) NOT NULL default '',
	>>`init` varchar(64) default '',
	>>`data` longtext,
	>>PRIMARY KEY  (`uid`),
	>>UNIQUE KEY `name` (`name`),
	>>KEY `access` (`access`)
	>>) ENGINE=3DMyISAM DEFAULT CHARSET=3Dlatin1;
	>>
	>>INSERT INTO `users` (`uid`, `name`, `pass`, `mail`, `mode`, `sort`, `thre=
	shold`, `theme`, `signature`, `created`, `access`, `login`, `status`, `time=
	zone`, `language`, `picture`, `init`, `data`) VALUES (0, '', '', '', 0, 0, =
	0, '', '', 0, 0, 0, 0, NULL, '', '', '', NULL),
	>>(1, 'aaa', 'bbb', 'ccc', 0, 0, 0, '', '', 1171668726, 1174774597, 1174774=
	596, 1, '3600', 'cs', '', 'ddd', ''),
	>>(2, 'abc', 'def', 'ghi', 0, 0, 0, '', '', 1172416606, 1174761843, 1174760=
	211, 1, NULL, '', '', 'jkl', '');
	>>
	>>--------------------------------------------------------------------
	>>Pouzivam python 2.4.3 a MySQL 5.0.22. Potrebuju napsat v pythonu skript, =
	ktery me ulozi do promene (asi jako seznam)  obsah slupce name (aaa, abc). =
	Z propejenim mysql a pythonu nemam zadne zkusenosti - prosim poradte.
	>>
	>>_______________________________________________
	>>Python mailing list
	>>Python na py.cz
	>>http://www.py.cz/mailman/listinfo/python
	>
	>_______________________________________________
	>Python mailing list
	>Python na py.cz
	>http://www.py.cz/mailman/listinfo/python
	
	_______________________________________________
	Python mailing list
	Python na py.cz
	http://www.py.cz/mailman/listinfo/python



Další informace o konferenci Python