I'm about to embark on a project in Python (primarily in order to learn the
language and equally importantly, to make my life easier at work).
I'm an IBM MVS Operations Analyst by trade by recently I've been spending more
and more time working on Data Migrations; legacy systems in VSAM files, AD
On 2011/08/05 01:01 PM, Flynn, Stephen (L & P - IT) wrote:
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-exis
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 goin
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
su
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 le
> 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
> > 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
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, whe
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"
Pour :
Objet : [Tutor] Python loop isn't working
Date : ven., août 5, 2011 18:14
Hello list!
I have a python script which works with othe
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:\Python26>shp2png.py C
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 do
On Tue, Aug 2, 2011 at 10:44 PM, Alexander Quest wrote:
>
> 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 maillist - Tu
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 [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 and general fun
My bad- meant to say [1]. Thanks.
-Alexander
On Fri, Aug 5, 2011 at 12:36 PM, Christopher King wrote:
>
>
> On Tue, Aug 2, 2011 at 10:44 PM, Alexander Quest wrote:
>>
>> have [0] to indicate that I want to go to the second value within that
>> first item, which is the
>> point value
>>
> Actuall
On 8/5/2011 4:22 PM Tim Johnson said...
* Christopher King [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
usuall
* Emile van Sebille [110805 15:51]:
> On 8/5/2011 4:22 PM Tim Johnson said...
> >* Christopher King [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
20 matches
Mail list logo