Tutorial by Topics: np

Common parameters can be used with any cmdlet (that means as soon as you mark your function as cmdlet [see CmdletBinding()], you get all of these parameters for free). Here is the list of all common parameters (alias is in parenthesis after corresponding parameter): -Debug (db) -ErrorAction (ea...
An XPath location path is a series of location steps separated by a / character: step1/step2/step3 A location step contains an axis, a node test, and an optional list of predicates. The axis and the node test are separated by two colon characters ::. The predicates are enclosed in square brac...
pygame.display.set_mode(resolution=(0,0), flags=0, depth=0) # Returns a pygame.Surface representing the window on screen flags = pygame.FULLSCREEN | pygame.OPENGL # Flags can be combined using the "|" (bitwise OR or "pipe") character. parameterexplainationresolutiona pai...
IO may be blocking/non-blocking and synchronous/asynchronous. POSIX API provides synchronous blocking API (e.g. classic read, write, send, recv calls), synchronous non-blocking API (same functions, file descriptors opened with O_NONBLOCK flag and IO-multiplexing calls) and asynchonous API (functions...
The creational patterns aim to separate a system from how its objects are created, composed, and represented. They increase the system's flexibility in terms of the what, who, how, and when of object creation. Creational patterns encapsulate the knowledge about which classes a system uses, but the...
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...
Melt with melt(DT, id.vars=c(..), variable.name="CategoryLabel", value.name="Value") Cast with dcast(DT, LHS ~ RHS, value.var="Value", fun.aggregate=sum) ParameterDetailsid.varstell melt which columns to retainvariable.nametell melt what to call the column with...
readline() readlines() readstring(STDIN) chomp(str) open(f, file) eachline(io) readstring(file) read(file) readcsv(file) readdlm(file) ParameterDetailschomp(str)Remove up to one trailing newline from a string.strThe string to strip a trailing newline from. Note that strings are immu...
This page should cover various ways to set up Maya python paths - userSetup, maya.env, environment variables and so on

Page 4 of 8