Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.116 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.82; '*S*': 0.05; 'python.': 0.02; 'string.': 0.05; 'subject:code': 0.07; 'subject:Help': 0.11; 'python': 0.11; 'columns': 0.16; 'nick': 0.16; 'subject:PLEASE': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'this:': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'went': 0.31; "d'aprano": 0.31; 'follows': 0.31; 'steven': 0.31; 'lists': 0.32; 'probably': 0.32; 'subject:with': 0.35; 'convert': 0.35; 'add': 0.35; '+0200,': 0.36; 'consist': 0.36; 'should': 0.36; 'list': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'hope': 0.61; 'you.': 0.62; 'more': 0.64; 'here': 0.66; 'subject:this': 0.83; 'pardon': 0.84; 'received:195.238': 0.84; 'received:195.238.6': 0.84; 'received:belgacom.be': 0.84; 'received:isp.belgacom.be': 0.84; 'url:php': 0.85; 'suited': 0.93; '2013': 0.98 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANwveVJQyLEg/2dsb2JhbAANMhqDP8ALgUKDGQEBAQR4EQsYCRYPCQMCAQIBRRMIAogCCDaqf4otiRSPYBaEGQOYCoxLiGU Date: Tue, 05 Nov 2013 18:53:55 +0100 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130922 Icedove/17.0.9 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Help me with this code PLEASE References: <52792de4$0$29979$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <52792de4$0$29979$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383674042 news.xs4all.nl 15963 [2001:888:2000:d::a6]:48566 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58517 Op 05-11-13 18:41, Steven D'Aprano schreef: > On Tue, 05 Nov 2013 19:06:25 +0200, Nick the Gr33k wrote: > >> ALL I WANT IT TO DO IS JUST >> >> 1. RETRIEVE 3 COLUMNS THAT CONSIST OF 3 LONG STRINGS 2. CONVERT LONG >> STRINGS TO LISTS >> 3. ADD SOME CURRENT VALUES TO THOSE LISTS 4. CONVERT FROM LISTS TO LONG >> STRINGS SO I CAN STORE SUCCESSFULLY LIST PYTHON DATATYPE TO MYSQL SCALAR >> STRING. > > > You cannot do this with Python. You should use a better language more > suited to you. Try this: > > http://php.net/manual/en/tutorial.php > > > I hope that you will be much happier with this, since you are struggling > to get Python to work the way you want it to. Steve, what went on in your mind? If Nikos follows you advise he will probably come here with all kinds of php questions. -- Antoon Pardon