Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,162,679 members, 7,851,335 topics. Date: Wednesday, 05 June 2024 at 05:14 PM |
Nairaland Forum / Lukman008's Profile / Lukman008's Posts
(1) (of 1 pages)
Programming / Re: Learn How To Build A Desktop Software Using PYTHON – Tutorial On Nairaland by lukman008: 6:23am On Aug 17, 2015 |
Ur opinion is on d right path! Especially if u are looking beyond PC desktop apps. At the moment wxPy is left behind.... when it comes to deploying apps on Android/iOS mobile devices.[/quote] Please how can I convert py to apk |
Programming / Re: Check Out My Website And Review It by lukman008: 11:17am On Aug 16, 2015 |
The color combination is cool.. A website doesn't have to be too colourful na.. Just the windows icon what's up with it |
Programming / Re: Python Mysql by lukman008: 11:02am On Aug 16, 2015 |
What calculator.. What problem are you facing? What library are you using.. What are you trying to query.. Your question is too vague.. Please explain so I can help |
Programming / Re: Python Mysql by lukman008: 11:01am On Aug 16, 2015 |
What are you trying to do |
Programming / Re: Python Mysql by lukman008: 3:04pm On Aug 09, 2015 |
Oh.. Okay.. cursor.execute("SELECT name, dept FROM table1 " "WHERE date BETWEEN %s AND %s" ), (Tomorrow, Next_tomorrow) |
Programming / Re: Python Mysql by lukman008: 7:09pm On Jul 28, 2015 |
Thanks guys.. The problem was a comma in the wrong place .. Can't believe it took me so long to notice it.. Thanks a lot... #GodBless |
Programming / Re: Python Mysql by lukman008: 1:06pm On Jul 26, 2015 |
I made a mistake in the level thing.. Its not the problem.. It should be level =int(self.GetValue ()) Using sqlite would be too much work .. I mean I'd have to start again.. And wamp server is really making things easier for me. The exact error is "syntax error in 'WHERE date BETWEEN '2015-07-27' AND '2015-07-28' in line 1" |
Programming / Python Mysql by lukman008: 5:23am On Jul 26, 2015 |
What's up guys.. I'm writing a Python application which uses a datepicker.. I tried inserting the value from the datepicker into a database but it gives me the error ' Python datetime cannot be converted to a mysql type' I converted the date value to a string and I was able to insert it,but now I need to use the date in a BETWEEN statement but I get syntax error. Please how can I go about this? Any help would be appreciated. This is the source code below ............. date =str(self.dp.GetValue()) def display (self,event): Level=into(self.textctrl.GetValue()): If level==100: Tomorrow = datetime.now().date() + timedelta (days = 1) Tomorrow = str(Tomorrow) Next_tomorrow = datetime.now().date() + timedelta (days = 2) Next_Tomorrow = str(Next_Tomorrow) cursor.execute("SELECT name,dept FROM table1 " "WHERE date BETWEEN %s AND %s" , (Tomorrow, Next_tomorrow) PS:dp is the name of my datepicker I hope its not too long I wanted to make it as explanatory as possible. Thank you. |
Programming / PYTHON Mysql by lukman008: 4:05pm On Apr 16, 2015 |
where can I get mySQL setup for Python 2.7 |
Programming / Re: Fortran by lukman008: 8:55am On Feb 02, 2015 |
na assignment o |
Programming / Fortran by lukman008: 9:29pm On Feb 01, 2015 |
Guys please how can I get FORTRAN 2003 compiler |
(1) (of 1 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11 |