Re: [Tutor] How to create dictionaries loadable with import

2013-09-25 Thread Albert-Jan Roskam
- Original Message - > From: "Treder, Robert" > To: "tutor@python.org" > Cc: > Sent: Wednesday, September 25, 2013 6:09 PM > Subject: Re: [Tutor] How to create dictionaries loadable with import > >T hanks for the suggestions and sorry abo

Re: [Tutor] How to create dictionaries loadable with import

2013-09-25 Thread Treder, Robert
Thanks for the suggestions and sorry about the errors when I tried to anonymize my code. It's turns out when I ran the code through setup, I had an __init__.py file incorrectly defined which generated the error. The error from the traceback was at the line where I was importing the module. I hav

Re: [Tutor] How to create dictionaries loadable with import

2013-09-24 Thread Steven D'Aprano
On Tue, Sep 24, 2013 at 04:33:20PM -0400, Treder, Robert wrote: > Hi Python tutors, > > I'm fairly new to Python. I'm working with Python v2.7.4 and the nltk > package on a couple of text mining projects. I create several > dictionaries that are pretty static. Will probably only be updated >

Re: [Tutor] How to create dictionaries loadable with import

2013-09-24 Thread Prasad, Ramit
Treder, Robert wrote: > Hi Python tutors, > > I'm fairly new to Python.  I'm working with Python v2.7.4 and the nltk > package on a couple of text > mining projects.  I create several dictionaries that are pretty static. Will > probably only be updated > every or month or every couple of months.

Re: [Tutor] How to create dictionaries loadable with import

2013-09-24 Thread Joel Goldstick
On Tue, Sep 24, 2013 at 4:33 PM, Treder, Robert < robert.tre...@morganstanley.com> wrote: > Hi Python tutors, > > ** ** > > I’m fairly new to Python. I’m working with Python v2.7.4 and the nltk > package on a couple of text mining projects. I create several dictionaries > that are pretty s

[Tutor] How to create dictionaries loadable with import

2013-09-24 Thread Treder, Robert
Hi Python tutors, I'm fairly new to Python. I'm working with Python v2.7.4 and the nltk package on a couple of text mining projects. I create several dictionaries that are pretty static. Will probably only be updated every or month or every couple of months. I want to turn those dictionaries