Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Michael De Abreu
Michael De Abreu

Posted on

     

I want to learn Python, where should I start?

I made a commitment this year to learn python, and so far I know nothing. I would like to at least know the basics. I don't want to master python, I don't even master JS/TS and I have been with them for a long time now. But just for fun.

I want to learn python because is far from my comfort zone, for what I've read.

Thanks! :D.

Top comments(6)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
phillie profile image
Philly
Computer & social scientist merging both worlds to build interactive software. Working as web dev focusing on front end engineering, interaction design, information architecture & data visualization.
  • Joined

Yeah, Python is awesome. Good choice! 🙌 😄

While there are different learning strategies, I totally agree with what Enzo said earlier: decide what you want to do do with Python and then start with learning the basics (Pluralsights Python tracks are pretty cool &freeCodeCamp too got some well documented guides for getting started with python) and getting used to the common terms.

Also, for me it always works best to jump into practical work / coding as soon as possible when learning a new language: researching projects on GitHub, tearing existing code apart and build own, little applications.

Happy (Python) Coding!

CollapseExpand
 
enzoftware profile image
Enzo Lizama Paredes
Challenges lover. Problem solver. Occasional writer. Software Engineer student :octocat:. Passionate about soccer :soccer:. @HackSpacePeru
  • Email
  • Location
    Lima, Peru
  • Education
    Software Engineer
  • Work
    Mobile Software Engineer at Superformula
  • Joined

The best way to start with a new language is to know his syntax, and then decide which is the way that you want to follow, specially if is python. With python you can do everything like desktop,web,arduino,mobile,ML,AI and more. My road map for this language is first , obviously, the basics of syntax then some of data structures and algorithms and nowadays some of back-end with Flask. So good luck with your trip with this amazing language , do what you love and enjoy with that.
My best resource for learning is :pythonprogramming.net/

CollapseExpand
 
rugiganasp profile image
RUGIGANA
Luv programming always learning.
  • Location
    Kampala
  • Joined

this the best resource one can start from. thank for sharing this. him and LPTHW

CollapseExpand
 
courier10pt profile image
Bob van Hoove
I'm in the industry since 2008. Currently doing application development and maintenance for the local University, mostly using C#/.NET
  • Location
    Nijmegen
  • Education
    Some university
  • Work
    Developer
  • Joined
• Edited on• Edited

In addition to the tutorials that are mentioned (which may give you this same advice):

Once you've learned some basics the CLI is a great environment to experiment with the language. There a variety of ways to inspect objects, see for examplethis Stack Overflow post.

Here's an example:

> pythonPython 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32Type "help", "copyright", "credits" or "license" for more information.>>> x = [0, 1, 2]>>> dir(x)['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'append', 'clear', 'copy', 'count', 'extend', 'index', 'insert', 'pop', 'remove', 'reverse', 'sort']

The functions that are not surrounded by__ tell you about the 'public' methods.
The ones that are indicate capabilities.

I also find the CLI very helpful when I want to write a script quickly and just verify some assumptions about the syntax.

CollapseExpand
 
codemouse92 profile image
Jason C. McDonald
Author. Speaker. Time Lord. (Views are my own)
  • Email
  • Location
    Time Vortex
  • Pronouns
    he/him
  • Work
    Author of "Dead Simple Python" (No Starch Press)
  • Joined
• Edited on• Edited

I would second the suggestion to use theofficial Python tutorial. It's easily the best resource out there.

There is extensive debate as to the accuracy and validity of many courses, paid or free. Some are great, some will mess you up forever. YMMV.

Meanwhile, the second thing you should do isregister yourself with Freenode IRC and sign onto that network. Join#python and lurk there whenever you can. They're great about answering questions and providing valuable insight. (Install Hexchat or another IRC client on your machine for best results.)

In regards to IRC culture and making the most of your time there, do take a look atIRC Netiquette and You.

CollapseExpand
 
rhymes profile image
rhymes
Such software as dreams are made on.I mostly rant about performance, unnecessary complexity, privacy and data collection.
  • Joined
• Edited on• Edited

Hey Michael,

I know it's pretty banal suggesting this but the Python tutorial is very good and with this you're going to learn the basics of Python before the year ends ;-)

docs.python.org/3/tutorial/index.html

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I'm a Software Engineer working as Frontend. I'll talk here about my experiences.
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp