Jump to content
Usr6

Python Quick

Recommended Posts

Posted (edited)

python_cheatsheet.png

Quick reference contents:

Front matter

Invocation Options

Environment variables

Lexical entities : keywords, identifiers, string literals, boolean constants, numbers, sequences, dictionaries, operators

Basic types and their operations: None, bool, Numeric types, sequence types, list, dictionary, string, file, set, named tuples, date/time

Advanced types

Statements: assignment, conditional expressions, control flow, exceptions, name space, function def, class def

Iterators; Generators; Descriptors; Decorators

Built-in Functions

Built-in Exceptions

Standard methods & operators redefinition in user-created Classes

Special informative state attributes for some types

Important modules : sys, os, posix, posixpath, shutil, time, string, re, math, getopt

List of modules in the base distribution

Workspace exploration and idiom hints

Python mode for Emacs

Html: Python 2.6 Quick Reference

Pdf: http://rgruet.free.fr/PQR26/PQR2.6_modern_a4.pdf

Older version:

Python page Richard Gruet

Edited by Usr6
+contents
Posted

Mai mult este o comparatie intre C si Python, specificand de semicolon [(";") -- nefiind necesara in Python] la printarea unor string-uri, precum si alte exemple asemanatoare.

Per total, un review ... Interesant, doar daca stii putin de programare, altfel te baga in ceata (cred eu).

Numai bine!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...