Getting the file or directory/dev/parport0 in python

Hi everyone,
I hope there are python gurus here. I am learning python, still new to the field. I would like to control the parallel port. It was quite easy controlling the parallel port using MS QBasic. It’s a challenge to do it using python. I am having a difficult time learning python, but with time i can do better. Recently i found an application called pyparallel. I installed it successfully and later tried it out.
It suggested testing with, >>>import parallel >>>p = parallel.Parallel() #opens lpt1 >>>p.setData(0x55) I tried this out. The import parallel worked well but the p {parallel.Parallel()} gave an error message; File "usr / lib/ python2.4 / sitepackages / parallel / parallelppdev.py", line 174 in __init__ self._fd = os. Open (self.device, os.0_RDWR) OSError: [errno 2] No such file or directory: ' / dev/ parport0'.
What is the process of the file or directory / dev/ parport0? I have tried it like the whole week without access. If anyone can tell me where and how to access the best tutorials for this, and python in general, i would appreciate.
Thanks for reading my question.
