Educative – Python 101: Interactively learn how to program with Python 3

0
how to program with Python 3

Welcome to Python 101! I created this course that will help you be taught Python 3. My goal is to get you acquainted with the constructing blocks of Python in an effort to write one thing helpful your self. With interactive playgrounds that will help you be taught instantly, I’ll endeavor to not solely get you in control on the fundamentals, but in addition to point out you learn how to create helpful packages.

This course can be cut up into 5 components:

  • Part-I covers Python’s fundamentals.
  • Part-II is a small subset of Python’s Commonplace Library.
  • Part-III is intermediate materials. Half-IV is a collection of small tutorials.
  • Part-V covers Python packaging and distribution.

In my expertise, once I get completed studying an introductory textual content, I wish to then create one thing, however I do not understand how! I’ve bought the training, however not the glue to get from level A to level B. I feel it is essential to not solely train you the fundamentals, but in addition cowl intermediate materials.

Let me spend a couple of moments explaining what every half has to supply

In part one, we are going to cowl the next:

  • Python varieties (strings, lists, dicts, and so on)
  • Conditional statements
  • Loops
  • Record and dictionary comprehensions
  • Exception Dealing with
  • File I/O
  • Capabilities and Lessons

Part two will discuss a few of Python’s normal library. The usual library is what comes pre-packaged with Python. It’s made up of modules which you could import to get added performance. For instance, you may import the **math** module to achieve some excessive stage math features. I can be cherry selecting the modules I take advantage of essentially the most as a day-to-day skilled and explaining how they work. The rationale I feel it is a good concept is that they’re widespread, every single day modules that I feel you’ll profit understanding about in the beginning of your Python training. This part will even cowl varied methods to put in third social gathering modules. Lastly, I’ll cowl learn how to create your individual modules and packages and why you’d wish to do this within the first place. Listed below are among the modules we can be masking:

  • csv
  • ConfigParser
  • logging
  • os
  • smtplib / e-mail
  • subprocess
  • sys
  • thread / queues
  • time / datetime

Part three will cowl intermediate odds and ends. These are matters which are helpful to know, however not essentially required to have the ability to program in Python. The matters coated are:

  • the Python debugger (pdb)
  • decorators
  • the lambda perform
  • code profiling
  • a testing introduction

Part 4 can be made up of small tutorials that can allow you to to discover ways to use Python in a sensible manner. On this manner, you’ll discover ways to create Python packages that may truly do one thing helpful! You’ll be able to take the information in these tutorials to create your individual scripts. Concepts for additional enhancements to those mini-applications can be offered on the finish of every tutorial so you’ll have one thing which you could check out by yourself. Listed below are a couple of of the third social gathering packages that we’ll be masking:

  • pip and simple\_install
  • configobj
  • lxml
  • requests
  • virtualenv
  • pylint / pychecker
  • SQLAlchemy

Half 5 goes to cowl learn how to take your code and provides it to your mates, household and the world! You’ll be taught the next:

  • How one can flip your reusable scripts into Python “eggs”, “wheels” and extra
  • How one can add your creation to the Python Package deal Index (PyPI)
  • How one can create binary executables so you may run your software with out Python
  • How one can create an installer on your software

Download Python 101: Interactively learn how to program with Python 3

LEAVE A REPLY

Please enter your comment!
Please enter your name here