CoreyMS

Development, Design, DIY, and more

  • Contact
  • Portfolio
  • Development
    • Python
    • Git
    • Terminal
    • JavaScript
    • WordPress
  • Design
    • CSS
  • DIY
    • Woodworking
    • Home Improvement
  • Contributors
  • Support
  • Giveaway

How to Write Python Scripts to Analyze JSON APIs and Sort Results

April 9, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to grab data from a JSON API, parse out the information we want, and then sort the data using a custom key. The API we will be using is a JSON API for Homebrew Packages and we will be sorting the packages by their popularity. We cover a lot of topics in this tutorial. We will be using the Requests Library, converting to/from JSON, reading and writing to files, writing our own sorting function, and more. Let’s get started…

Filed Under: Development, Python Tagged With: API, brew, data, Data Science, homebrew, JSON, Sorting

Python Tutorial: VENV (Windows) – How to Use Virtual Environments with the Built-In venv Module

April 6, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to use virtual environments on the Windows operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…

Filed Under: Development, Python Tagged With: venv, virtual environment, virtualenv

Python Tutorial: VENV (Mac & Linux) – How to Use Virtual Environments with the Built-In venv Module

April 6, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to use virtual environments on the Mac and Linux operating systems with the built-in venv module. We will learn how to create them, activate them, remove them, and much more. Let’s get started…

Filed Under: Development, Python Tagged With: venv, virtual environment, virtualenv

10 Python Tips and Tricks For Writing Better Code

March 25, 2019 by Corey Schafer Leave a Comment

In this Python Programming video, we will be going over 10 tips and tricks for writing Pythonic code. Here are the timestamps for each topic we will cover…
1) Ternary Conditionals – 0:34
2) Underscore Placeholders – 2:13
3) Context Managers – 4:25
4) Enumerate – 6:50
5) Zip – 8:52
6) Unpacking – 13:02
7) Setattr/Getattr – 19:08
8) GetPass – 26:24
9) Python dash m – 29:18
10) Help/Dir – 33:17

Filed Under: Development, Python Tagged With: context manager, dir function, enumerate, getattr, getpass, help function, setattr, ternary operator, tips and tricks, underscores, unpacking, zip

How to Send Emails Using Python – Plain Text, Adding Attachments, HTML Emails, and More

March 18, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to send emails. We’ll start with simple plain text emails and then learn how to construct more advanced messages. We will learn how to attach images, PDFs, create HTML messages, and more. Let’s get started…

Filed Under: Development, Python Tagged With: email, gmail, smtp, smtplib

Python Tutorial: Web Scraping with Requests-HTML

March 11, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to scrape websites using the Requests-HTML library. Requests-HTML is an excellent tool for parsing HTML code and grabbing exactly the information you need. So whether you’re pulling down headlines from news sites, scores from sports websites, or prices from an online store… Requests-HTML and Python will help you get this done quickly and easily. Let’s get started…

Filed Under: Development, Python Tagged With: requests, requests-html, web scraping

Python Tutorial: Write a Script to Monitor a Website, Send Alert Emails, and Reboot Servers

March 4, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we’re going to be looking at a real-world example of writing a script to monitor a website. If the website doesn’t return a successful response for any reason then we will send an email and reboot the web server. Let’s get started…

Filed Under: Development, Python Tagged With: email, Linode, monitor, requests

Python Requests Tutorial: Request Web Pages, Download Images, POST Data, Read JSON, and More

February 26, 2019 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to use the Requests library. The Requests library allows us to send HTTP requests and interact with web pages. We will be learning how to grab the source code of a site, download images, POST form data to routes, read JSON responses, perform authentication, and more. Let’s get started…

Filed Under: Development, Python Tagged With: http, JSON, requests, web scraping

Python Django Tutorial: Deploying Your Application (Option #2) – Deploy using Heroku

February 19, 2019 by Corey Schafer Leave a Comment

In this Python Django Tutorial, we will be learning how to deploy our application to Heroku. Heroku is a platform that abstracts away a lot of the low-level system administration and allows us to easily deploy, update, and rollback changes for our application. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Django, Heroku, Programming, Video, web development, web framework

Python Django Tutorial: Full-Featured Web App Part 13 – Using AWS S3 for File Uploads

February 18, 2019 by Corey Schafer Leave a Comment

In this Python Django Tutorial, we will be learning how to set up AWS S3 so that we can host our media files from that service instead of our local filesystem. AWS S3 is very affordable and will also allow our application to scale much more than if our files lived on our local filesystem. Let’s get started…

Filed Under: Development, Python Tagged With: aws, Computer Science, Django, Programming, s3, Video, web development, web framework

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 9
  • Next Page »

Main Contributor

  • Andre Nevares

Top Contributors (17)

  • Andre Nevares
  • Cyril Hediger
  • Abhilash Rajan
  • Hien Nguyen
  • Alan Hawse – iotexpert.com
  • Just a Guy
  • Alex Canady
  • Sergey Trubin
  • Justin Presley
  • Sirake
  • chris
  • Jerome Massey
  • Robert Butler
  • Jonathan Llovet
  • David Myers
  • Karthik
  • Michael Zoitas

Thank You! If you would like to have your name listed as a contributor and support the website, you can do so through my Patreon Page. I am extremely grateful for any support.

Search CoreyMS.com

Subscribe to Future Posts

Recommended Books

Podcasts I Listen To

Tech Related:
Talk Python To Me
Shoptalk Show
Software Engineering Radio
HanselMinutes
CodePen Radio

Non-Tech Related:
Dan Carlin's Hardcore History
Bill Burr's Monday Morning Podcast
Waking Up with Sam Harris
StarTalk Radio
Talk Nerdy with Cara Santa Maria

© 2023 · CoreyMS · Corey Schafer