nahee Posted November 18, 2009 Share Posted November 18, 2009 Hi, Since Ctrl+L doesn't work inside Houdini's interactive python shell (window/panel>python shell) I use numlines = 50 print '\n' * numlines There are 2 problems with this however: 1. I don't know of a way to find out what that "numlines" should be (when resizing the window for instance or using different panel window sizes), is there a way to ask the python shell window how many lines it has? 2. Using this rather hacky method results in the input cursor going to bottom of the window while Ctrl+L remains at the top if you use python interactive shell from a terminal. Ideally, I'm looking for something to do the same thing as Ctrl+L in Houdini python shell. Thanks. Quote Link to comment Share on other sites More sharing options...
negow Posted November 18, 2009 Share Posted November 18, 2009 How about setting numlines = 500 and making that whole thingy into a shelf button and/or hotkey (ctrl-l) Quote Link to comment Share on other sites More sharing options...
nahee Posted November 19, 2009 Author Share Posted November 19, 2009 Yeah I use it with hotkey. Setting it to 500 sux since sometimes I do like to scrol up a page to see what's going on. Mostly I'd love to get the cursor up top somehow. Its no big deal just cosmetics. I'm getting used to using python from external terminal with an open port to live Houdini instance but then there's no auto-completion which I like sometimes. Can't win at everything I guess. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.