Video description
This course will help you learn Python, one of the most popular programming languages. Python offers both object oriented and structural programming features. We take a hands-on approach using a combination of Python Shell and PyCharm as an IDE to illustrate more than 100 Python coding exercises, puzzles, and code examples. We convert a number of Java examples to Python. You will learn about implementing Object Oriented Programming concepts in Python, inheritance, abstract classes, and constructors; you will also get a better understanding of a wide variety of Python data structures: lists, sets, dictionaries, and tuples.
What You Will Learn
- Start your journey as a Python programmer
- Develop awesome object-oriented programs with Python
- Implement Object Oriented Programming concepts in Python: inheritance, abstract classes, and constructors
- Master a wide variety of Python data structures: lists, sets, dictionaries, and tuples
- Solve a wide variety of hands-on exercises with Python
Audience
This course is designed for experienced Java Programmers; no prior knowledge of Python is required.
About The Author
Ranga Rao Karanam: Ranga Rao Karanam is the founder of in28Minutes, a company that trains 300,000 developers across the globe in relation to the cloud, microservices, Spring, Spring Boot, and Containers. He loves programming, and loves consulting for start-ups on developing scalable cloud applications and following modern development practices, such as BDD, continuous delivery, and DevOps.
In his spare time, he loves hiking, cricket, and tennis. His ambition is to spend a year hiking the Himalayas.
Table of contents
- Chapter 1 : Introduction
-
Chapter 2 : Getting Started With Python
- Hello World in Python
- Hello World in Python - Making Sense
- Importing-Java-Code-into-Eclipse
- Your First Python Method
- Your First Python Method - A Few Tips
- Passing Parameters and Your First Python Loop
- Exercises with Python Methods and For Loop
- Python For Loop – Puzzles
- Writing Java Example in Python - Part 1
- Writing Java Example in Python - Part 2
- Returning values from methods
- Introduction to Basic Data Types in Python
- Python is Strongly Typed and Dynamic Language
- Numberic Operators and Functions in Python
- Boolean Operators in Python
- Python Text Data Type – String
- Data Type Conversion – Puzzles
- Strings are immutable
- There is no separate Character data type
- String module
- Exercise - is vowel, print lower case and upper case characters
- String - Exercises and Puzzles
- Chapter 3 : Conditionals and Loops
-
Chapter 4 : Object Oriented Programming with Python
- OOPS in Python - An overview
- Your First Python Class - Empty Class and Instances
- Instance Variables and Constructors in Python
- Exercise - Part 1 - Add an attribute
- Exercise - Part 2 - Create a new Class
- Constructors in Python - A few tips
- Adding instance methods
- OOPS Under the Hood
- Inheritance in Python
- Multiple Inheritance in Python
- Every class extends object
- Creating an Abstract Class
- Representing an Interface using Abstract Class
- Polymorphism and Duck Typing
- Static Variables at Class Level
- Static Methods in Python
-
Chapter 5 : Python Data Structures
- Introduction to Data Structures in Python
- Operations on List Data Structure
- Puzzles with Strings Lists
- List Slicing
- List Sorting, Looping and Reversing
- List as a Stack and Queue
- List with a custom class - Country and representation
- List with a custom class - Part 2 - sorting, max and min
- List Comprehension
- Introduction to Set
- Introduction to Dictionary
- Puzzles with Data Structures
- Tuples
- Chapter 6 : Exception Handling in Python
- Chapter 7 : Functional Programming
- Chapter 8 : Built-In Python Modules
-
Chapter 9 : Python Tips
- Tip 1 - Loop - Getting Index Element
- Tip 2 - Enum in Python
- Tip 3 - Methods and Arguments – Basics
- Tip 4 - Methods and Arguments - Keyword Arguments
- Tip 5 - Methods and Arguments - Unpacking Lists and Dictionaries
- Tip 6 - PEP8 - Python Style Guide
- Tip 7 - PEP20 - Zen of Python
- Tip 8 - Creating Custom Modules and Using Them
- Tip 9 – None
- Tip 10 - repr vs str
- Tip 11 - No Switch in Python
- Tip 12 - Generating Random Values in Python
- Tip 13 - Returning Multiple Values using Tuples
- Tip 14 - Implementing Data Classes with namedtuple
- Tip 15 - Getters and Setters is Python Anti Pattern
- Tip 16 - Implementing Property Decorators
- Tip 17 - Operator Overloading - Adding and subtracting amounts
- Tip 18 - Operator Overloading - Other Operators
- Tip 19 - Comparing equality of objects
- Tip 20 - Using greater than and less than to compare objects
- Tip 21 - Total Ordering - Simplifying object comparison
- Congratulations
Product information
- Title: Java to Python in 100 Easy Steps
- Author(s):
- Release date: August 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789611960
You might also like
video
Python Guide for the Total Beginner LiveLessons (Video Training)
Python Guide for the Total Beginner LiveLessons Katie Cunningham is a Python developer and author of …
video
Python Programming for Beginners - Learn in 100 Easy Steps
Python is one of the most popular programming languages. Python offers both object-oriented and structural programming …
book
Cryptography and Cryptanalysis in Java: Creating and Programming Advanced Algorithms with Java SE 17 LTS and Jakarta EE 10
Here is your in-depth guide to cryptography and cryptanalysis in Java. This book includes challenging cryptographic …
video
Java Concurrency, 2/e
9+ Hours of Video Instruction Java Concurrency LiveLessons, Second Edition teaches you how to develop high-quality …