How to write my triggers for EEG using psy.parallel.ParallelPort in python?

Hi,

I have one simple visual experiment. I want to show simple circle on the screen, flashing every 1000 ms and at the same time I want to record EEG. I want to write my code in python and using psychopy. I do not know how I can write codes for my triggers using “psy.parallel.ParallelPort”. I need triggers for start of the experiment, end of the experiment and each time that the circle flash (every 1000 ms). I made my script for presenting circle but I do not know how I can add codes for muy triggers and how I can write them. Could you plase help me with this process?

Kind regards,