Motivational Quotes

Hello World!, You are about the witness the beginning of an epic second coming of the 100-Day coding journey, A story that great sages will pass down from generation to generation. This quest will feature a potpourri of unfiltered joy, unrivaled pain, and unexpected epiphanies.

Some moments, I will be the smartest man alive. Others moments, I will be a stupid idiot. But each day, I will be a valiant warrior, fighting to develop and perfect the skills necessary to evolve into a true beast with these keys.

I have failed in my previous attempt for the challenge, which you can find here.

There are learning from the previous failure, here are the modification which was done to the challenge according to my handicap.

Ladies and gentleman, I present to you, #100DaysofCode with @ animeshkbhadra


Day 16 | Thursday 21 March 2019

Days Progress

  • Completed few regular expression tutorials from TreeHouse

Thoughts

  • Learned about:-

    • Negation
      • [^abc] - A set that will not match any char of these characters a, b and c
      • re.IGNORECASE, re.I - Flag to ignore case while searching
      • re.VERBOSE, re.X - Flag that allows regular expression to span multiple lines.
    • Groups
      • ([abc]) - create a group, that contains a set of letters a, b and c
      • (P<name>[abc]) - creates a named group, member can be accessed using group('name')
      • re.MULTILINE, re.M - flag to make a pattern having lines.
        • ^ - Beginning of line.
        • $ - End of line.
  • link to tweet


Day 15 | Wednesday 20 March 2019

Days Progress

  • Today did not get much work done, solved few exercises in solo learn.

Thoughts


Day 14 | Tuesday 19 March 2019

Days Progress

  • Completed few regular expression tutorials from TreeHouse

Thoughts

  • Learned about counts in regular expressions.
  • We can create expressions like these
    • \w{3} - Match any 3 word char
    • \w{,3} - Match 0,1,2 or 3 word char
    • \w{3,} - Match 3 or more char, no upper limit
    • \w{3,5} - Match 3,4 or 5 word char
    • \w? - Match 0 or 1 char
    • \w* - Match 0 or more
    • \w+ - Match 1 or more
  • We can also pass a variable in regular expression string.
    • "\w{%s}" %count
      • %s - for string
      • %d - for decimal
      • %f - for float
  • Sets basic was also checked.

    • [abc] - set of char a,b,c
    • [a-z][A-Z][a-zA-Z] - Char ranges
    • [0-9] - digit
    • [^2] - Not 2
  • link to tweet


Day 13 | Monday 18 March 2019

Days Progress

  • Started the Chapter 01 from Head First Python.

Thoughts

  • Learned about 2 types of imports.
  • Learned about these module, datetime, random, time

  • link to tweet


Day 12 | Wednesday 13 March 2019

Days Progress

  • Practiced some of the learning from Regular Expression from previous Day.

Thoughts


Day 11 | Tuesday 12 March 2019

Days Progress

  • Started the Module of Regular Expression from TreeHouse

Thoughts

  • Learned about File read and write operations like
    • open()
    • close()
    • read()
  • In addition to these explored
    • re.match() - Matches against the beginning of text
    • re.search() - returns the first match location anywhere in the text.
  • Few escape sequence

    • \w - Matches Unicode word char including numbers but excluding special character.
    • \W - Matches anything which is NOT Unicode word or numbers
    • \s - Matches all white spaces
    • \S - Matches anything which is NOT white spaces
    • \d - Matches numbers
    • \D - Matches NOT numbers
    • \b - Matches word boundary.
    • \B - Matches NOT word boundary.
  • link to tweet


Day 10 | Monday 11 March 2019

Days Progress

  • Read the first chapter of Head first Python.
  • Wrote few code from the book.

Thoughts


Day 09 | Tuesday 05 March 2019

Days Progress

Python Dates and Times Badge

Thoughts

  • Learned about timezone.
  • It is a very difficult to handle without pytz

  • link to tweet


Day 08 | Friday 01 March 2019

Days Progress

Python Timed Quiz Badge

Thoughts


Day 07 | Thursday 28 February 2019

Days Progress

Python Date and Time Badge

Thoughts

  • Learned about strftime() and strptime()
  • Made a script to create a link for wikipedia.

  • link to tweet


Day 06 | Wednesday 27 February 2019

Days Progress

Today I just watched the second lecture from MIT OCW's MIT 6.00SC Introduction to Computer Science and Programming

Thoughts

In this lecture we discuss about:-


Day 05 | Tuesday 26 February 2019

Days Progress

Thoughts

  • This course teaches about the date and time module of Python.
  • Major modules in datetime are
    • date, datetime, time, timedelta, timezone, tzinfo- which is rarely used directly.
  • Learned about .today(), .combine(), .timestamp() - which returns the epoch time.
  • We can format the time with help from strftime()
  • We can create time with string format strptime()

  • link to tweet


Day 04 | Friday 22 February 2019

Days Progress

Python Clean Code Badge

  • In addition completed the Write Better python Course of the Learn Python track.

Write Better Python

Thoughts

This course taught about:-

  • PEP-8 Coding style guide.
  • PEP-20 which is the Zen of python, can be accessed using import this
  • PEP-257 for docstrings
    • DocString which can fit one line should.
    • DocString that cannot, put the closing triple quote on their own line.
  • Logging Module of python
    • 6 Logs levels, CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
  • Python Debugger pdb, can be invoked by calling import pdb; pdb.set_trace()

  • link to tweet


Day 03 | Thursday 21 February 2019

Days Progress

I completed the Object Oriented Python course . With this I have also received the badge.

Object Oriented Python Badge.

Thoughts

  • Today completed the project Dice Roller.
  • I am still not confident in some part of Object Oriented Python, will soon polish it.

  • link to tweet


Day 02 | Wednesday 20 February 2019

Days Progress

Today I just watched the first lecture from MIT OCW's MIT 6.00SC Introduction to Computer Science and Programming .

This is a great lecture by John Guttag

I am alternating between Learn Python Track from Team TreeHouse and MIT 6.00SC Introduction to Computer Science and Programming

Thoughts

Lecture 1 of MIT 6.00SC Introduction to Computer Science and Programming taught me about:-

  • Declarative and Imperative Knowledge.
  • Algorithms
  • Fixed program and stored program computers
  • Programming Language
    • Syntax
    • Static Semantics
    • Semantics.
  • Types of errors
  • Compiled Vs Interpreted Language

  • Link To Tweet


Day 01 | Tuesday 19 February 2019

Days Progress

I am learning Python from the learn python track of TreeHouse. I started this course, some days back, from now, will post regularly on behalf of #100DaysOfCode.

Today I have completed the Advanced Object Badge.

Advance Object TreeHouse Badge.

Thoughts

Today I learned about:-

  • @property : This decorator is used to convert a class method into a class property.
  • @property.setter : This decorator is used to make the method set a class property.
  • @classmethod : This is a decorator which takes a function as input works on it and returns another function as output.

  • Link to Tweet


Reference

Spread the word.... TwitterFacebookEmail


Related Posts


Published

Last Updated

Category

#100DaysOfCode, python

Tags

Stay in Touch

Email Newsletter