On 07/12/2018 14:00, Asad wrote:
> Hi All ,
>
> I would like to unzip a file using python and then execute the sql
> scripts in the file on Oracle database .
Are you absolutely sure?
That's a very dangerous thing to do from a
security point of view. Potentially similar
to using exec() o
Hi All ,
I would like to unzip a file using python and then execute the sql
scripts in the file on Oracle database .
>>> from zipfile import ZipFile
>>> file_name = 'file.zip'
>>> z = ZipFile(file_name)
>>> print(z.namelist())
[]
>>> z = ZipFile('file.zip')
>>> print z.namelist()
[]
>>