Skip to content

This will be our primary repository for course related materials

Notifications You must be signed in to change notification settings

DeenIbrahim/data-science-lessons

 
 

Repository files navigation

Lesson for October 16, 2017

Where have we been so far?

Terminal

Anaconda Navigator - Spyder (Python Development Environment)

Sublime (Text Editor)

Github

READMEs / Markdown Language

Agenda

1. Git fetch latest repository

$ git pull upstream master If this doesn't work, how do we make it work?

StackOverflow / Google

2. Python Functions - The most important part of Python (IMO)

Functions can be thought of as subprograms

def myPythonFunction(requirement1,requirement2):
	req3=requirement1+requirement2
	return req3

  • Libraries and their relation to functions

  • Referencing Functions in libraries: import ____________ & from ______ import * & import _______ as ___

  • Imitate the above to write your own

  • Comments/ Documentation

  • camelCase

  • THIS_IS_A_CONSTANT

  • thisIsAVariable

3. Your First Program - Hello World

  • Pseudocode

  • Readability, Spacing, Comments

  • Program Development Process

  • Reference a function in another python file (Remember directory management)

About

This will be our primary repository for course related materials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 79.4%
  • Shell 20.6%