Getting Started with Python

My background languages are java, objective-c, SQL, and html….but on Python!! Not a problem. I turned my attention to good ole’ youtube.com, and while I was doing the elliptical machine at 5:30am, I ran into some great videos from OneStopProgramming.

Summary steps to get started:

  • install Python exe
  • install notepad++ if you don’t already have it
  • create a simple .py script
  • open command prompt, find the .py and run it

Useful functions:

  • len(“hello”)b = 5
  • help(len) = gives info about len function
  • dir() = gives you all the variables you’ve declared
  • “H” in “Hello” = TRUE
  • “h” in “Hello” = FALSE