On 2011/08/05 01:01 PM, Flynn, Stephen (L P - IT) wrote:
snip
It struck me that if I write a read in Sybase DDL and spit out Oracle DDL routine and so forth, I'd
get a lot of reuse out of it. However, I've not done much OOP at all and consequently, my object design skills are
somewhat
I'll certainly give it a look-see - thanks Christian
I'm going to end up writing converters anyway, as at some point I'm
going to be given (for example) a COBOL copybook for a file and have to
translate that into an Oracle table version (actually I already have
tools to do this, but if I'm
On 05/08/11 12:01, Flynn, Stephen (L P - IT) wrote:
Anyway, nearly all of this work, at some point, involves me reading a Data
Dictionary
for the source system and converting it to an Oracle table definition.
More often than not this DDL is in text form and I convert it to Oracle DDL
Stephen,
You might check out the SQL management tools from Embarcadero.
They may provide some of the conversion capabilities you are
looking for. And they generate beautiful documentation.
Perhaps you could wrap the features of this product with Python
scripts to acheive your goals?
Malcolm
However, I've not done much OOP at all
I'm not sure you need OOP for this. As you say a routine ie a
function
might be all you need along with some data structures - probably
dictionaries to define the translations needed.
I suspect you're correct Alan, but as I'm using this an a learning
It struck me that if I write a read in Sybase DDL and spit out Oracle DDL
routine and so forth, I'd get a lot of reuse out of it. However, I've not
done much OOP at all and consequently, my object design skills are somewhat
non-existent. Whilst I have a rough idea of what my properties my
I'm not sure you need OOP for this.
I suspect you're correct Alan, but as I'm using this an a learning
exercise for the language it seemed too good an opportunity to miss
That's fine so long as we understand why you are going down the OOP route.
can relate a table to an object in my
Hello list!
I have a python script which works with other libraries in order to create
maps. The script looks for an extension in a specific directory and with
mapnik makes the thumbnails.
The module works fine from Python command line and Pyton IDLE, but I need
this program to run from MS-DOS,
On 8/5/2011 9:14 AM Susana Iraiis Delgado Rodriguez said...
Hello list!
I have a python script which works with other libraries in order to
create maps. The script looks for an extension in a specific directory
and with mapnik makes the thumbnails.
The module works fine from Python command line
Can you try to split it into fonctions
Because it is hard to read it.
Envoyé depuis mon HTC
- Reply message -
De : Susana Iraiis Delgado Rodriguez susana.delgad...@utzmg.edu.mx
Pour : tutor@python.org
Objet : [Tutor] Python loop isnapos;t working
Date : ven., août 5, 2011 18:14
Hello
On 05/08/11 17:14, Susana Iraiis Delgado Rodriguez wrote:
The module works fine from Python command line and Pyton IDLE, but I
need this program to run from MS-DOS, when I added the try statement it
started to fail. Module runs but doesn't do what I need. Console shows:
C:\Python26shp2png.py
I'm been coding in python now for close to 10 years. one of the
modules that I have composed for re-use has gotten pretty big:
It is implemented as
import tlib as std
I am thinking about 'downsizing' this module and breaking it up into
smaller components, thus a package. And I would like to
On Tue, Aug 2, 2011 at 10:44 PM, Alexander Quest alexxqu...@gmail.comwrote:
have [0] to indicate that I want to go to the second value within that
first item, which is the
point value
Actually [0] is the first element. I would go with [1].
___
Tutor
To make a package, you make a folder named what you want to name the
package, for example: virus_toolkit. Then you make a file in it called
__init__.py. This is what you import if you import the virus_toolkit. You
usually put documentation and general functions in this I believe (I'm not
100% sure
I give +0. I'm sure that it could come in use somewhere, as long as it isn't
used everywhere.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
* Christopher King g.nius...@gmail.com [110805 12:03]:
To make a package, you make a folder named what you want to name the
package, for example: virus_toolkit. Then you make a file in it called
__init__.py. This is what you import if you import the virus_toolkit. You
usually put documentation
My bad- meant to say [1]. Thanks.
-Alexander
On Fri, Aug 5, 2011 at 12:36 PM, Christopher King g.nius...@gmail.comwrote:
On Tue, Aug 2, 2011 at 10:44 PM, Alexander Quest alexxqu...@gmail.comwrote:
have [0] to indicate that I want to go to the second value within that
first item, which is
On 8/5/2011 4:22 PM Tim Johnson said...
* Christopher Kingg.nius...@gmail.com [110805 12:03]:
To make a package, you make a folder named what you want to name the
package, for example: virus_toolkit. Then you make a file in it called
__init__.py. This is what you import if you import the
* Emile van Sebille em...@fenx.com [110805 15:51]:
On 8/5/2011 4:22 PM Tim Johnson said...
* Christopher Kingg.nius...@gmail.com [110805 12:03]:
To make a package, you make a folder named what you want to name the
package, for example: virus_toolkit. Then you make a file in it called
19 matches
Mail list logo