[Bf-committers] fully interactive python console

Campbell Barton cbarton at metavr.com
Fri Mar 25 08:00:36 CET 2005


Do you mean word wrap?
This if fairly trivial to add. but I think auto compleate is possibly 
more usefull.
Will work on it now :) probably add both.
- Cam

levon hudson wrote:

> nice one cam, works quite well, the only problem i have found is that 
> it doesnt print things on multipule lines. so if you do this:
> import Blender
> import Blender.Object
> this = Blender.Object.Get("cube")
> print dir(this)
>
> it will print the output onto one line, so you can see all of the output.
>
>> ooo can you provide examples ?
>> like how could it make something different as in todays current 
>> scripts  ?
>>
>> On Mar 24, 2005, at 2:15 PM, Campbell Barton wrote:
>>
>>  
>>
>>> Hi All, I had another poke at a script I wrote a while back and  
>>> managed to get a interactice python console in python.
>>> I think I have achieved my goal to have somthing like autocads  
>>> interactice console.
>>>
>>> Features are..
>>>
>>>     •     Can run at the same time as blender!, and dosent forget 
>>> variables  etc between usage. also dosent hog recources.
>>>     •     Works in many ways just like pythons interactice console.
>>>
>>>     •     Raises proper errors and dosent bail out of the console..
>>>
>>>     •      Has a command history and colour coding for 
>>> input/output/errors
>>>     •     Scripts can be saved to a text file.
>>>     •     easy to extend (python)
>>>     •     Commented out, but can use a file called 
>>> 'console_autoexec.py' for  startup functions.
>>> This is nice for user shoutcuts so lots of nifty functions could 
>>> have  3 letter names,
>>>
>>> Somthing Id like to add is optional autocompleate (bash style?), 
>>> for  variables and and Imported modules.
>>> Its commented out.
>>>
>>>   
>>
>>  
>>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-committers mailing list