Previous Thread  Next Thread

chat icon How print (or save as .txt) Python script from .blend file?

mharris

Posted: Thu Feb 27, 2003 7:17 pm
Joined: 27 Feb 2003
Posts: 2
I did a quick search here and elsewhere (google) but was unable to find an answer.

I'm interested in studying the source code of an import/export plugin written in Python that comes as/in a .blend file. Given that the author specifically mentions including the source, how can I print it (or better yet, copy/paste or save it out to a plain text file readable by any editor/word processor?

This is on Windows XP.

Thanks.
Reply with quote


Schlops

Posted: Thu Feb 27, 2003 10:04 pm
Joined: 16 Oct 2002
Posts: 20
Shift-Alt-F in the text window with the python script to save the script in a textfile.
_________________
Stay Rude!
Reply with quote


mharris

Posted: Fri Feb 28, 2003 2:50 am
Joined: 27 Feb 2003
Posts: 2
Thanks.

Guess I should also have asked....... where should I have looked to find that answer?

Thanks again?
Reply with quote


Jamesk

Posted: Fri Feb 28, 2003 7:32 am
Joined: 14 Oct 2002
Posts: 239
Shouldn't someone add a little button for that in the text window? Or at least a little hint somewhere in it?
Reply with quote


Schlops

Posted: Fri Feb 28, 2003 11:04 am
Joined: 16 Oct 2002
Posts: 20
mharris wrote:
Thanks.

Guess I should also have asked....... where should I have looked to find that answer?

Thanks again?

Uhm, in this forum or in the Py&plug forum over at elysiun.com or in irc? blender people are very helpful, don't be afraid to ask something. Very Happy
Jamesk wrote:
Shouldn't someone add a little button for that in the text window? Or at least a little hint somewhere in it?

Hmm, I think Goofster is curently doing some coding with the text-window (syn hilit), maybe he can do it?
_________________
Stay Rude!
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group