Communicating with a hardware offering a Python interface using iOS
Question: I have to access a hardware component that exposes the following Python
interface:

    
    
    $ python
    >>> from ***.***.***.*** import *
    
    >>> client = Client('http://*****')
    
    >>> client.getFirmwareVersion()
    

How I can do it?

Do I have to create new class in obj-c or I can use the python library and
access the data using objective-c?


Answer: You seem to be missing an important point; the hardware you are connecting
actually stays entirely remote from the iOS perspective - even if it was
connected via TCP/IP via a local wifi hotspot.

Have a look at
[NSURLConnection](https://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html),
that is an iOS system component that allows you to remotely connect and
transmit data via TCP/IP in both directions.

Your first task will be finding a proper interface for your Python driven
hardware. I would strongly suggest you to use some kind of an HTTP-interface.

