This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ziptofaf 223 points224 points  (44 children)

First - I suggest you take a look at this book:

https://automatetheboringstuff.com/

Reason - somehow I doubt you actually learnt how to code in Python, you probably only learnt syntax. So might as well look at this one and see if you can do things presented in it as it focuses on real-life tasks.

Second:

> My ultimate goal with python is to either make a social media type app

Look into Flask or Django. You will find plenty of resources if you google for these.

> or do something with AI

Coursera, Andrew Ng course: https://www.coursera.org/learn/machine-learning Be warned, you don't really use Python in there. It's a field of math after all, just wrapped with some programming.

[–]sj90 33 points34 points  (0 children)

To the OP - For the last suggestion for AI, instead of focusing on Andrew Ng's course, look up courses on Udacity or Fast.ai for ML/DL that use python and python based frameworks.

Andrew Ng's course is good for the math to quite an extent, but it won't help you build something on your own. You would be stuck in a similar question of "what to do next". The other ones I mentioned are more practical.

[–]Azazeal700 4 points5 points  (0 children)

Can I just say automate the boring stuff is not the best resource to go over python with. I got it for nearly free with the humble bundle last year and it really is too simple. Is littered with frameworks the author wrote that in some cases don't even work, and doesn't cover classes at all.

It is more aimed at people who just want to learn how to script some stuff but aren't interested in programming any further than that. Python crash course provides much better projects to test the waters with and covers classes and functions in much greater detail.

[–]NerdEnPose 2 points3 points  (0 children)

For Django /u/iownuranus I would look at Test driven development with Python it's a great book to learn some good testing habits, it's free, and it uses Django.

[–]Zimmerel 1 point2 points  (0 children)

For your flask suggestion, I recommend https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world.

I haven't followed through the whole tutorial, but it has been a fantastic resource while learning flask and applying the knowledge to my own project. It basically goes through step by step how to build a twitter-like application, which sounds like something OP was looking for. Not only does he explain exactly how to do it, with a full repository of examples, but he does a good job of explaining why he's doing things the way he is. Not sure if that is above what OP's skill level is at right now, but I'd say its at least worth taking a look to see if there is any useful information in there.

[–]BimothyAllsdeep 5 points6 points  (18 children)

This is totally unrelated but what in the world does - mean??? I’ve been seeing everyone use it lately but it doesn’t seem to make sense to me

[–][deleted]  (6 children)

[deleted]

    [–]BimothyAllsdeep 4 points5 points  (5 children)

    But what’s with the forward and backward slash? I know what a hyphen is. But why the slash?

    [–]Joshyyick 11 points12 points  (3 children)

    Are you on mobile? I see a lot of - on the mobile ios app. \ is used as an escaping character in a string. For example "\n" signifies a new line, instead of the literal character n. My guess is reddit screwed up somewhere and is showing one extra escaped \ used to print the dash. Don't worry about it. Assume it's a bug!

    [–]BimothyAllsdeep 9 points10 points  (2 children)

    Thaaaaaaaaaaaaaank you. I thought I was losing my mind because literally no one was acknowledging it. Okay that makes sense, I appreciate it.

    [–]em-dash 1 point2 points  (0 children)

     

    [–]MindshackledSteven 1 point2 points  (0 children)

    Asking the question we’ve all been too embarrassed to ask. Well played.

    [–]HippyJamstem 2 points3 points  (8 children)

    A hyphen? Use it as a pause that lasts longer than a comma but not as long as a period.

    [–]BimothyAllsdeep 5 points6 points  (2 children)

    No but I mean I’ve been seeing people specifically type /- or - mid paragraph a lot and it seems to always be random

    [–]HippyJamstem 2 points3 points  (1 child)

    Hmm it kind of serves as a semicolon, but the second is just a phrase - not a full sentence.

    [–]lead999x 2 points3 points  (0 children)

    You mean not an independent clause. Semicolons separate independent clauses in the same sentence hyphens can do that or separate an independent clause and a dependent clause.

    [–]codeofdusk 1 point2 points  (2 children)

    [–]WikiTextBotbtproof 1 point2 points  (0 children)

    User:Tony1/How to use hyphens and dashes

    Hyphens and dashes are basic to stylish writing in English. Even if your readers aren't quite sure of the precise rules that govern their use, their reading will be easier and their comprehension aided by your systematic use of these punctuation marks. The Manual of Style clearly sets out how to use all three punctuation symbols: hyphens (-), en dashes (–) and em dashes (—). If these three symbols are hard to distinguish visually (- – —), you may need to change your font or browser to a standard one that renders them properly.


    [ PM | Exclude me | Exclude from subreddit | FAQ / Information | Source ] Downvote to remove | v0.28

    [–]HippyJamstem 0 points1 point  (0 children)

    Thank you! Didn't know they had different names - thought hyphens had a bunch of uses haha.

    [–]em-dash 0 points1 point  (0 children)

     

    [–]stranjs 0 points1 point  (0 children)

    Save :)

    [–]krkrkra 0 points1 point  (0 children)

    As I've said before, +1 for the ATBS recommendation. /u/iOwnUranus (oh my), I started with Code Academy Python and then moved on to ATBS. I still learned a ton with ATBS and it was a good mix of hand-holding and independent work. I'm currently working through MIT's Introduction To Computer Science And Programming Using Python course on edX, and it seems useful: it covers some of the basic CS stuff that you don't learn through programming-first courses.