Quit/exit a Process - Integrated Circuits - - An Online Book - |
||||||||
Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= Stop the program when the mouse is move to top-left corner of the screen (0,0). code: ============================================ Relevant functions: break, return, return, limit. ============================================ sys.exit() and quit() commands does not really, fully quit from the program; destroy() command fully closes the pop-up window and quit from the program. ============================================ Bind Python functions and methods to an event: code: ============================================ Set maximum window size, scroll down the webpage, find if there is a link with a specific text or not, get the actual link and then click it, closes the current browser window, quit from the browser driver: Code: ============================================ .bind(), side=, highlightbackground=, highlightthickness=, StringVar(), .set(), textvariable=, global, relief='flat', quit, .destroy(), background=, foreground=, .mainloop(), '<Return>', '<q>': code: ============================================ Drag the mouse from a start point to an end point to plot the blue, green and red intensities along a line on an image (the process can be stopped by pressing letter "x"). code:
|
||||||||
================================================================================= | ||||||||
|
||||||||