Arild B. Næss wrote:
> I haven't found out how to change the working directory in IDLE,
> though – and for some reason it seems to be a different one this
> session from the last one. Does anyone know?
> (I use a mac by the way.)
take a look at os.chdir()
This changes the interpreter's
Den 8. des. 2006 kl. 15.43 skrev Kent Johnson:
> Arild B. Næss wrote:
>> Den 8. des. 2006 kl. 14.05 skrev Kent Johnson:
>>> Why do you need to pickle the function? Is it created
>>> dynamically? Can you just pickle the data?
>>>
>>> Kent
>>>
>> Thanks.
>> I guess it's not absolutely necessary
Arild B. Næss wrote:
> Den 8. des. 2006 kl. 14.05 skrev Kent Johnson:
>> Why do you need to pickle the function? Is it created dynamically?
>> Can you just pickle the data?
>>
>> Kent
>>
>
> Thanks.
>
> I guess it's not absolutely necessary to pickle the function. I tried
> to do this because
Arild B. Næss wrote:
> Hi,
>
> I'm writing a program for tagging which requires a long time to
> calculate the parameters. I have therefore tried to write a long
> program that pickles all the data, and pickles a function that uses
> these parameters to tag an input sentence.
>
> But I'm ha