PETRONODE

Software Manual Pages

python

 

Python examples

Use either Python 2.7 or Python 3.x

These examples demonstrate how the SlideComposer features can be invoked with Python. The Python code is compliant with Techlog Python module and does not require installation of extra Python libraries within the Techlog program folder (which could be risky).

 

Making a Basic Plot

 

Download code.

 

 

If you enter 'Mike' for the name, the produced image will look like this:

 

Example_09

 

 

 

 

 

 

 

 

 

 

 

 

 

Determining Image Properties

 

Download code.

 

 

The source image is like this:

 

Example_10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The example replies:

The file is 200x300 pixels, 2442 bytes.