₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,158,754 members, 4,702,084 topics. Date: Thursday, 17 January 2019 at 02:00 PM

A Thread For 30 Days Tutorial On Python Programming - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / A Thread For 30 Days Tutorial On Python Programming (2149 Views)

I want to solve question on python basic / I Have A Very Import Question On Python Syntax / Who Has Books On Python Programming Hard Copy For Sale (2) (3) (4)

(1) (2) (3) (Reply) (Go Down)

A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 3:47pm On Jan 07
Happy New year to you all.. I hope you enjoyed the festivities..

As one of my plan for the new year, I will be teaching python programming for the next 30 days. After these 30 days, you will be opened for a lot of opportunities in the programming world.

The reason I've chosen python is because it can be used for almost everything ranging from web development to game development to desktop app development to Data Science and Machine Learning.

I have carefully selected the topics to teach for the next 30 days, including projects so as to make you understand the concept of programming and python.

The topics for the next 30 days are as follows:
1. Introduction, Installation and setup (Mac, Windows and Android) and Command Line Fundamentals.
2. Numbers, Operators and Comments, Variables and Strings. Introduction to Python Documentation.
3. Boolean and Conditional Logic.
4. Loops.
5. Lists and List Comprehensions.
6. Dictionaries, Tuples and Sets.
7. __Let’s Practice__
8. - 9. Functions.
10. Lambdas and Built-in Functions, Debugging and Error Handling.
11. Advanced Strings.
12. - 13. Classes
14. __Let’s Practice__
15. Iterators, Generators.
16. Decorators.
17. Making HTTP requests with Python
18. - 20. Introduction to numpy, pandas, CSV files. (Intro to Data Science)
21. __Let’s Practice__
22. - 25. Web Scraping with Python and BeautifulSoup
26. Get data with an API using Python
27. File I/O
28. Regular Expression
29. __Let’s Practice__
30. Next Step (Git and Version Control, Django, Bootstrap, Data Science and Machine Learning)

feel free to post questions on this thread or in the comment section of the YouTube video

9 Likes 6 Shares

Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 5:31pm On Jan 07
DAY 1
INTRODUCTION



https://www.youtube.com/watch?v=V8zccWt7NU4

The python Programming Language is one of the most sought for languages today. Reason is because it can be used for the following:
1. Web Development
2. Game development
3. Desktop Application
4. Android Development
5. Data Science/ Deep Learning/ Machine Learning

Understand how to prepare yourself for the python journey or easy transition if you are migrating from another language to python

1 Like 2 Shares

Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 6:26pm On Jan 07
DAY 1 CONT'D
INSTALLATION AND SETUP FOR ANDROID, MAC, AND WINDOWS



https://www.youtube.com/watch?v=kfU3B7hy4Bs

Before we begin our journey into the exciting world of python, we need to get a couple of things set up. This would help us write our code effectively and enhance debugging. We will need to download some software and install them on our machines to get started.
Some of the softwares we need to install are: the python compiler, a text editor preferably Visual Studio Code, Git Bash for windows users and Pydroid 3 for Android Users.

The sections shows how u can correctly install them:

Mac Installation: 0:00
Android Installation: 8:24
Windows Installation: 10:31
Re: A Thread For 30 Days Tutorial On Python Programming by Ikennablue(m): 6:42pm On Jan 07
Following, pls don't stop halfway, and don't be discouraged even if you don't get enough followers. More grease to your elbow

1 Like 1 Share

Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 6:43pm On Jan 07
DAY 1 CONT'd
COMMAND LINE FUNDAMENTALS AND FILE STRUCTURE



https://www.youtube.com/watch?v=g9GFaSH1cXo


The command line is one of the basic skills that every programmer should have. The Command Line is quite extensive. But there are some basic fundamentals that should be at the finger tips of every programmer or prospective programmer.

In order to understand the command line and use it effectively, you need to understand file structure which is hierarchical in nature (parent/ children relationship)

Here, I try to explain some of these basic syntax of the command line with some structures so that you get to understand how the command line works as well as file structures so that you can understand it properly and use it, instead of using the conventional GUI (Graphical User Interface) as this would help in your journey.

Some of the commands you get to use by the end of this are commands like touch, mkdir, ls, ls -al, mv, rm, rm -rf, pwd and lots more.
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 6:44pm On Jan 07
Ikennablue:
Following, pls don't stop halfway, and don't be discouraged even if you don't get enough followers. More grease to your elbow

Sure boss.. thanks
Re: A Thread For 30 Days Tutorial On Python Programming by Electricboy(m): 8:12pm On Jan 07
.
Re: A Thread For 30 Days Tutorial On Python Programming by Internet247: 8:21pm On Jan 07
Following bumper to bumper
Re: A Thread For 30 Days Tutorial On Python Programming by Prefola: 8:23pm On Jan 07
I'm following
Just came across dis now

D suggestion about a WhatsApp group would be better too and learning would be easier there
Thanks

1 Like 1 Share

Re: A Thread For 30 Days Tutorial On Python Programming by dejt4u(m): 8:32pm On Jan 07
following.. thank you OP for this
Re: A Thread For 30 Days Tutorial On Python Programming by Nosainwe(m): 9:49pm On Jan 07
Keep up the good work
God bless
Re: A Thread For 30 Days Tutorial On Python Programming by kennyjam: 9:55pm On Jan 07
Ready too OP
Re: A Thread For 30 Days Tutorial On Python Programming by Mekus7720(m): 10:04pm On Jan 07
I'm with you Boss, more grease to your elbow
Re: A Thread For 30 Days Tutorial On Python Programming by loverbo1(m): 10:27pm On Jan 07
Let's go
Re: A Thread For 30 Days Tutorial On Python Programming by ogasmallie: 11:15pm On Jan 07
following
Re: A Thread For 30 Days Tutorial On Python Programming by Mr2kul(m): 11:44pm On Jan 07
Nice... Following
Re: A Thread For 30 Days Tutorial On Python Programming by hehas003: 3:03am On Jan 08
good one op...
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 10:26am On Jan 08
DAY 2
NUMBERS, OPERATORS AND COMMENTS IN PYTHON



https://www.youtube.com/watch?v=sesHR3GW7wM


Numbers are one of the basic building blocks of any programming language. This is because they are always used in programming, to perform arithmetic as well as other uses.

The two types of numbers in python are Integers and floating point numbers. Integers could be positive or negative whole numbers whereas floating point numbers are also known as decimal number i.e numbers with decimal points.

There are 7 basic operations which can be performed in python they are:
1. Addition + (2 +5)
2. Subtraction - (10 - 4)
3. Multiplication * (6 * 6)
4. Division / (100 / 5)
5. Exponentiation ** (2 ** 5)
6. Modulo % (5 % 2)
7. Integer Division // (81 // 11)

In all these operators, some operations have higher precedence than others (Similar to BODMAS). This is known as Operator Precedence.

Comments are used by programmers to enhance readability in code. Comments are not run by the compiler, they are ignored.
comments are used to explain some certain parts of the code so that the programmer can remember that part of the code when he checks it again.(reference)
Comments are represented using the hash # symbol


In this video we will discuss about the types of numbers in python and how they are different from each other. We would also go further to talk about the basic operations which are performed in python, starting from the basic ones to more complex operations in python. Then we would also look at operator precedence in python. After that, we would study about the importance of comments in python and why comments are necessary in python

1 Like

Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 10:29am On Jan 08
Thanks guys for your support.. As for your suggestions about the whatsapp group, I'll look into it...

2 Likes

Re: A Thread For 30 Days Tutorial On Python Programming by ajibola90: 1:49pm On Jan 08
Please bro... Create a whatsap group for this please..
Re: A Thread For 30 Days Tutorial On Python Programming by Tohsynetita1: 3:12pm On Jan 08
Yes,
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 3:44pm On Jan 08
DAY 2 CONT'd
VARIABLES AND STRINGS IN PYTHON PART 1



https://www.youtube.com/watch?v=E9_ayvUedcw

Variables are used to hold values. In python, variables are Dynamically typed, unlike other languages in which variables are statically typed. this means that in Python, when a variable is declared, it can be changed and the variable holds the new value.

There are some naming conventions used in python variables which must be adhered to strictly in order to prevent errors in our code. some of these are:
1. variables must begin with an underscore or a letter.
2. Special characters should not be placed between variables in order to avoid errors.
3. __DONTCHANGE__ A variable beginning and ending with 2 underscores means that these variables should not be changed for any reason whatsoever
and lots more
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 3:56pm On Jan 08
DAY 2 CONT'd
VARIABLES AND STRINGS IN PYTHON PART 2



https://www.youtube.com/watch?v=oTPWYrIL5oY

Data types in python include int, float, bool, str, dict, list, set, tuple and so on.

One of these datatypes is String (str)
Strings are important and are declared using single quote
x = 'a string'
or double quotes:
y = "a string"
Escape characters \n \t \' are important in strings to perform specific tasks.
strings can be concatenated (joined) using the addition symbol +
Strings can also be formatted using f string:
age = 12
print(f"she is {age} years old"wink

or
print("she is {} years old".format(age))

all these are covered in these video and lots more
Re: A Thread For 30 Days Tutorial On Python Programming by Prefola: 4:35pm On Jan 08
Hmmm
If I say I'm not confused den I'm not being honest
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 5:06pm On Jan 08
Prefola:
Hmmm
If I say I'm not confused den I'm not being honest

Sorry about that.. but most of the things are explained in the video... But I'll try to explain it in the form of texts.. for pple who may ot be able to watch the video... sorry about the confusion
Re: A Thread For 30 Days Tutorial On Python Programming by STENON(f): 6:10pm On Jan 08
Interested .
Re: A Thread For 30 Days Tutorial On Python Programming by Ibruks(m): 7:51pm On Jan 08
This is good bro. I really need this, thanks. For the whatsapp group, I think that means we'd (our set, as per those that see this thread early and also joins the group early) be the only ones to get most of the info. If anybody else stumbles on this page some months now, he or she would be stranded at some point since the discussion here would have ended. My view tho.
Re: A Thread For 30 Days Tutorial On Python Programming by Paapii3d(m): 8:59pm On Jan 08
Ibruks:
This is good bro. I really need this, thanks. For the whatsapp group, I think that means we'd (our set, as per those that see this thread early and also joins the group early) be the only ones to get most of the info. If anybody else stumbles on this page some months now, he or she would be stranded at some point since the discussion here would have ended. My view tho.

Ok.. I'll be posting a whatsapp like tomorrow.. once I find out that it is not in violation of NL's rules and regulation..
Re: A Thread For 30 Days Tutorial On Python Programming by adeyemi2017(m): 10:22pm On Jan 08
More power to your elbow..... I am following you.... You are quenching my thirst...Thanks
Re: A Thread For 30 Days Tutorial On Python Programming by yusman14(m): 11:47pm On Jan 08
wow..fantastic.. but i av a prob oo..my PC is faulty.. for now i am not on whatsapp..pls kindly continue on dis forum...tankz

(1) (2) (3) (Reply)

Challenge For Javascript Beginners/intermidiate / Fizzbuzz Problem Using "Switch" Statement Construct / Programming Interview Test

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 99
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.