Tuesday, January 5, 2016

Day 8

I jumped way ahead and tried Selenium today. It was great. I was quickly able to identity things that will help with work.

I am still going though the questions and excesizes on the automate the boring stuff website.

Sunday, January 3, 2016

Day 7

I was originally thinking that this would be
automate the boring stuff using python in 30 days... but then I thought, lets make it 15 days... but here we are on day 7 and honestly I think I am 20% though it.

Im doing this in my spare time, a minimum of 30 minutes a day, but sometimes, understanding things takes longer, or I go back and rewatch videos.

Today,  was my first successful coding, I was able to take a problem and create a solution ( a simple solution) but it was a great feeling to be able to do that.

Starting today, Im going to go though the questions on the website and follow along with the website a bit more than I have been doing.

I will likely copy and paste more info from the website as I move forward as well as information from Python.org and Stackoverflow

https://automatetheboringstuff.com/chapter0/


Doing these questions is HARD

there is also some homework with each one of them... this is really getting me going good.

but it takes time... I think I need to take it easy on the 30 day thing or it is going to stress me out.

Just focus on doing 30 minutes a day and I will be fine.

Saturday, January 2, 2016

Day 6

https://docs.python.org/2/library/

Functions use arguments

Print(variable) for example
In this example



  1. def spam():
  2.     eggs = 99
  3.     return eggs

  4. number = spam()
  5. print (number)


Line 6 needs the argument (number)  or it will never print 99, you will get an error.


Global and local scope. 

pythontutor.com/visualize.html


Change a global variable with a local scope variable 

  1. def spam():
  2.        global eggs
  3.        eggs = 'Hello'
  4.        print = (eggs)


  5. eggs = 42
  6. spam()
  7. print(eggs)

Try and Except



Left off on lecture 12

Friday, January 1, 2016

Day 5

global and local scope

I went back to lecture 8
I need to understand functions better. I want to make sure that I understand how they have a return and specifically understand this reddit thread that I created.

https://www.reddit.com/r/learnpython/comments/3z340l/i_am_very_new_can_someone_explain_why_this_doesnt/