title: PsychoPy: send triggers over parallel port of PC with XP 32 bit
body: <p>I am having problems with sending triggers from a 32 bit PC with Windows XP Professional and Psychopy v.1.81.03 to the parallel port.</p>
  <p>I am positive that the port address is 378, and am able to send triggers with Eprime and I am able to turn specific pins on and off with the software parmon (<a href="http://english.eazel.com/lv/group/view/kl35264/Parmon.htm" rel="nofollow noreferrer">http://english.eazel.com/lv/group/view/kl35264/Parmon.htm</a>)</p>
  <p>I have tried using the experiment posted by Stéphanie and Nicholas (see this post in the psychopy google group: <a href="https://groups.google.com/forum/#!topic/psychopy-users/PxPhRDkuu2A" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/psychopy-users/PxPhRDkuu2A</a>)</p>
  <p>I have verified that pywin32 (version 217) and parallel are installed, and tried both</p>
  <pre><code>port = parallel.ParallelPort(address=0x0378)
  port = parallel.PParallelInpOut32(address=0x0378)
  </code></pre>
  <p>When using ParallelPort, I get:</p>
  <blockquote>
  <p>Traceback (most recent call last):</p>
  <p>File “ D:\SebastianKorb\untitled2_lastrun.py”, line 65, in </p>
  <p>port = parallel.ParallelPort(address=0x0378) AttributeError: ‘module’</p>
  <p>object has no attribute ‘ParallelPort’</p>
  </blockquote>
  <p>Line 65 is where the command <code>port = parallel.ParallelPort(address=0x0378)</code>
  is executed (note though that before that there is the line <code>from psychopy import parallel</code>)</p>
  <p>When using PParallelInpOut32 I get the same (only now the error is about ‘PParallelInpOut32’)</p>
  <p>I also tried to run the few lines of code shown on the psychopy reference manual (<a href="http://www.psychopy.org/api/parallel.html" rel="nofollow noreferrer">http://www.psychopy.org/api/parallel.html</a>):</p>
  <pre><code>from psychopy import parallel 
  port = parallel.ParallelPort(address=0x0378) 
  port.setData(4) 
  port.readPin(2) 
  port.setPin(2, 1)
  </code></pre>
  <p>But again, I get the same type of error.</p>
  <p>I should mention that I have also verified that I have administrator access to the file <code>C:\Windows\system32\drivers\parport.sys</code></p>
  <p>Can you please advise me on what I should try next?</p>