How to learn Python in 1 Day!

How to learn Python in 1 Day!

Pre-requistie: You already know a high-level programming language

Here is your best shot at learning necessary Python for Data science in just a day:

Get on with Kaggle first (A 10 mins exercise)

  • Go get an account in Kaggle (10 mins)
  • Learn basics of how to use Kaggle Jupyter notebooks to say hello world in Python (30 mins)
  • Kaggle notebooks come with all python libraries pre-loaded including Scikit learn for ML, and PyTorch, Tensorflow for deep learning, not to mention pandas, numpy, and matplotlib

[Optionally] Install python

Install Python locally on your box following one or two first YouTube videos from Codebasics.

Learn Python

Then use Quick Python Guide by Jubayer Hussain, 2020 to learn Python in a day. The topics you will learn are:

  1. Basics: Printing Message, Variables, Reserved Keywords, Imports, Data Types, Data Type Conversion, Math, Comparisons and Boolean Operations, Conditional Statements
  2. Collections: Lists, Tuples, Strings, Dictionaries, Sets
  3. Logic: Defining Functions, Anonymous (Lambda) Functions, For Loops and While Loops
  4. Advanced, yet needed: List Comprehensions, Map and Filters
  5. Others: Randomness, Working with Files, Common Mistakes and Errors

Now that you know the key topics, you can also ask #ChatGPT to know more about each and produce any necessary sample code!

Bonus

If you have time perhaps investigate a few introductory videos on Python from Codebasics series on Python, Pandas, and Matplotlib.

Bonus 2

Here is a writeup on a tiny project you can use to exercise your Python knowledge

A tiny fun Project/Exercise while learning Python, or any New language

Amit Rajpurkar

Solutions Architect & Developer

1 年

i would surely like to take this as a challenge and try it out

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了