Difference between revisions of "Scripting Guide"

From TexGen
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] - Quick introduction to Python for competent programmers.
 
* [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] - Quick introduction to Python for competent programmers.
 +
* [http://chryswoods.com/beginning_python/index.html Beginning Python Tutorial] - Quick introduction to Python basics.
 
* [https://docs.python.org/2/tutorial/ Python Tutorial] - Official Python tutorial (requires some programming knowledge).
 
* [https://docs.python.org/2/tutorial/ Python Tutorial] - Official Python tutorial (requires some programming knowledge).
 
* [http://www.greenteapress.com/thinkpython/ How to Think Like a Computer Scientist: Learning with Python] - Book on Python programming for beginners. [http://www.greenteapress.com/thinkpython/html/ HTML Version]
 
* [http://www.greenteapress.com/thinkpython/ How to Think Like a Computer Scientist: Learning with Python] - Book on Python programming for beginners. [http://www.greenteapress.com/thinkpython/html/ HTML Version]
Line 8: Line 9:
  
 
An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks.
 
An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks.
 +
 +
A TexGen scripting guide with sample scripts can be found on [https://github.com/louisepb/TexGenScriptingGuide GitHub]
  
 
A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous:
 
A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous:

Latest revision as of 09:34, 7 March 2018

Python Interface

Python is a high level interpreted programming language. In this case it is used as a scripting language to allow easy access to TexGen functionality. Python has been embedded in the TexGen GUI which allows the GUI to run python scripts. The goal of this tutorial is not to teach Python programming, there are plenty of resources online for that. A few of them are listed below:

An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks.

A TexGen scripting guide with sample scripts can be found on GitHub

A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous: