Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Walters, Gregory, author.

Title The Python quick syntax reference / Gregory Walters. [O'Reilly electronic resource]

Publication Info. [Berkeley, CA] : Apress, [2014]
©2014
QR Code
Description 1 online resource (1 volume) : illustrations
text file PDF rda
Series Expert's voice in Python
Expert's voice in Python.
Contents At a Glance; Introduction; Chapter 1: Hello Python; Python's Interactive Shell; Commands; Multiline Statements; The Code; Decoding the Code; Comments; Chapter 2: Variables; Case Sensitivity; Proper Variable Naming; Assignment; Data Types; Numeric; String; List; Tuple; Dictionary; Data Type Conversion; int(s, [base]); long(s, [base]); float(s); complex(real [, imaginary]); str(x); tuple(s); list(s); set(l); dict(s) (s must be sequence of (key, value) tuples); frozenset(s); chr(x); unichr(x); ord(c); hex(x); oct(x); Chapter 3: Operators; Arithmetic Operators; + Addition; -- Subtraction.
* Multiplication/ Division; % Modulus; ** Exponent; // Floor Division; Comparison Operators; ==; == (Strings);!=; ;>; =;>; Precedence of Operators; Chapter 4: Strings; Appending to Srings; String Functions; len(); min(); max(); s1 in s2; s1 not in s2; s1 + s2; s[x]; s[x1:x2]; s[x1:x2:x3]; String Methods; str.capitalize(); str.center(width[, fillchar]); str.count(sub[, start[, end]]).
IF / ELIF / ELSE StatementsFor; Break; Continue; Else; Pass; While; Chapter 6: Data Structures; Data Structure Example; Digging Deeper; Lists; List Functions; len(L); min(L); max(L) function; x in L; x not in L; L1 + L2; L[x]; L[x1:x2]; del(L[x]); List Methods; .append(x); .extend(L); .insert(i, x); .remove(x); .pop([i]); .index(x); .count(x); .sort(); .reverse(); Dictionaries; Dictionary Functions; len(dictionary); dict(list); Dictionary Methods; .clear(); .copy(); .get(key[, default]); .has_key(key); .items(); .keys(); .pop(key[, default]); .setdefault(key[, default]); .update(other).
Str.decode([encoding[, errors]])str.encode([encoding[, errors]]); str.endswith(suffix[, start[, end]]); str.expandtabs([tabsize]); str.find(substring[, start[, end]]); str.format(*args, **kwargs); str.format_map(mapping) Python 3.x only; str.index(substring[, start[, end]]); str.isalnum(); str.isalpha(); str.isdecimal() Python 3.x only; str.isdigit(); str.isidentifier() Python 3.x only; str.islower(); str.isprintable() Python 3.x only; str.isspace(); str.istitle(); str.isupper(); str.join(iterable); str.ljust(width[, fillchar]); str.lower(); str.lstrip([chars]); str.maketrans(x[, y]]) Python 3.x only.
Str.partition(sep)str.replace(old, new[, count]); str.rfind(sub[, start[, end]]); str.rindex(sub[, start[, end]]); str.rjust(width[, fillchar]); str.rpartition(sep); str.rsplit([sep[, maxsplit]]); str.rstrip([chars]); str.split([sep[, maxsplit]]); str.splitlines ([keepends]); str.startswith(prefix[, start[, end]]); str.strip ([chars]); str.swapcase(); str.title(); str.translate(table[, deletechars]) Python 2.x; str.translate(table) Python 3.x; str.upper(); str.zfill(width); Print Statement; Python 2.x String Formatting; Python 3.x String Formatting; Chapter 5: Conditional Statements.
Summary The Python Quick Syntax Reference is the 'go to' book that contains an easy to read and useguide to Python programming and development. This condensed code and syntaxreference presents the Python language in a well-organized format designed tobe used time and again. You won't find jargon, bloated samples, case studies, or history of Hello Worldand computer theory in this handy reference. This Python syntax reference ispacked with useful information and is a must-have for any Python developer.
Language English.
Subject Python (Computer program language)
Python (Langage de programmation)
Python (Computer program language)
In: Springer eBooks
Other Form: Printed edition: 9781430264781
ISBN 9781430264798 (electronic bk.)
1430264799 (electronic bk.)
Standard No. 10.1007/978-1-4302-6479-8 doi
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information