471,349 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,349 software developers and data experts.

migrating to packages

Hi all. I have a single file with several classes, wich i want to
separate into several packages.
The big file is named, say MYCLASES, and contains a class named
A(object), and B(A).

We have been using this MYCLASES in the
from MYCLASES import B syntax, but i cant reproduce this syntax using
packages. Im forced to write from PACKAGE.B import *, and if that means
i have to touch so many files, that would really be a problem to me.
There is (i cant find it yet) a place where i can read about that kind
of package 'migration' situation?

Because i *really* want to keep the FROM PACKAGE import B syntax.

Thanks!
Gerardo
Oct 3 '07 #1
0 797

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by ladasky | last post: by
34 posts views Thread by subramanian100in | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.