You are here

Introductory Python

Introductory Python


NYC Data Science Academy
500 8th Ave
Ste 905
New York, NY 10018
Register for Course
Monday, June 3, 2019 - 3:00pm


This is a class for computer-literate people with no programming background wishing to learn basic Python programming. The course is aimed at those needing to do data wrangling manipulating downloaded files to make them amenable to analysis. We concentrate on language basics such as list and string manipulation, control structures, and simple I/O, and introduce modules for downloading data from the web. Required Materials Students should bring a laptop to class. Week 1: List manipulation Simple values and expressions Defining functions, using ordinary syntax and lambda syntax Lists Built-in functions and subscripting Nested lists Functional operators: map and filter List comprehensions Multiple-list operations: map and zip Functional operators: reduce Week 2: Strings and simple I/O Characters Strings as lists of characters Built-in string operations Input files as lists of strings Print statement Reading data from the web Using the requests package String-based web scraping (e.g. handling csv files) Week 3: Control structures Statements vs. expressions For loops Variables in for loops If statements Simple and nested if statements Conditional expressions in lambda functions While loops break and continue Week 4: Advanced topics File I/O Exceptions Dictionaries Using modules and objects Tree-based web scraping using BeautifulSoup

Register for Course

Additional Sessions