how to include a file -- not import??
Paul E. Bible
pbible at home.com
Thu Jan 6 00:08:05 EST 2000
More information about the Python-list mailing list
Thu Jan 6 00:08:05 EST 2000
- Previous message (by thread): how to include a file -- not import??
- Next message (by thread): how to include a file -- not import??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Why not create a class and import the class, which could have member variables associated with it?! Paul "John Nielsen" <nielsenjf at my-deja.com> wrote in message news:8515bs$2vn$1 at nnrp1.deja.com... > Hopefully, there's a simple answer to a problem I am having. > > I am using import to include a file, however, it looks like the module > then has another namespace, which means it can't access some variables. > > Is there a way to simply include the raw text and insert it into your > own code, as if it was not in a another file? > > Thanks for any help, > > john > > > > -- > nielsenjf at my-Deja.com > > > Sent via Deja.com http://www.deja.com/ > Before you buy.
- Previous message (by thread): how to include a file -- not import??
- Next message (by thread): how to include a file -- not import??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list