Python

Ways to up my code

  • Write tutorial on mastering generators
  • Create my own command line library
  • Understand thoroughly how iteration works

  • Know & perform system level tests, unit tests, and PyTests
  • Anything by David Beazley
  • FizzBuzz is a compact way to demonstrate variables, function calls, loops, and branching

Python Projects

List of Ideas:

  • HomeAssistant.io
  • Receipt Parser
  • Bills Dictionary
  • Volunteer for simple coding tasks, testing, and/or documentation
  • Downloading Monthly company statements
  • Tools I own
  • Tool storage Drawers & Bench Organization
  • Family Personal Data
  • Family Finances, Incoming & Outgoing
  • Places I’ve been to
  • Picture Organizational Project with DB
  • Parts Drawers
  • Music Collection List
  • Paycheck.xlsx

Completed Projects:

  • Script to create a default tax folder structure_2018-10

Track Fundamental Economy using 10 most important Indicators

  1. Gross Domestic Product
  2. Gross Domestic Income
  3. Consumer and Business Confidence
  4. Inflation
  5. CPI
  6. S&P 500
  7. Non-Farm Payrolls
  8. Unemployment Rate
  9. Initial Unemployment Claims (Weekly)
  10. Employment Cost Index
  • Last 4 are employment related and/or likelihood businesses will hire.  However, these are lagging indicators of monthly job numbers and unemployment rate

Get this into a table

Python Operators

  1. Assignment
  2. Arithmetic
    1. +, -, *, /, +=, -=, *=, /=, /(float), //(int)
    2. Exponentiation: **. This operator  is power to, or raises the number to its left to the power of the number to its right. For example 4**2 will give 16.
    3. Modulo: %. This operator returns the remainder of the division of the number to the left by the number on its right. For example 18 % 7equals 4.
  3. Comparison
    1. ==,  !=, >, <, >=, =<
  4. Bitwise (Binary
    1. & = and
    2. | = or
  5. Logical
    1. and
    2. or
    3. not
  6. Membership
    1. in
    2. not in
  7. Identity
    1. is
    2. is not
    3. id(enterElementHere)

Python Types

  1. Integers
  2. Floating-Point Numbers
  3. Complex Numbers
  4. Strings
  5. Boolean Type, Boolean Context, and “Truthiness”
  6. Built-In Functions

Python Type Conversion

  1. str()
  2. int()
  3. float()
  4. bool()

For Loop:
def exp(x,y):
val = 1
for i in range(y):
print(“i is: {}”.format(i))
val *= x
return val
exp(2,0)
exp(2,3)

While Loop:

def exp(x,y):
val = 1
while y:
print(“y is: {}”.format(y))
val *= x
y -= 1
return val
exp(2,0)
exp(2,3)