Abstract:Taking the keel forming machine as the object, the implementation method of industrial data exchange based on Python was studied .Panasonic PLC, Matthews injket printer, ZhuoLan RS232 to Ethernet module and computer were used to set up control system to realize punch,print and cut off processes of the keel forming machine.Through the Socket call interface, Mewtocol communication protocol and the Matthews communication protocol, host computer exchanged industrial data with slave computer in real time by sending commands to slave computer.Communication between host and slave computer is stable and reliable in the test. Realization of industrial data exchange method based on Python is stable and reliable and it can meet the need of the keel molding machine control system on realtime, stability requirements.