All Projects → macloo → python-beginners

macloo / python-beginners

Licence: MIT License
For students who are learning Python3, with only intermediate JavaScript skills at the start

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
Jupyter Notebook
11667 projects
CSS
56736 projects

Projects that are alternatives of or similar to python-beginners

Python Tutorial
A Python 3 programming tutorial for beginners.
Stars: ✭ 647 (+1602.63%)
Mutual labels:  learn-to-code, beginner
Tic Tac Vue
A simple Tic-Tac-Toe game written in Vue.
Stars: ✭ 29 (-23.68%)
Mutual labels:  learn-to-code, beginner
Phoenix Todo List Tutorial
✅ Complete beginners tutorial building a todo list from scratch in Phoenix 1.5.3 (latest)
Stars: ✭ 65 (+71.05%)
Mutual labels:  learn-to-code, beginner
course-javascript-basics
Free and open-source JavaScript Fundamentals Course on EXLskills.com
Stars: ✭ 33 (-13.16%)
Mutual labels:  learn-to-code
barebones
Barebones multiboot kernel for beginners
Stars: ✭ 126 (+231.58%)
Mutual labels:  beginner
Lumos
😴 Smart Lighting for Better Sleep
Stars: ✭ 98 (+157.89%)
Mutual labels:  beginner
Yet Another Algorithms Repository
Beginner friendly repo for easily contributing algorithms' implementations
Stars: ✭ 31 (-18.42%)
Mutual labels:  beginner
go-exercices
Exercices from the Go tour
Stars: ✭ 27 (-28.95%)
Mutual labels:  beginner
coding-ai
CodingAI is an open source application and it helps to find a mentor related your technologies stack.
Stars: ✭ 60 (+57.89%)
Mutual labels:  learn-to-code
Hacktoberfest-2021
This Repo is created for beginners to promote open source contribution (hacktoberfest). The steps are provided in the readme file. Give it a star⭐ if you liked it :)
Stars: ✭ 52 (+36.84%)
Mutual labels:  beginner
SixtyFourBits
x64 Assembly Demo Framework
Stars: ✭ 21 (-44.74%)
Mutual labels:  learn-to-code
ICM-2018
Syllabus for ITP Foundation Course Introduction to Computational Media, Fall 2018
Stars: ✭ 57 (+50%)
Mutual labels:  beginner
starcli
✨ Browse trending GitHub projects from your command line
Stars: ✭ 436 (+1047.37%)
Mutual labels:  beginner
learn2code
Learn to code in any language. If
Stars: ✭ 15 (-60.53%)
Mutual labels:  beginner
codebadges
Code badges to display your progress on FreeCodeCamp, CodeSchool, Codecademy, CodeWars, GitHub etc.
Stars: ✭ 24 (-36.84%)
Mutual labels:  learn-to-code
workshops
Repository containing all workshop materials and curricula for Nuevo Foundation.
Stars: ✭ 13 (-65.79%)
Mutual labels:  beginner
minvio
Minvio is a Lightweight Java framework for developing graphical applications.
Stars: ✭ 26 (-31.58%)
Mutual labels:  learn-to-code
code-review
Um projeto onde você pode enviar seu código fonte para outras pessoas te ajudarem a melhorar
Stars: ✭ 84 (+121.05%)
Mutual labels:  beginner
frontend.ro
Open-source tutorials and a community of developers which will help you get better.
Stars: ✭ 41 (+7.89%)
Mutual labels:  learn-to-code
Demo-Portfolio-Website
A very simple portfolio website where you can find explanation to every line of code.
Stars: ✭ 59 (+55.26%)
Mutual labels:  beginner

Python Beginners

Used in conjunction with the book Automate the Boring Stuff with Python, by Al Sweigart (2015). There is a link to download his code under "Additional Content" on that page.

Since 2012, I have been teaching Python to journalism students. I used to use a set of tutorials called Learn Python the Hard Way. I sought a new set of instructions suitable for my students, whose previous experience with programming is recent and limited to client-side JavaScript.

I adopted Sweigart’s text in 2017 after examining several others. I’m really pleased with the way he introduces the basics of Python 3. I decided to abandon Python 2 in 2017, and it’s great to have found a beginner text that explains enough but not too much. I love Sweigart’s style and his examples.

The one thing I dislike in Sweigart’s book is his assumption that we would be using IDLE. We write our code in Atom and run it in Terminal (or PowerShell on Windows).

One-time how-to documents

About this repo

Below you'll see an overview of the contents. Within each folder, you'll find a README and example Python files. In the course, we cover web scraping with Python and also web apps using the Flask framework. Inside the web_scraping folder and the flask folder here, you'll find a lot more information and examples.

In the course, we spend about four weeks on scraping and another four weeks on Flask.

Here is the week-by-week schedule for the course. Python starts in week 5 there.

Week 01

Students read chapters 1 and 2 in Sweigart. Some scripts in the week01 folder are based on Sweigart’s — naturally, he has more examples than only these. See the README in the week01 folder for more information.

Example files in this folder cover if-statements, for-loops, while-loops, and random.randint. Also (very basic): print(), input(), len().

Week 02

Students read chapter 3, “Functions,” in Sweigart. See the README in the week02 folder for more information.

Example files in this folder cover functions, arguments, the return statement, scope of variables, and exception handling: try/except.

Writing modular code is not only a good practice; it also helps you to write functions you can test reliably and reuse in future work. See modular-code in the week02 folder for more information.

Week 03

Students read chapters 4 and 8 in Sweigart. See the README in the week03 folder for more information.

Example files in this folder cover loops and lists, and how to open, read, and close files.

Chapter 4 covers just about everything one needs to know about Python lists. The README highlights some of the methods, etc., we will use most often, including some things Sweigart does not cover.

Chapter 8 covers reading and writing files with Python. The information we need most often is on pages 180-183. There are a couple of things not covered that I have explained in the README.

Week 04

Students read Chapters 5 in Sweigart and learn about Python dictionaries. See the README in the week04 folder for more information.

Jupyter Cheat Sheet

Students use Jupyter Notebook to complete several assignments. The cheat sheet is helpful after Jupyter Notebook has been installed and they need to launch it, save their work, and close it correctly.

Web scraping

Students are introduced to web scraping with the BeautifulSoup library in the second week. See the README in the web_scraping folder for instructions to install BeautifulSoup, as well as some basic uses of this scraping library.

Mitchell, chapter 3

The README in the mitchell-ch3 folder supplements chapter 3 in Web Scraping with Python, by Ryan Mitchell. The chapter is very challenging for beginners, so here are a couple of .py files and examples to ease the way.

Example files are included for scraping all URLs from a page, and for scraping the same data items from numerous pages, using a list of URLs.

Mitchell, the rest of the book

The README in the more-from-mitchell folder highlights the points we cover in our third week with Web Scraping with Python, by Ryan Mitchell. We don’t have time to read the entire book, so we need to jump around and get acquainted with some common scraping problems and their solutions.

This section includes using Selenium, HTTP headers, writing scraped data to CSV files, the sleep timer in Python, and parsers.

Example files are included for writing scraped data to CSV files and to a MySQL database, using Selenium, and sending email from a Python script.

Flask

Students are introduced to Flask, a Python framework, in the fifth week of Python. See the README in the flask folder for details.

This section has several parts, explaining templates, app deployment, Flask-WTF forms, and Flask-SQLAlchemy for database apps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].