Using query parameters subtitution outside of execute()

2014-03-28 Thread Daniele Forghieri
, something like: queryAdd = cursor.querySubst('enabled = ? and hide = ? and data ?', (enabled, hidden, min_date, )) when the function take care of the date format, quoting the parameter and so on It's possible or not ? Thanks in advance Daniele Forghieri -- https

Re: Using query parameters subtitution outside of execute()

2014-03-28 Thread Daniele Forghieri
Il 28/03/2014 10:16, Peter Otten ha scritto: Daniele Forghieri wrote: Hi to all. I'm using sqlite3 with python 2.7 on windows. I use the query substitution parameters in my query but I need to pass part of the query to a function, something like (it's not the real examples, just to clarify

Re: Using query parameters subtitution outside of execute()

2014-03-28 Thread Daniele Forghieri
Il 28/03/2014 14:53, Peter Otten ha scritto: Daniele Forghieri wrote: Il 28/03/2014 10:16, Peter Otten ha scritto: Daniele Forghieri wrote: Hi to all. I'm using sqlite3 with python 2.7 on windows. I use the query substitution parameters in my query but I need to pass part of the query

Re: Issues with Python

2017-07-31 Thread Daniele Forghieri
. Daniele Forghieri -- https://mail.python.org/mailman/listinfo/python-list

Re: None is None but not working

2017-09-27 Thread Daniele Forghieri
Il 27/09/2017 22:05, Sayth Renshaw ha scritto: Hi I have got a successful script setup to rotate through dates and download json data from the url. As the api returns 200 whether successful I want to check if the file returned is not successful. when a file doesn't exist the api returns

Re: Let's talk about debuggers!

2017-10-25 Thread Daniele Forghieri
) at home. You can put breakpoint in the code, see all the variables and so forth.     Daniele Forghieri -- https://mail.python.org/mailman/listinfo/python-list

Re: recommends of redesign OO feature of python !!!

2018-10-25 Thread Daniele Forghieri
Il 25/10/2018 07:14, iamybj--- via Python-list ha scritto: I am an engineer of java and c#, I want to some personal projects in free time, and I choose python. After try python, I hava some suggestion. The first thing is that python’s class is not well designed than other programming

Re: Good editor for python

2018-11-11 Thread Daniele Forghieri
also the Microsoft VS Code editor (this should be multi platform) has the python extensions with intellisense but I never used them (I started to use Python before this stuff came out).     With best regards     Daniele Forghieri -- https://mail.python.org/mailman/listinfo/python-list