Brief Introduc.on to Python and Network Programming Phani Vadrevu - - PowerPoint PPT Presentation

brief introduc on to python and network programming
SMART_READER_LITE
LIVE PREVIEW

Brief Introduc.on to Python and Network Programming Phani Vadrevu - - PowerPoint PPT Presentation

Brief Introduc.on to Python and Network Programming Phani Vadrevu pvadrevu@uga.edu h=ps://github.com/phani-vadrevu/ home-monitor Goals Brief introduc.on to Python End to end programming solu.on for a sample problem Why ? Why


slide-1
SLIDE 1

Brief Introduc.on to Python and Network Programming

Phani Vadrevu pvadrevu@uga.edu h=ps://github.com/phani-vadrevu/ home-monitor

slide-2
SLIDE 2

Goals

  • Brief introduc.on to Python
  • End to end programming solu.on for a sample

problem

slide-3
SLIDE 3

Why ?

  • Why Programming?
  • Why Python?
slide-4
SLIDE 4

Why ?

  • Why Programming?

– – Fun: Hacking, Analysis

  • Why Python?
slide-5
SLIDE 5

Why ?

  • Why Programming?

– – Fun: Hacking, Analysis

  • Why Python?
slide-6
SLIDE 6

Why ?

  • Why Programming?
  • Why Python?

– Easy to learn – Generally terse – Large availability of libraries

slide-7
SLIDE 7

Hello, World!

  • Comes pre-installed on most Unix-based

systems

– OS X – Ubuntu, Debian

  • $ python program_name.py
slide-8
SLIDE 8

Dealing with Road Blocks

1. Google

– h=p://lmgWy.com/?q=print+without+new+line+python#

2. Read documenta.on

– Not videos!

  • Not everything is in videos, not indexable

3. Read examples

– Documenta.on, Q&A boards, blog posts – Tinker with examples – Be brave; try all solu.ons even if lengthy

4. Isolate the problem 5. Ask in Q&A boards

– Try Stack Exchange: Good answer rate

6. Consider alternate approaches 7. Ask developers 8. Take a break

slide-9
SLIDE 9

Other Ideas

  • Extend this to do some video capture
  • Analysis: Traffic from Atlanta to Athens

– Use Google Maps API

  • Analysis: Which city has the worst traffic?
  • Hacking: Automa.cally email your favorite

celebrity’s social media posts.