On Tue, Jul 28, 2009 at 01:35, limodou<[email protected]> wrote:
>
> On Tue, Jul 28, 2009 at 1:56 PM, Dick Moores<[email protected]> wrote:
>>
>> On Mon, Jul 27, 2009 at 21:00, limodou<[email protected]> wrote:
>>>
>>> On Tue, Jul 28, 2009 at 9:33 AM, Dick Moores<[email protected]> wrote:
>>>>
>>>> On Mon, Jul 27, 2009 at 17:35, limodou<[email protected]> wrote:
>>>>>
>>>>> On Tue, Jul 28, 2009 at 7:27 AM, Dick Moores<[email protected]> wrote:
>>>>>>
>>>>>> OK, I just installed the Unicode version, and the docs. But no change
>>>>>> in Ulipad's behavior. Uses 2.51 in its shell, and scripts inside
>>>>>> Ulipad use 2.62.
>>>>>>
>>>>>
>>>>> Thanks god.
>>>>
>>>> Do you mean that what I described is what should happen? 2.51 in Uli's
>>>> shell but scripts use 2.62?
>>
>>> I don't know why you have this problem. Because if you use Python to
>>> run the Ulipad.py(w), it'll the same instance of shell window. So I
>>> don't know how do you know the version of your shell window?
>>
>> Take a look at <http://www.rcblue.com/Misc/Ulipad2.png>. The shell
>> window SAYS Python 2.5.1. In addition, new features of 2.6 that aren't
>> in 2.5 don't work. For example,
>>
>>>>> (2.5)  .as_integer_ratio()
>>
>> which raises an AttributeError.
>>
>> Dick
>>
>
> The attatchment is not *THE SHELL WINDOW*, but message window.

By attachment I assume you mean the image of Ulipad I put up on my website?

I was showing 3 things with that image:
1. The shell window, which clearly shows it is using 2.5.1, and
failing to execute the 2.6 code.
2. The simple script, 26.py, which contains code from 2.6 that isn't in 2.5
3. The script runs the 2.6 code correctly, as seen by the output in
the message window.

I'm not sure why we are disagreeing about this. I thought the image
would be worth a thousand words.

> And
> only when you run python source file with Run menu. So Ulipad will use
> python interpreter to run the source file but not the shell window.
> They are different you should know. When you run the program, you
> should set the default python iinterpreter first, just from
> [Python]->[Set Argument...], and you can select which python vertion
> you want to run the py file. So i think you didn't set it.

Actually, I did set it to 2.6 earlier.

My only disappointment now is that it seems I can't use 2.6 in the
Ulipad shell window. How long will this continue to be the case?

Dick

Reply via email to