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.
- Selected the resource in advance,
- Practice the 100Daysofcode for a month before committing fully.
- Create a time table and sticking to it.
- Studying at the same time everyday, brains craves for learning python in that hour of the day.
- Missing few (~5) days is acceptable.
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 charactersa
,b
andc
re.IGNORECASE
,re.I
- Flag to ignore case while searchingre.VERBOSE
,re.X
- Flag that allows regular expression to span multiple lines.
- Groups
([abc])
- create a group, that contains a set of lettersa
,b
andc
(P<name>[abc])
- creates a named group, member can be accessed usinggroup('name')
re.MULTILINE
,re.M
- flag to make a pattern having lines.^
- Beginning of line.$
- End of line.
- Negation
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
Day 13 | Monday 18 March 2019¶
Days Progress¶
- Started the Chapter 01 from Head First Python.
Thoughts¶
- Learned about 2 types of
import
s. -
Learned about these module,
datetime
,random
,time
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 textre.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.
Day 10 | Monday 11 March 2019¶
Days Progress¶
- Read the first chapter of Head first Python.
- Wrote few code from the book.
Thoughts¶
-
Learned about the
datetime
module.
Day 09 | Tuesday 05 March 2019¶
Days Progress¶
- Completed the module of Quiz Game in the course. TreeHouse | Date and Times in Python
- Earned the Dates and Times badge
Thoughts¶
- Learned about timezone.
-
It is a very difficult to handle without pytz
Day 08 | Friday 01 March 2019¶
Days Progress¶
- Completed the module of Quiz Game in the course. TreeHouse | Date and Times in Python
- Earned the build timed quiz App badge.
Thoughts¶
-
Some concepts of games were very good.
Day 07 | Thursday 28 February 2019¶
Days Progress¶
- Started the course. TreeHouse | Date and Times in Python
- Received the badge Date and time Badge
Thoughts¶
- Learned about
strftime()
andstrptime()
-
Made a script to create a link for wikipedia.
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:-
- Type of objects.
-
Expression
Day 05 | Tuesday 26 February 2019¶
Days Progress¶
- There was a gap of 3 days.
- Started the Date and Time module.
Thoughts¶
- This course teaches about the date and time module of Python.
- Major modules in
datetime
aredate
,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()
Day 04 | Friday 22 February 2019¶
Days Progress¶
- Completed the course TreeHouse | Write Better python
- Received the badge Clean Code Badge
- In addition completed the Write Better python Course of the Learn Python track.
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
- 6 Logs levels,
-
Python Debugger
pdb
, can be invoked by callingimport pdb; pdb.set_trace()
Day 03 | Thursday 21 February 2019¶
Days Progress¶
I completed the Object Oriented Python course . With this I have also received the badge.
Thoughts¶
- Today completed the project Dice Roller.
-
I am still not confident in some part of Object Oriented Python, will soon polish it.
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
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.
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.
Reference¶
- QuoteFancy | Image Source
- 100DaysOfCode Official Website
- Learn Python Track from Team TreeHouse
- MIT 6.00SC Introduction to Computer Science and Programming
- Create a Tweet With image Preview for Free