How did you learn python?

Hey All,
I'm going to start learning python. So, i want to ask:
1. How did you learnt python?
2. Which frameworks are must to learn?
3. Any tips are welcomed.
:)
I didn't. I purposely avoided Python because it is overhyped by kiddies. I am also seeing in my CS classes that py cuts a lot of corners regarding a strong foundation. The only reason why I use Python sometimes is because just because I don't like a language, doesn't mean it isn't the best for the job. Py3 specifically is useful to know the basics of and also the modules with their docs are handy especially since I am lazy. My 2 tips are simple enough:

1) READ EVERYTHING!!!

2) Try to also learn something like C so that way you can understand how it works ground up.

I also use the IDE PyCharm. It has a cool theme (Dracula), the UI is pretty, and also takes care of the (cough) _shitty_ space thing that always seems to be the main error I run into (again, C fanboy). My point, get a IDE. You'll be happy that you did.
 
I didn't. I purposely avoided Python because it is overhyped by kiddies. I am also seeing in my CS classes that py cuts a lot of corners regarding a strong foundation. The only reason why I use Python sometimes is because just because I don't like a language, doesn't mean it isn't the best for the job. Py3 specifically is useful to know the basics of and also the modules with their docs are handy especially since I am lazy. My 2 tips are simple enough:

1) READ EVERYTHING!!!

2) Try to also learn something like C so that way you can understand how it works ground up.

I also use the IDE PyCharm. It has a cool theme (Dracula), the UI is pretty, and also takes care of the (cough) _shitty_ space thing that always seems to be the
main error I run into (again, C fanboy). My point, get a IDE. You'll be happy that you did.

thanks much
btw i already know C,C++
 
First I learn from tutorial on Python home page
Then I buy one course from Udemy to learn Django.
 
Hi,

The thread is a little old now so I assume you have learnt a lot but when I learnt, I didn't learn Python by choice, I started developing Chatbots and then I wanted to make them more intelligent. Python has something called the NLTK (Natural Language Toolkit) which I wanted to make use of to make them more intelligent. I just started from there and it was the thought of building intelligent AI software that really kept me going (and still keeps me going!)

Find something you like, be that chatbots, game development, data science, whatever you are into just start small and go from there. Your interest and passion will keep you going when things get tough
 
I learned the basics through a free PDF book I found called Python Crash Course. I came from a background using lots of VBA at work, and I found Python really easy to learn with that programming knowledge. From there, I just keep Googling things and watching Youtube vids.
 
I started off looking at Data Science classes at DataCamp first since I was planning on mostly scraping, but I wasn't a big fan so I switched to DataQuest. Both are paid and Python based (They also offer the R language), but DataCamp offers a decent amount of intro classes to get you hooked for free. I wanted to understand what I was doing more than simply reading scrapy tutorials online that only show you how to do the one thing. It hits on databases, scraping, building data pipelines, cleaning data, etc. From there I took on Django with a book "Django for Beginners" and Flask, although that's not for the faint at heart for a beginner to try both at the same time. By this point I was pretty proficient at Python without ever setting out to learn Python and could basically pick up almost anything after only reading the docs.

That and github... No lie, I got accused on a regular basis of locking myself in the office with porn... Who needs it when you could be playing with DeepFaceLab or computer vision.
 
  • Read this in a day, don't worry if you don't understand many things: https://docs.python.org/3/tutorial/
  • Get started with a project which is small enough that it can be done by writing a single source file.
  • When you don't know how to do something, search Google.
 
I was pretty proficient at Python without ever setting out to learn Python and could basically pick up almost anything after only reading the docs.

You sound like a savant and I'd like to learn from you lol.
 
You sound like a savant and I'd like to learn from you lol.
I suppose I should have mentioned it took a few years, lol. I go through spells. Either 20 hour marathon sprints, never resting or spending 20 hours in bed refusing to budge. When it works it works, though, lol.
 
You must learn focused on solving a single problem (i.e. specialize on some topic) instead of learning a language just for the good-of-learn something without any focus or specialization.

For example, let's say that you learn Python. Then you are useless, you will not be able to develop anything because you know the base and nothing more.

Instead,You could learn Python to develop a website or Python for scripting or Python for Data Science (Pandas). All of them uses Python, but they have different ideologies, techniques and simple they work and do something completely different. Pick one and stay with it.

For example, let's say you only know Python and you want to land a job.

Job Title: Python Developer

Knowledge, Skills, and Abilities:

  • Demonstrated ability to work closely with diverse staff, developers, and end-users
  • Demonstrated ability to diagnose and solve problems
  • Demonstrated skill with the Python programming language
  • Experience with scientific libraries for Python (e.g. NumPy, matplotlib, SciPy)
  • Experience using Jupyter (or IPython) notebooks for development or education
  • Ability to organize and communicate technical material to other developers and end-users
  • Excellent written and oral communication skills
  • Experience teaching, especially Python
  • Experience designing and developing software
  • Experience using version control tools (e.g., git)
  • Ability to work in a team environment in variety of roles, such as leader, teacher, and individual contributor
  • Strong desire to continue learning new skills, tools, and concepts
Desired but not Required:

  • Experience with MetPy and Siphon
  • Experience with open-source software projects and development process, especially using GitHub
  • Experience with geoscience data formats (e.g., netCDF, GRIB, BUFR)
  • Experience providing timely user support
  • Experience developing instructional materials
  • Demonstrated skill with a compiled programming language (e.g., C, C++, Cython)
  • Familiarity with scientific data access including remote data access protocols
  • Working knowledge of meteorological data and real-time data streams

You are only fulfilling the title of the job, i.e. you won't be hired on this job by just knowing Python.
 
codeacademy has some basic stuff if you wanna start from scratch
 
By reading code of other people's bot and some unofficial bot in github
 
Back
Top