Tutorial by Topics: python

:[range]py[thon] {statement}
These are two sample programs that work together. One is a simple server, the other a simple client. Start the server in one window: python tserver.py Edit the server address in the client source file if desired. Then run python tclient.py The client connects to the server, then asks for i...
ParameterUsagehostnameThis parameter tells the host to which the connection needs to be establishedusernameusername required to access the hostporthost portpasswordpassword for the account
ser.read(size=1) ser.readline() ser.write() parameterdetailsportDevice name e.g. /dev/ttyUSB0 on GNU/Linux or COM3 on Windows.baudratebaudrate type: int default: 9600 standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 11520...
Curses is a basic terminal ( or character display ) handling module from Python. This can be used to create Terminal based User interfaces or TUIs. This is a python port of a more popular C library 'ncurses'
Building and Compiling opencv 3.1.0-dev to get an access for non free modules can be a headache for some people especially on Windows machine. Unlike Ubuntu, setting up opencv for Windows takes some time and requires a couple pf dependencies to be installed first before building and compiling. Th...
If you are considering to add new methods in Python to use them in RPC from JavaScript, then consider the following options of method decorators: if you've to deal with ids/recordsets then for python method definition choose decorator: @api.multi - to get recordset in your method @api.one - to...
What Is wxPython Simply put wxPython is a set of bindings to the wxWidgets C++ Cross Platform GUI library. Ok what is wxWidgets The wxWidgets library provides a free, gratis & open source, set of abstractions for the various GUI elements so that the native controls are still used, where...
Serial.begin(baudrate) // Set baud rate (bits per second) for serial data transmission Serial.println(value) // Print data to serial port followed by Carriage Return \r and Newline character \n serial.Serial((port=None, baudrate=9600, bytesize=EIGHTBITS, parity=PARITY_NONE, stopbits=STOPBITS_ONE...
What is Selenium? Selenium is a library of commands to help a programmer interface with a browser like a real user. Things that Selenium does: Finding element(s) in a webpage's html Finds a single element: driver.find_element_by_css_selector("css.selector.of.element") CSS Sele...
This section provides an overview of what python-sphinx is, and why a developer might want to use it. It should also mention any large subjects within python-sphinx, and link out to the related topics. Since the Documentation for python-sphinx is new, you may need to create initial versions of t...
This page should cover various ways to set up Maya python paths - userSetup, maya.env, environment variables and so on

Page 2 of 4