How can I set parallel port?

Hi, Internet!!
How can I set parallel port numbers and make markers in coder in terms of connecting to the other computer’s neuroscan?

In Matlab, we use

*config_io;*
*TimingAddress =xxx;   #parallel port numbers*
*TimingReady=TimingCheck(TimingAddress);*

to set the numbers

and use

*if TimingReady*
*lptwrite(TimingAddress,0);*
*end*

to set markers to neuroscan when stimulating.

How can I do the same thing in python by using Psychopy?

Check out the Parallel component in Builder - that lets you add the port number as a parameter.