Lukman008's Posts
Nairaland Forum › Lukman008's Profile › Lukman008's Posts
1 (of 1 pages)
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 |
The color combination is cool.. A website doesn't have to be too colourful na.. Just the windows icon what's up with it |
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 |
What are you trying to do |
Oh.. Okay.. cursor.execute("SELECT name, dept FROM table1 " "WHERE date BETWEEN %s AND %s" ), (Tomorrow, Next_tomorrow) |
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 ![]() |
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" |
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. |
where can I get mySQL setup for Python 2.7 |
na assignment o |
Guys please how can I get FORTRAN 2003 compiler |
1 (of 1 pages)
.. Can't believe it took me so long to notice it.. Thanks a lot... #GodBless