python and vc numbers

Daniel Dalton d.dalton at iinet.net.au
Sun Nov 29 08:55:04 CET 2009


Hi,

I have a very simple problem, but I can't work out the answer. How do I
return the current tty number in python? eg. what function/module should
I use to figure out what tty my program was invoked from?

Thanks

-- 
Cheers,
Dan

http://members.iinet.net.au/~ddalton/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20091129/b29c290d/attachment.pgp>


More information about the Python-list mailing list