Skip to content

sagecodes/intro-to-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn to Code: Introduction to Python

Learn more Python and much more with the free Galvanize Data Science Prep course! http://bit.ly/gprepdata

Get to this repo by typing in URL: py.sage.codes

FAQ:

  • WIFI: Galvanize Guest | Password is posted on the wall
  • Bathrooms: Behind you down the hall to the left
  • Kitchen outside back classroom door with Coffee & Tea!
  • Snacks + water in back of room

Setting up your computer

Please set up the following:

  • A web browser to see what we're working on as others see it (Recommend Google Chrome: [chrome.google.com] (http://chrome.google.com))

  • We will be using an online text editor for this workshop called Google colab. You can check it out here. Use a google account to sign in.

Well... that was easy!

What this workshop is

A super friendly introduction to Python No previous experience expected!

You can't learn EVERYTHING in ~2 hours. But you can learn enough to get excited and comfortable to keep working and learning on your own!

  • This course is for absolute beginners
  • Ask Questions!
  • Answer Questions!
  • Help others when you can
  • Its ok to get stuck, just ask for help!
  • Feel free to move ahead
  • Be patient and nice

Here's what we'll be doing:

  • Overview of basic Python and programming concepts
  • Solve Problems in Python
  • Play around and break things

Challenges:

Get the most out of this workshop! We'll occasionally do a "CHALLENGE" where I give you an exercise to do in several minutes. It can be even more effective to partner up with someone next to you, but you can work on your own if you want. No pressure to solve the challenge. I'll share how I would solve it after the time is up.

About me:

Hello I'm Sage Elliott. I'm a Technology Evangelist here at Galvanize! For the past decade I've worked as a software and hardware engineer with Startups and Agencies in Seattle, WA and Melbourne, FL. I love making things with technology! I'm Currently learning more about computer vision and deep learning deep learning!

Note: I'm not a Galvanize Instructor, they're way better at teaching!

Reach out to me if interested in:

  • breaking into the tech industry
  • learning resources
  • meetup recommendations
  • learning more about Galvanize
  • giving me suggestions for events!
  • being friends

About you!

Give a quick Intro!

  • Whats your name?
  • Whats your background?
  • Why are you interested in Python?

FAQ repeat for anyone who just walked in:

  • Get to this repo by typing in URL: py.sage.codes
  • WIFI: Galvanize Guest | Password is posted on the wall
  • Bathrooms: Behind you down the hall to the left
  • Kitchen outside back classroom door with Coffee & Tea!
  • Snacks + water in back of room

You need:

  • A web browser to see what we're working on as others see it (Recommend Google Chrome: [chrome.google.com] (http://chrome.google.com))
  • We will be using an online text editor for this workshop called Google colab. You can check it out here. Use a google account to sign in.

What is Python?

Python is a programming language

What is programming?

Programming is giving your computer a set of instructions to perform a task.

This sounds simple but it can get complicated!

A VERY brief history

Created by Guido van Rossum and released in 1991.

Python is Known ease of learning, code readability (must use code indents), and a massive ecosystem of libraries that easily expand its usefulness is many fields.

Read more about the history of Python here.

Who uses Python?

A lot of places do!

  • Large Companies (Google, Facebook)
  • Startups
  • Agencies
  • Majority of companies doing data science

What can you do with Python

  • Web Development
    • Back-End (frameworks: Django, Flask, more)
  • Data Science and AI
    • Data Analysis
    • Machine Learning
    • Deep Learning
    • Computer Vision
    • Natural Language Processing
  • Embedded(Hardware)
  • Devops

Popular Frameworks and libraries to keep in mind

When learning more about Python you'll probably see some of these pop up as you continue to study

  • Web

    • Django
    • Flask
    • pyramid
  • Data Science

    • Tensorflow
    • Keras
    • Numpy
    • Pandas
    • Scikit Learn
    • OpenCV

Note: if you're thinking of exploring data science with python look into using Anaconda to manage your python and data libraries

Also Google Colab is a awesome place to start as well without having to install anything!

Python Basics:

Or type the url pylab.sage.codes

YOU DID IT! YOU'RE NOW A PROGRAMMER!

Welcome! :)

Review:

What is a Variable

A variable is something you can store information into.

What are the three common ways to declare a string

'Single quotes' "Double quotes" '''Triple Single quotes'''

What is a Boolean?

A boolean can be set to True or False. Yes and No.

What is a List in python?

A list can store multiple values in order.

ls = ["apples","oranges","bannas"]

How is a Dictionary (Dict) in python different than a list?

Dictionary has a key value pair. You usually interact with it by calling a key. person['age']

What the difference between a for loop and a while loop?

for loops are usually used to loop a certain amount of times

while loops will loop until a condition is met.

What is a function in Python?

A function is a chunk of code that you can reuse and pass data into

How do you make a comment in Python?

use the # in front of it

What is a conditional in Python?

A way to check if data meets a certain condition or not. if elif else.

What does the `%` Modulo do?

The modulo return the remainder

Keep learning!


Learn more Python and much more with the free Galvanize Data Science Prep course! http://bit.ly/gprepdata


More learning resources:

Upcoming Events!

Visit the Learn to code Seattle meetup for all upcoming events.

More events will be posted for June soon!

What is Galvanize?

We create a technology ecosystem for learners, entrepreneurs, startups and established companies to meet the needs of the rapidly changing digital world.

  • Education
  • Co-Working
  • Events
  • Enterprise

Galvanize Classes

Immersive Bootcamp

Transform your career with our immersive programs

Remote options:

check out Galvanize.com

Part-Time Courses

Learn while working with out evening part-time classes

Galvanize.com

Co-working Space

work in our building!

Questions

Please feel free to reach out to me with any questions! Let me know what you're planning to do next and how I can help!

About

Introduction to Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published