Site Tools


notes:python_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:python_cheat_sheet [2026/06/12 23:59]
114.119.135.37 old revision restored (2026/06/08 23:41)
notes:python_cheat_sheet [2026/06/13 18:52] (current)
216.73.216.147 old revision restored (2026/06/13 16:14)
Line 26: Line 26:
   * lambda x: x + n creates a small anonymous function.   * lambda x: x + n creates a small anonymous function.
   * A function should contain a triply quoted doc string at the start. This is accessible with func.__doc__ .   * A function should contain a triply quoted doc string at the start. This is accessible with func.__doc__ .
-  * 4 spaces per indent, no tabs. CamelCase for classes lower_case with underscores for functions.+  * 4 spaces per indent, no tabs. CamelCasel for classes lower_case_with_underscores for functions.
  
 ===== Lists ===== ===== Lists =====
notes/python_cheat_sheet.1781333968.txt.gz ยท Last modified: 2026/06/12 23:59 by 114.119.135.37