Not a valid month error
<p>I have a problem with python development.</p>

<p>I try to insert records to my database table, but I have this error when I try to insert them using <code>cx_Oracle</code> for python: <code>not a valid month.</code></p>

<p>And when I try to run this same query in <code>sqldeveloper</code>, there is no problem.</p>

<p>This my code: </p>

<pre><code>cursor.execute("insert into mytable(tableid,tablename,timecreate)values('45125','test',to_timestamp(to_char(sysdate,'dd/mm/yy')))")
</code></pre>

<p>I don't know what is the difference? </p>

<p>Have you any idea? </p>