Gunnells Rapid Python Programming 2017.pdf
(
1673 KB
)
Pobierz
Rapid Python Programming
GUI Creation, Django Web Server, Game Programming, and Stock
Analysis
William C. Gunnells
1st Edition
Copyright © 2017 by William C. Gunnells. All rights reserved. No part of this book may be
reproduced or transmitted in any form or by any means, electronic or mechanical, including
photocopying, recording, or by any information storage or retrieval system, without prior written
permission from the publisher.
Notice of Liability
Every effort has been made to ensure that this book contains accurate and current information.
However, in rapidpythonprogramming.com and the author shall not be liable for any loss or damage
suffered by readers as a result of any information contained herein.
Trademarks
All trademarks are acknowledged as belonging to their respective companies.
Editor
For copy editing and instructor-led training contact Rachel Gunnells via email
rachelgunnells@icloud.com
Contact
For information about buying this title in bulk quantities, or for special sales opportunities, please
contact author via info@rapidpythonprogramming.com or visit us on the web at
http://www.rapidpythonprogramming.com
Code can be found at:
https://github.com/thecount12/rapidpythonprogramming
Rapid Django Install Script – Complete with blog can be found at:
https://github.com/thecount12/rapiddjango
ISBN-13: 978-1541043084
ISBN-10: 1541043081
Table of Contents
William C. Gunnells
1
1st Edition
2
Notice of Liability
2
Trademarks
2
Editor
2
Contact
2
Preface
8
How to use this book
9
Conventions
9
Code and Errata
9
Acknowledgments
10
Author
10
Network Penetration
10
Programming
10
Network Security and Forensics Investigation:
1 Introduction
11
1.1 Introduction
11
1.1.1 History
13
1.1.2 Installation
13
1.1.3 Windows
13
1.1.4 Linux
13
1.1.5 Editors
14
1.1.6 Case Sensitive
14
1.1.7 Additional Packages
14
1.1.8 Versions
14
1.1.9 Installation and Configuration
15
1.1.10 Python Interactive Prompt
15
1.1.11 Making a Python Script
16
1.1.12 Summary
17
1.1.13 Exercises
17
2 Strings – Operators - Conditions
17
2.0.14 Strings
17
2.0.15 Variables and Assignment
19
2.0.16 Operators, Order, Indent
19
2.0.17 Pitfalls
20
2.0.18 Integer Conversion
20
2.1 Conditions and Indentation
20
2.1.1 Flow Control if/else
20
2.1.2 For Loop
21
10
2.1.3 While Loop
21
2.1.4 Examples
21
2.1.5 Conditions and Indentation
22
2.1.6 Summary
23
2.1.7 Exercises
23
3 Input – Data structures, Modules
24
3.1 Input Function
24
3.1.1 input()
24
3.1.2 raw_input()
24
3.1.2.1 Guess Program
25
3.1.3 Declare a Function
25
3.1.4 Functions with Parameters
26
3.1.5 Functions with Default Arguments
3.2 Data Structures
26
3.2.1 help(list)
26
3.2.2 help(tuple)
27
3.2.3 Tuple in Print Statement
27
3.2.4 Dictionary
27
3.2.5 Sequence
28
3.2.6 More on Strings
28
3.3 Modules
28
3.3.1 sys Module
29
3.3.2 Practical Usage:
30
3.3.3 from import
30
3.3.4 Testing a Module
31
3.3.5 Summary
31
3.3.6 Exercises
31
4 Files
32
4.1 File
32
4.1.1 The Basics
32
4.1.2 Variations of Reading Data
32
4.1.3 Parsing a file
33
4.1.4 Binary Files
34
4.1.5 Pickle
34
4.1.6 Let's Pickle
34
4.1.7 cPickle
35
4.1.8 Python with Statement
36
4.1.8.1 File Handling Modes
36
4.1.8.2 File A ttributes
36
4.1.9 Deep Binary Manipulation
37
4.1.9.1 bit string manipulation
37
4.1.10 Binary Struct
39
4.1.11 Summary
40
4.1.12 Exercises
40
5 Exceptions
40
26
Plik z chomika:
jezuss
Inne pliki z tego folderu:
100 Skills to Better Python.pdf
(2998 KB)
Alchin Pro Python 2010.pdf
(2983 KB)
Automate the Boring Stuff with Python Practical Programming for Total Beginners by Al Sweigart.pdf
(17040 KB)
Automate the Boring Stuff with Python, 2nd Edition by Al Sweigart (z-lib.org).pdf
(14545 KB)
Baba Python Data Structures and Algorithms 2017.pdf
(11331 KB)
Inne foldery tego chomika:
20 Adobe Products Books Collection Pack-1
20 Programming Books Collection Pack-12
20 Programming Books Collection Pack-13
20 Programming Books Collection Pack-2 ( C, C++ and More )
8th Edition, 2019
Zgłoś jeśli
naruszono regulamin