Difference between revisions of "Pyscripter"

From relax wiki
Jump to navigation Jump to search
(Forced creation of a TOC - this will improve the formatting on the main page 'Did you know...' section.)
(Category fixes.)
 
Line 31: Line 31:
 
</pre>
 
</pre>
  
[[Category:External_programs]]
 
  
 
== See also ==
 
== See also ==
 +
 
[[Category:Python]]
 
[[Category:Python]]
 +
[[Category:Software]]

Latest revision as of 16:56, 6 November 2015

Coding editor

A lightweight editor, could be pyscripter.
This helps with syntax high-lighting and includes the interpreter.
Install from: https://code.google.com/p/pyscripter/

To let pyscripter find winpython, you need to register it in the windows registry.
Advanced->Register distribution->Yes

Setup

Indention

Remember to check that indention is set to equal 4 spaces " ", under Tools/Options/Editor Options

Trailing spaces

Some parts of relax requires trailing whitespace.
Tools/Options/Editor Options/Options/ Untick "Trim Trailing spaces"


Run engine

Also set: Run/Python Engine/Remote (Tk) (Matplotlib uses the Tk)


Test

Test that everything is working, for example by this script, and hit the green play button.

from pylab import *
a = array(range(10))
b = 10*a
plot(a,b)
show()


See also