Re: Debugging Python scripts

2015-12-20 Thread Chris Daley
Hi Rob, To try and answer your questions: 1. Print should send it's data to Dia's stdout, so if you start Dia from the command line, you should see the output from your script there. 2. Afaik there isn't any way to get Dia to reload the scripts as they are loaded at start up. Some tips on debugg

Re: Debugging Python scripts

2015-12-20 Thread Steve Litt
On Sun, 20 Dec 2015 10:33:53 + Rob Wortham wrote: > I am trying to use Python scripting in Dia to export a hierarchical > diagram in a specific format. I'm new to Python. IMHO the questions you ask here are Dia interface questions more than Python questions. Although my answers aren't respo

Debugging Python scripts

2015-12-20 Thread Rob Wortham
I am trying to use Python scripting in Dia to export a hierarchical diagram in a specific format. I'm new to Python. I see that codegen.py is almost what I need, so I plan to take that as a starting point. Because I'm new to Python I'll need to iterate and learn to get this coded. Just a couple