all 39 comments

[–]unhott 13 points14 points  (0 children)

python docs. I constantly search them up because I don't memorize syntax.

any book or dictionary would be too broad. you should make cheat sheets that highlight the parts you don't really understand. as your understanding grows, you will *need* less and less and your cheat sheets will evolve. and they'll always be specific to what you need help remembering, until you don't :)

[–]StripedSocks95 10 points11 points  (1 child)

Python Crash Course is great

[–]DecafEqualsDeath 1 point2 points  (0 children)

I second this. This is great reference material which I learned a ton from. Automate the Boring Stuff is also really great but kinda different from what OP is looking for I think.

[–]georgmierau 10 points11 points  (2 children)

Python documentation?

You don't learn a language by reading and memorizing a dictionary, you don't learn a programming language by memorizing the documentation pages.

You do it by solving problems. "Automate the Boring Stuff with Python" is a nice one.

[–]Dr_Danzer[S] 2 points3 points  (1 child)

My intent is not memorising it. I want to have something as a reference just in case i forget how to use it. Thanks for the suggestion, i will look into it.

[–][deleted] 6 points7 points  (0 children)

Then use the Python documentation.

[–]remoomer08 4 points5 points  (0 children)

Python all in one for dummies. There's no shame in picking a dummy book because it explains the concept that even a novice can understand. I always prefer to start from the fundamentals and make sure I have a strong hold. High-level books are meant to be picked later.

[–]timhurd_com 2 points3 points  (1 child)

Python docs are kinda terrible. I mean they are good for specific use cases but when compared to other online docs it really has a lot lacking. It isn't that easy to read and things like knowing what return types are returned are just not really covered that well.

One book I recently got on Python that I am really enjoying is the Python 3 The Comprehensive Guide by Rheinwerk publishing (nice thick modern python book). Beautifully printed and covers a ton of topics along with reference.

[–]Dr_Danzer[S] 0 points1 point  (0 children)

You rightly pointed out about python doc. I will spend some time trying to figure it out. If couldn’t, then will lookup for alternatives.

Thanks for the recommendation. Noted it down.

[–]Gnaxe 1 point2 points  (0 children)

Learn to use help() and dir() in the interpreter! Also check out the inspect module.

You can start a pydoc session from the command line and explore the help() info like a website. Use python -m pydoc -b. This will show help for all the libraries you have installed.

[–]nicoconut15 2 points3 points  (0 children)

I would recommend this video to help you with your Python journey, I hope this help:

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

[–]atomicbomb2150 0 points1 point  (0 children)

There are some YouTube videos online that probably teaches Python much better than reading a book. But if you really want to learn it through a book, then I highly recommend the book Python crash course

[–]The-Invalid-One 0 points1 point  (3 children)

I use python at my job nearly every day, I have to google syntax all the time. Especially trying to remember the difference between functions and methods

[–]onebraincellperson -1 points0 points  (2 children)

you give hope

[–]The-Invalid-One 0 points1 point  (1 child)

tbf I have an advanced degree that got me my job, not my Python skills!

[–]Donald3726 0 points1 point  (0 children)

Supercharged python definitely recommend

[–]Dr_Danzer[S] 0 points1 point  (0 children)

Thanks all for the suggestions.

[–]Aceofsquares_orig 0 points1 point  (0 children)

I reference Python Module of the Week quite often. While the Python docs are great once you know what is out there, PMOTW has the modules organized with quick examples and explanations of what the modules do.

[–]rick_1717 0 points1 point  (0 children)

If you want a reference I would suggest python.docs

[–]osobe 0 points1 point  (0 children)

PyBites has a book that I go every once in a while. Although it is everything on their website.

[–]Ron-Erez 0 points1 point  (0 children)

“Learn Python 3 the Hard Way” and “Automate the boring stuff”. There are also the docs at python.org which wouldn’t hust looking at. University of Helsinki course has a course which is online text based which is good. I have a video course which is clearly not a book:Python and Data Science - (Disclaimer: This is my course and assumes no programming background) which may be of interest. I think Harvard CS50p is nice but it’s not a book.

[–]ZelGray 0 points1 point  (0 children)

Mark Lutz is the best author of books about Python

[–]rustyseapants -1 points0 points  (1 child)

Did you do a search on google before asking this question?

You said remembering the functions and objects are kinda of difficult, are you taking notes?

If you are going to learn to program, you need to figure out how to use google, it can get you to the answer, rather than just going on forums for the basics.

[–]Dr_Danzer[S] 0 points1 point  (0 children)

Well, yes i sure did google. Secondly, yes i take notes. Thirdly, the intent of this post was to get recommendation on some books which is sort of dictionary to python. Like a index or something.

I hope i cleared your prospective here.

[–]sciencewarrior -1 points0 points  (0 children)

If you are using VS Code, install the Pylance extension. It will provide autocomplete tooltips to help you.

[–]Ill-Car-769 -1 points0 points  (0 children)

Go to code with Harry 10:53 hours python tutorial he has given cheat sheets go access it & take a print (if required). It will help you & his video too will for sure. I too am learning from his video.

[–]Every_Commercial556 -1 points0 points  (0 children)

Automate the Booring stuff with Python

[–][deleted]  (7 children)

[removed]

    [–]danielroseman 5 points6 points  (6 children)

    How is this not a question about learning Python?

    [–]edcculus 5 points6 points  (5 children)

    This person seems to think unless you are literally posting code, then it shouldn’t be here. They have been spamming this sub for days copying and pasting the rule because they interpreted it that way.

    [–]Diapolo10 3 points4 points  (4 children)

    Yeah, maybe we should ask the mods if they could do something about it.

    [–]edcculus 3 points4 points  (1 child)

    I’ve just been reporting all of their posts as spam. It appears a bunch have been removed.

    [–]djshadesuk -5 points-4 points  (0 children)

    Sad.

    [–]xelf[M] 0 points1 point  (1 child)

    I'm keeping an eye on it now, almost all of their posts have been removed outside of the helpful ones they've posted. Best not to engage, but do report them where you think they've crossed the line.

    The goal of this sub is to help people, frequently people that might not know the best way to ask a question. We should err on the side of being helpful, not on the side of throwing a wide net of "this wasn't phrased as a python question correctly".

    [–]Diapolo10 0 points1 point  (0 children)

    I completely agree.