ChaosKCW wrote:
> So timeit is mostly useless then ?
>
I wouldn't say so.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
--
http://mail.python.org/mailman/listinfo/python-list
bruno at modulix wrote:
> ChaosKCW wrote:
>
>>Hi
>>
>>I was wondering if someone could help with the import statements needed
>>to use the timeit module in the following code. I need to access the
>>"cur" object.
>>
>>Thanks,
>>
...>
> 'cur' is local to the function, so it's not an attribute of yo
So timeit is mostly useless then ?
--
http://mail.python.org/mailman/listinfo/python-list
ChaosKCW <[EMAIL PROTECTED]> wrote:
> So timeit is mostly useless then ?
No, it's a precious jewel, but if you want to use it you must allow it
to import the code you want it to run.
Alex
--
http://mail.python.org/mailman/listinfo/python-list
ChaosKCW wrote:
> Hi
>
> I was wondering if someone could help with the import statements needed
> to use the timeit module in the following code. I need to access the
> "cur" object.
>
> Thanks,
>
> import cx_Oracle
> import timeit
>
> def VerifyTagIntegrity(con, TableOwner):
> cur = con.c
Hi
I was wondering if someone could help with the import statements needed
to use the timeit module in the following code. I need to access the
"cur" object.
Thanks,
import cx_Oracle
import timeit
def VerifyTagIntegrity(con, TableOwner):
cur = con.cursor()
sql = 'select (select count(*)