MySQL connections

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Jan 15 22:13:48 EST 2015


On 15/01/2015 16:40, Jacob Kruger wrote:
>
> If you want to check it out, have attached the full code file - might be
> a bit messy/large - but, effectively, right at bottom, launch an
> instance of the class a2m, passing through arguments, and then from
> within __init__ call convertProcess function, which then initiates
> process, harvesting sort of rendition/version of structure out of MS
> access database file, makes call to convertSQL to generate structural
> SQL script, and save it to a file, which then calls convertData function
> to generate insert statements to populate database, and then that makes
> a call to convertExport, if you passed a command line argument in
> requesting mysql, and that's the current issue function - have stripped
> most of actual functionality out of it, since am just testing, so the
> first 16 lines of that function are what's relevant at moment - think
> shouldn't rely on any other self. objects/attributes as such either,
> unless step-through process is an issue.
>

Can you please provide us with a piece of code based on these guidelines 
http://sscce.org/ as I doubt that too many people are going to wade 
through the now deceased attachment.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list