Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Python: Programming For Intermediates: Learn The Basics Of Python In 7 Days!
Python: Programming For Intermediates: Learn The Basics Of Python In 7 Days!
Python: Programming For Intermediates: Learn The Basics Of Python In 7 Days!
Ebook144 pages1 hour

Python: Programming For Intermediates: Learn The Basics Of Python In 7 Days!

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Eager to learn Python Programming Quickly?

This book is the ultimate guide to python programming for intermediates. It will enable you to learn all that in as little as 7 days.
In this second edition of the tutorial, we will cover a range of topics that will help you understand and perform complex Python programming projects. My assumption is that you already know the basics of Python including downloading and installing important Python programs and working with the basic Python functions. Otherwise, you need to revisit the first edition to make sure you are ready to take on intermediate level programming.

Here's what we will talk about in this book: 
✓    Shallow copy and deep copy
✓    Objects and classes in Python–including python inheritance, multiple inheritances, and so on
✓    Recursion in Python
✓    Debugging and testing
✓    Fibonacci sequence (definition) and Memoization in Python in Python
✓    Arguments in Python
✓    Namespaces in Python and Python Modules
✓    Simple Python projects for Intermediates

By reading this book, you will learn all that and much more. Let's begin. 

LanguageEnglish
Release dateApr 24, 2020
ISBN9781386482055
Python: Programming For Intermediates: Learn The Basics Of Python In 7 Days!

Read more from Maurice J. Thompson

Related to Python

Related ebooks

Programming For You

View More

Related articles

Reviews for Python

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Python - Maurice J. Thompson

    Python Programming For Intermediates

    ––––––––

    Learn The Basics of Python in 7 Days

    Maurice J. Thompson

    Introduction

    I want to thank you and congratulate you for downloading the book, "Python Programming For Intermediates: Learn The Basics of Python in 7 Days".

    This book is the ultimate guide to python programming for intermediates. It will enable you to learn all that in as little as 7 days.

    Congratulations for making it to this level and welcome to the second edition of our Python programming in 7 days series. I hope you had fun with the beginner’s edition and are ready to learn some more!

    In case you have forgotten, Python is the best programming language for learners or established programmers not only because of its convenience and ease of use, but also because it makes coding so attractive and fun.

    In this second edition of the tutorial, we will cover a range of topics that will help you understand and perform complex Python programming projects. My assumption is that you already know the basics of Python including downloading and installing important Python programs and working with the basic Python functions. Otherwise, you need to revisit the first edition to make sure you are ready to take on intermediate level programming.

    Let us start by mentioning what we covered in the first edition of this series:

    ✓  Downloading and installing Python on major operating systems

    ✓  How to interact with Python

    ✓  Writing your first program

    ✓  Methods and functions–including variables, strings, lists, tuples, and dictionaries

    ✓  Loops 

    ✓  User defined functions

    ✓  Beginner level Python projects

    In this book, we will talk about the following:

    ✓  Shallow copy and deep copy

    ✓  Objects and classes in Python–including python inheritance, multiple inheritance, and so on

    ✓  Recursion in Python

    ✓  Debugging and testing

    ✓  Fibonacci sequence (definition) and Memoization in Python in Python

    ✓  Arguments in Python

    ✓  Namespaces in Python and Python Modules

    ✓  Simple Python projects for Intermediates

    By reading this book, you will learn all that and much more. Let’s begin.

    Thanks again for downloading this book. I hope you enjoy it!

    ––––––––

    Download the Audiobook version of this book by clicking here:

    https://itunes.apple.com/us/audiobook/python-programming-your-intermediate-guide-to-learn/id1448033975

    © Copyright 2018 by Maurice J. Thompson - All rights reserved.

    This document is geared towards providing exact and reliable information in regards to the topic and issue covered. The publication is sold with the idea that the publisher is not required to render accounting, officially permitted, or otherwise, qualified services. If advice is necessary, legal or professional, a practiced individual in the profession should be ordered.

    - From a Declaration of Principles which was accepted and approved equally by a Committee of the American Bar Association and a Committee of Publishers and Associations.

    In no way is it legal to reproduce, duplicate, or transmit any part of this document in either electronic means or in printed format. Recording of this publication is strictly prohibited and any storage of this document is not allowed unless with written permission from the publisher. All rights reserved.

    The information provided herein is stated to be truthful and consistent, in that any liability, in terms of inattention or otherwise, by any usage or abuse of any policies, processes, or directions contained within is the solitary and utter responsibility of the recipient reader. Under no circumstances will any legal responsibility or blame be held against the publisher for any reparation, damages, or monetary loss due to the information herein, either directly or indirectly.

    Respective authors own all copyrights not held by the publisher.

    The information herein is offered for informational purposes solely, and is universal as so. The presentation of the information is without contract or any type of guarantee assurance.

    The trademarks that are used are without any consent, and the publication of the trademark is without permission or backing by the trademark owner. All trademarks and brands within this book are for clarifying purposes only and are the owned by the owners themselves, not affiliated with this document.

    Table of Contents

    Introduction

    Shallow Copy, Deep Copy

    Using the Slice Operator

    Using The Module’s Copydeep Copy Method

    Recursion in Python (Recursive Functions)

    Meaning of Recursion

    Applications of Recursion

    Classes and Objects: Understanding their Meaning

    Defining a Class

    Constructors

    Deleting Attributes and Objects

    Inheritance in Python

    Parent Classes

    Child Classes

    Overriding Parent Methods

    The Function ‘Super()’

    Multiple Inheritance

    Operator Overloading

    Python’s Special Functions

    Overloading the Operator ‘+’ In Python

    Overloading Python’s Comparison Operators

    Breather: Debugging and Testing

    The Fibonacci sequence

    Memoization in Python

    The Fibonacci Square

    Manual Memoization (Memoization by Hand)

    Manual Memoization: Objects

    Manual Memoization: Using ‘Global’

    Decorators

    Arguments in Python

    Variable Function Arguments

    Best Practice for Python Function Arguments

    Things You Need To Remember About Arguments

    Specifying Dynamic Default Arguments using ‘none’ and Docstrings

    Enforcing Clarity with Keyword-Only Arguments

    Python 2’s Keyword-Only Arguments

    Namespaces in Python

    Meaning of Namespaces

    Scope

    Scope Resolution

    Python Modules

    Importing a Module

    Built In Python Modules

    Simple Python projects for Intermediates

    1: Scrabble Challenge

    2: ‘Where Is the Space Station’ Project

    3: Creating a simple Keylogger

    Conclusion

    To start us off today, we will first talk about shallow and deep copy.

    Shallow Copy, Deep Copy

    From what you already know about Data Types and Variables, you know that Python is different from most other programming languages especially during the copying and assigning of simple data types such as strings and integers.

    Enjoying the preview?
    Page 1 of 1