Skip to content

An ever-evolving beginner's guide to Python and SQL (including examples of popular Python LeetCode challenges)

Notifications You must be signed in to change notification settings

bg-write/python-SQL-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python & SQL Cheatsheet: An Ever-Evolving Beginner's Guide by Brady Gerber

GitHub issues

Python 101

Python & SQL in Three Sentences

Python is a high-level interpreted and object-oriented programming language. Like JavaScript, it doesn't have to be compiled before it can be executed - it runs within an interpreter (like the Python Shell) that handles the conversion into machine code.

SQL (Structured Query Language, pronounced "sequel") is how we manage structured data and communicate with relational databases.


Python in More Details

Via Asabeneh's helpful "30 Days of Python" repo:

"Python is a high-level programming language for general-purpose programming. It is an open source, interpreted, objected-oriented programming language. Python was created by a Dutch programmer, Guido van Rossum. The name of Python programming language was derived from a British sketch comedy series, Month Python's Flying Circus. The first version was released on February 20, 1991."


Getting Started

In the py_guides and sql_guides folders, you'll find topics divided into different files. This guide is not meant to be deployed. My focus is fleshing out my notes on Python before moving on to SQL.

Also, make sure you first download Python and learn how to set up the Python Shell (instructions to come).

Python Topics Covered

  • The Very Basics (writing comments & print)
  • Variables, Data, and Values
  • Doing Math
  • Playing with Strings
  • Expressions & Loops
  • Dictionaries
  • Lists
  • Tuples
  • Objects, Classes, and OOP
  • Functions
  • Simple PY solutions to Popular Technical Challenges

This guide doesn't include everything to know. It is, however, a great place to start.


Python Cheatsheet Style Guide

The Python guide follows Google's Python style guide as closely as possible. This involves the following:

  • Using pylint for code linting
  • Using yapf for auto-formatting
  • Including Google's setting file for Vim and pylintrc

SQL Cheatsheet Style Guide

An SQL guide is forthcoming, as well as notes on accessibility and testing.


Want More Python & SQL Practice?

Many people enjoy LeetCode, but I think NeetCode and CodeSignal are easier to use and include more approachable coding questions.


Closing Credits

Thank you to my instructors at General Assembly for my first steps into Python and SQL. Also shout-out to the many helpful YouTube channels I still refer to: Traversy Media, Web Dev Simplified, The Net Ninja, Programming with Mosh, and Fireship.

© 2023 Brady Gerber. All Rights Reserved.

About

An ever-evolving beginner's guide to Python and SQL (including examples of popular Python LeetCode challenges)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published