CoreyMS

Development, Design, DIY, and more

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

Python Quick Tip: Hiding Passwords and Secret Keys in Environment Variables (Windows)

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to hide passwords and secret information within environment variables on Windows machines. Hard-coding secret information is a common mistake that beginners make when learning Python. Hiding this information within environment variables allows you to access your secret information within your code without anyone else being able to see these values from your source code. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, Video, Windows

Python Quick Tip: Hiding Passwords and Secret Keys in Environment Variables (Mac & Linux)

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to hide passwords and secret information within environment variables on Mac and Linux machines. Hard-coding secret information is a common mistake that beginners make when learning Python. Hiding this information within environment variables allows you to access your secret information within your code without anyone else being able to see these values from your source code. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Linux, Mac, OS X, Programming, Video

Python Tutorial: Calculate Number of Days, Weeks, or Months to Reach Specific Goals

March 29, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be writing three different scripts to estimate how long it will take to reach certain goals. Our first script will calculate how many months it will take us to pay off a credit card. Our second script will calculate how many weeks it will take to lose a certain amount of weight. And our third script will estimate how long it will take to reach a certain number of subscribers. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, Video

Python Tutorial: Context Managers – Efficiently Managing Resources

December 22, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to use context managers to properly manage resources. Context Managers are great for when we need to setup or teardown some resources during use. So these can be used for: open and closing files, opening and closing database connections, acquiring and releasing locks, and much much more. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, context manager, contextlib, Programming, Video

Python Tutorial: Working with JSON Data using the json Module

December 6, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to work with JSON data. We will learn how to load JSON into Python objects from strings and how to convert Python objects into JSON strings. We will also see how to load JSON from a file and save those Python objects back to files. Let’s get started…

Filed Under: Development, Python Tagged With: API, Computer Science, JSON, Programming, Video

Python Tutorial: Web Scraping with BeautifulSoup and Requests

November 8, 2017 by Corey Schafer 2 Comments

In this Python Programming Tutorial, we will be learning how to scrape websites using the BeautifulSoup library. BeautifulSoup 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… BeautifulSoup and Python will help you get this done quickly and easily. Let’s get started…

Filed Under: Development, Python Tagged With: beautifulsoup, Computer Science, parse html, Programming, requests, Video, web scraping

Python Tutorial: re Module – How to Write and Match Regular Expressions (Regex)

October 24, 2017 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning how to read, write, and match regular expressions with the re module. Regular expressions are extremely useful for matching common patterns of text such as email addresses, phone numbers, URLs, etc. Learning how to do this within Python will allow us to quickly parse files and text for the information we need. Let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, Programming, re module, regex, regular expressions, Video

Linux/Mac Terminal Tutorial: How To Use The rsync Command – Sync Files Locally and Remotely

October 10, 2017 by Corey Schafer 1 Comment

In this Linux/Mac terminal tutorial, we will be learning how to use the rsync command. The rsync command will allow you to sync file and directories on your local machine or even over a network between servers. This is a great tool for running backups, for only copying diffs, or even for deploying segments of code. Let’s get started…

Filed Under: Development, Terminal Tagged With: Command Line, Computer Science, Linux, Mac, OS X, Terminal, Video

Regular Expressions (Regex) Tutorial: How to Match Any Pattern of Text

October 10, 2017 by Corey Schafer Leave a Comment

In this regular expressions (regex) tutorial, we’re going to be learning how to match patterns of text. Regular expressions are extremely useful for matching common patterns of text such as email addresses, phone numbers, URLs, etc. Almost every programming language has a regular expression library, so learning regular expressions with not only help you with finding patterns in your text editors, but also you’ll be able to use these programming libraries to search for patterns programmatically as well. Let’s get started…

Filed Under: Development Tagged With: Computer Science, Programming, regex, regular expressions, Video

5 Essential Skills Every Well-Rounded Programmer Should Know

September 19, 2017 by Corey Schafer Leave a Comment

In this video, we will be looking at 5 skills that you can learn on top of your main programming language to make you a well-rounded programmer. These skills will make you more marketable when looking for a job, and can sometimes be the deciding factor when choosing between candidates.

Filed Under: Development Tagged With: Computer Science, Programming, Video

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 15
  • 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