Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ptmcg
  • Order by date
  1. ptmcg

    Communicate with OPC server

    JohnV - Since OPC is based on COM, I'd look at Mark Hammond's Win32 extensions for Python (http://starship.python.net/crew/mhammond/win32/). There may not be a drop-in OPC class, but this material should give you the tools to create your own OPC client and/or server. -- Paul
  2. ptmcg

    Is there a Python counterpart for Java's class.forName('xxx')?

    Why not just build yourself a dictionary that maps file type to class? Then you don't have to expose your parser class names. # map strings to corresponding classes parserClassMap = { "FileType1" : File1Parser, "FileType2" : File2Parser, } fileType = raw_input("Type of file:") if...

Part and Inventory Search

Back
Top