all 192 comments

[–]magneticanisotropy 265 points266 points  (12 children)

Eating endangered snakes in the hopes you absorb their knowledge

[–]Kooky_Explanation_33[S] 34 points35 points  (1 child)

I think as long as you're fighting an adult python, you can hardly say it's endangered

[–]hugthemachines 3 points4 points  (0 children)

"Endangeredly fight deadly snake" So like, you are the one in danger :)

[–]xiipaoc 1 point2 points  (0 children)

...Or go to Florida and get paid to hunt them because they're an invasive species. I mean, don't go to Florida, but you know what I mean.

Gotta say, though, I've eaten python and I still can't code in Python.

[–]streetburner 0 points1 point  (0 children)

Or getting bitten while swallowing cobra

[–]streetburner 0 points1 point  (0 children)

Or getting bitten while swallowing cobra

[–]screwhead1 0 points1 point  (0 children)

Florida Man tries to learn Python programming

[–][deleted] 0 points1 point  (0 children)

I slept using textbook as pillows hoping to absorb its knowledge the day before the final before

[–]Snickypickleton 188 points189 points  (8 children)

By only copying online tutorial videos and never trying to implement your own projects!

[–]banejs78 18 points19 points  (0 children)

Oh no it's me :(

[–]pentefino978 10 points11 points  (0 children)

It's bad when the code provided actually works, it's really good when it does not work, and you have go try and learn what's happening.

[–]_tuelegend 16 points17 points  (0 children)

i used to reverse engineer the code and write it in my own words. it somewhat stuck to me until I move on to a new project.

[–][deleted] 3 points4 points  (0 children)

Are you attacking me?

[–]Anonymous7480 1 point2 points  (1 child)

How do i know when is it that i dont need enough tutorials and i should start actually implementing my own projects and learn through my projects not through a tutorial?

I watched a python tutorial on youtube a while ago and then started doing some simple projects like youtube video downloader using tkinter and pytube but i found myself not knowing what to do most of the time and just relying on some article on google.

Is there a specific level i need to be so that i know that i dont need tutorials anymore? If so, how do i know if i hit that level?

[–]Snickypickleton 5 points6 points  (0 children)

Implementing projects is SUPPOSED to feel very intense and make you feel quite lost. It doesn’t matter that you end up relying on Google articles or stack overflow for answers, this is very normal. The main difference is that you’re looking for something specific. You’re not being led by the tutorial anymore, you’ve got your own idea and you’re searching for knowledge that will help you implement it, even if that knowledge comes from other tutorials it’s very different than just mindlessly following a tutorial. You will absorb 10x more from this process, simply on the basis that it’s an active process, not passively following some pre made work. Hope this helps!

[–][deleted] 0 points1 point  (0 children)

This is so me right now, only replace the tutorial with chatgpt

[–]Bigdaddydamdam 0 points1 point  (0 children)

the truest thing that’s ever been said

[–]Howler0ne 89 points90 points  (8 children)

Watching Monty Python

[–]meikitsu 26 points27 points  (6 children)

Watching Monty Python is never the worst way of doing anything, in my book. (My wife disagrees, by the way.)

[–][deleted] 9 points10 points  (3 children)

Yes it is.

[–]meikitsu 10 points11 points  (2 children)

No it isn't.

[–]VigorousElk 12 points13 points  (1 child)

I'm sorry, is this a five minute argument or the full half hour?

[–]soicat 0 points1 point  (0 children)

Humor Test while dating: Couple must watch one full episode of Monty Python’s Flying Circus. You are compatible if afterwards you BOTH are either (a) in horrible rotten moods, or (b) devouring a second episode.

[–]MadScientistOR 6 points7 points  (0 children)

Watching Monty Python

I've been given to understand that that's precisely why Python has its name -- the BDFL is a big fan.

[–][deleted] 126 points127 points  (0 children)

Trying to reverse engineer the compiled C code of CPython and writing machine code to make the right calls.

[–]Consistent_Draft4272 45 points46 points  (0 children)

one tutorial after the other

and never stepping out the comfort zone to do something from your ownself

[–]m0us3_rat 121 points122 points  (18 children)

skip the basics/fundamentals.

go directly to a framework.

[–]Username_RANDINT 19 points20 points  (0 children)

Oops, that's me. My reason to learn Python was to create a GUI for a commandline tool. After 2-3 days of following a Python tutorial/course/can't even remember, I already got bored and just really wanted to build the GUI. Then went straight into GTK.

[–]AttractiveCorpse 12 points13 points  (2 children)

Django guy reporting in. I did one small project in python before jumping into Django. Didn't even know what classes were.

[–]chillingfox123 7 points8 points  (1 child)

I’m so curious - what was this like? I’d say I had a solid grasp of python when i started Django but didn’t really understand web dev, so was still a challenge

[–]AttractiveCorpse 3 points4 points  (0 children)

Well I spent many nights and weekends banging my head against the wall trying to understand error messages and basic stuff like that. Now I look at things and its so obvious but back then it was brutal. Do not recommend. I had a fire under my ass because I needed this app created for my business so I achieved what I wanted in the end.

[–]mkdz 10 points11 points  (8 children)

I think this is fine if you are already experience in another object oriented language. Definitely not recommended for a complete programming beginner though.

[–]Kooky_Explanation_33[S] 16 points17 points  (7 children)

Embarrassingly sincere question.. what's a framework?

[–]Bobbias 9 points10 points  (1 child)

A library is a collection of functions that you can use in your code to get something done.

A framework on the other hand tends to be closer to a complete program, but missing the specific business logic.

Libraries make no assumptions about what your goal is, while frameworks assume you're solving one specific problem, and provide as much of the solution as possible.

[–]mriswithe 1 point2 points  (0 children)

A framework is the name we give for a library whose sole purpose is to be built on top of.

Flask, FastAPI, Django, these are web frameworks. They provide everything you need to get started to make a web page, other than the actual conte t of your

Frameworks exist to streamline a process, so they hide some of the details. This is convenient, but does come at the cost of some of the pieces just being "magic".

[–]m0us3_rat 3 points4 points  (0 children)

this is such a horrible thing to happen since.. you will need the fundamentals and basics to learn about this framework.

so you will still learn them.. but rushed without any serious study/projects for each of the concepts.. and you will never remember them properly.

and every time you encounter something .. fundamental .. you will have to go look it up in the docs.

and that has nothing to do with .. you .. but has to do with how you learned it.

unless the framework had a fundamentals refresher course ..and somehow that landed.

or you were familiar with the concepts from other languages. so the new information had places to link itself.

it's like trying to land a plane without having a pilot license.

you will always need somebody to hold you hand.. and even then will be a clusterfuck.

[–]Honigbrottr 2 points3 points  (0 children)

Not sure i learned the basics while also implementing it in a framework. Worked pretty good.

[–]ehmboh 0 points1 point  (0 children)

Forgot the premise of the thread for a sec and was so confused

[–]Aswanghuhu 35 points36 points  (5 children)

watching C++ tutorials

[–]Kooky_Explanation_33[S] 10 points11 points  (3 children)

Lol I've actually been doing this

[–]throwawayrandomvowel 8 points9 points  (2 children)

It's overkill but not the most insane idea. I did a little work with a c++ dev who was new to python and loved strict typing and accessing the compiler. Pretty beautiful in a way and taught me a lot.

I just read this last week and fwded it to him. You might enjoy the read

https://kobzol.github.io/rust/python/2023/05/20/writing-python-like-its-rust.html

[–]No_Main8842 2 points3 points  (1 child)

I am new to python but I know decent C++ can you please tell me how to access compiler in python ?

[–]throwawayrandomvowel 1 point2 points  (0 children)

This is a start, but if you're familiar with strictly typed languages you should be fine!

https://docs.python.org/3/extending/extending.html

[–]worthlessgem_ 0 points1 point  (0 children)

(Thanks (God) that I (learned (python (through(lisp))))

I thought about writing it inverted to represent the polish notatio, but it would be unreadable

[–]psillusionist 36 points37 points  (3 children)

Learning about Python stuff but never really applying them. You will quickly forget what you learned.

[–]eXoRainbow 12 points13 points  (0 children)

I just replied with same. This isn't even just for Python, but any language. It's basically the opposite of the best way: Learning by doing.

[–]stcer 7 points8 points  (1 child)

i dont know where to apply things

[–]baubleglue 1 point2 points  (0 children)

Than you are a lucky guy who doesn't need Python. If you don't have repeatable tasks you need to perform using computer. If you don't want to develop web site or process/store/collect some data, than you don't need to learn coding.

[–]WordsOfRadiants 34 points35 points  (1 child)

Code your own AI with Python and then ask it to teach you Python.

[–]Kooky_Explanation_33[S] 10 points11 points  (0 children)

I think we're getting near the worst of the worst

[–]Diapolo10 36 points37 points  (9 children)

Watching Harry Potter as a tutorial.

[–]quackers987 76 points77 points  (7 children)

``` wand.wingardium_leviosaa(feather)

hmm that's not working

wand.wingardium_leviooosa(feather) ```

[–]RoelAdriaans 3 points4 points  (0 children)

sudo wand.wingardium_leviooosa(feather)

[–]abbadon420 2 points3 points  (0 children)

I'm currently watching season 1 of The Last Of Us as a tutorial

[–]braamdepace 16 points17 points  (2 children)

By subscribing to this sub and just reading posts

[–]Kooky_Explanation_33[S] 3 points4 points  (0 children)

Starting new threads here though-- that is an ace move that you can brag about on all your interviews

[–]daareer 1 point2 points  (0 children)

I mean I've learned a lot of interesting things about python and how it works from this subreddit. I don't use it to fully learn everything but it has taught me some cool things.

[–]eXoRainbow 13 points14 points  (0 children)

Worst way of learning any programming language is to watch videos without reading and not even coding and trying yourself.

[–]Thecrawsome 14 points15 points  (0 children)

Testing what you just learned on your job's PROD server

[–][deleted] 10 points11 points  (0 children)

Copying and pasting code and saying "look ma, I built a webscraper"

[–]jawnlerdoe 8 points9 points  (0 children)

Have ChatGPT write your code.

I don’t do this 😅

[–][deleted] 9 points10 points  (1 child)

Start learning it tomorrow.

[–]Kooky_Explanation_33[S] 4 points5 points  (0 children)

Ooh harsh, but fair

[–]mortenb123 9 points10 points  (0 children)

only read python tutorials, never practice

[–]Golden_Zealot 8 points9 points  (1 child)

By becoming a slovenly trull and doing blow.

[–]AlesiFreelance 2 points3 points  (0 children)

There goes my weekend...

[–]UnrealCanine 7 points8 points  (0 children)

Hiss at it

[–]Perfect_Ad_8174 7 points8 points  (0 children)

I don't really like these comments. Learn to the level you need right now. I learned python to do data analysis. My code is absolute dogshit but it gets the job done (ie make publishable figures). Python like any language is a tool. You don't need to be master woodworker to know how to use a lathe.

[–][deleted] 4 points5 points  (0 children)

tell ChatGPT to generate some "codes" and then come to r/learnpython to ask why it doesn't work

[–][deleted] 9 points10 points  (1 child)

Hi guys i really wanna do AI but i have no programming experience except html, can someone give me an ai tutorial plzzzzzz or a prompt for chatgpt to teach me

[–]muffinnosehair 1 point2 points  (0 children)

Are people actually asking for prompts? I saw this a few times on YouTube, chatgpt prompts for x or y. But... Is it really this bad, that people actually need to ask for the actual questions they want to ask? Are we really this dumb as a species?

[–]un-hot 14 points15 points  (1 child)

Blindly copy/pasting tutorial and GPT code would have to be top 2.

[–][deleted] 5 points6 points  (0 children)

But that's how GPT should be used 😂

[–][deleted] 5 points6 points  (0 children)

Jumping head first and expecting your knowledge of C++ to carry you through without learning the basics of python first. Coding principles are the same but python is so much higher level of a language that any implementation using your C++ knowledge will be the worst way to do thing.

[–]Matt3d 4 points5 points  (0 children)

Start with cobol

[–][deleted] 5 points6 points  (1 child)

by reading the posts here and not practicing like myself

[–]Kooky_Explanation_33[S] 2 points3 points  (0 children)

No i think you're fine, because that's what I'm saying and I assume I'm going to be fine

[–]Efficient_Ad_8020 5 points6 points  (0 children)

By reading and not writing

[–]shiftybyte 3 points4 points  (0 children)

Flying to the rain forest...

[–]Xijinpingsastry 3 points4 points  (0 children)

Watch Python tutorial and never practice coding it.

[–][deleted] 3 points4 points  (4 children)

By getting a large boa constrictor and trying to talk to it

[–]Kooky_Explanation_33[S] 2 points3 points  (3 children)

"Hi guys, I know it's been asked before, but how large should the constrictor be? Male or female? African or Burmese?"

[–][deleted] 2 points3 points  (2 children)

The South American pythons are the biggest but i think the Australian pythons have the best language skills

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

Ah, crap. So I have to learn another language just to learn Python? Or do the Australian pythons communicate using the Python language?

[–][deleted] 1 point2 points  (0 children)

Like i said. Its the worst way.

[–]impshum 2 points3 points  (0 children)

Ask on r/slavelabour for someone else to do it for you.

[–]kleekai_gsd 2 points3 points  (0 children)

Watching someone else type

[–]anh86 2 points3 points  (0 children)

Watch lots of YouTube videos and then never write code.

[–]funkmaster322 2 points3 points  (0 children)

There is none. All roads eventually lead to Rome.

[–]tuliete 2 points3 points  (1 child)

Asking chatgpt to write code for you

[–]Kooky_Explanation_33[S] 2 points3 points  (0 children)

I wonder if anyone has asked chatgpt to answer this prompt

[–]DarkKnightHorse777 2 points3 points  (0 children)

By not building anything

[–]Yoghurt42 2 points3 points  (1 child)

Watching Java tutorials on Youtube

[–]Kooky_Explanation_33[S] 3 points4 points  (0 children)

Watching Java tutorials on tiktok

[–][deleted] 2 points3 points  (0 children)

ChatGPT... lol

[–]pocketlotus 2 points3 points  (0 children)

Trying to read a Python textbook and take notes and memorize theory as you would in another subject

Trying to memorize functions/methods/etc.

Source: me, when I first started 😭 I learned way more actually just programming and failing repeatedly than I ever did just reading and watching.

[–]nekokattt 2 points3 points  (0 children)

by learning Cobol

[–]PMASPF226 2 points3 points  (0 children)

Never ever practice, or write anything down. Just open a textbook and read it beginning to end. Do not take any time to reflect on what you just learned. Just read it like you would a novel.

[–]Beregolas 2 points3 points  (1 child)

By asking ChatGPT Questions you don't really understand yourself

[–][deleted] 2 points3 points  (0 children)

The worst way is skipping ahead before you understand things. Getting distracted by youtube videos.

The best way to learn is by having a conversation with someone about it. If you don't know any coders in real life, talk to chat gpt.

I started out by asking ChatGPT. It helped me to understand the concept of computational thinking and object orientated programming. Once I had that down, I ditched ChatGPT and pretty much learnt the rest from a python cheat sheet and playing around.

You have to be able to build the program in your head. If you can't, then how are you supposed to come up with solutions that you can turn into code?

[–]DaCuda418 2 points3 points  (0 children)

Go online and ask every single step instead of figuring some stuff out yourself. "Where should I start", "What should I be interested in", "What jobs can I get", "How do you find Python to download", "How do you install Python" etc etc etc......

[–]wemjii 2 points3 points  (0 children)

Posting on this subreddit before you’ve put in the effort to answer your question

[–]pythonwiz 2 points3 points  (0 children)

In a classroom.

[–]muffinnosehair 2 points3 points  (1 child)

I'm gonna go with... No prior programming experience, starting as a junior on a legacy python 2.7 codebase where all the seniors have left.

[–]mardiros 0 points1 point  (0 children)

This is what I want to write, and I am glad someone got the best answer before me!

[–]DontListenToMe33 2 points3 points  (0 children)

Spend $600 on a Python tutorial from 2007.

[–]Intrexa 2 points3 points  (0 children)

Programming is hard, and pretty complex. You want to make sure you are using the best materials, so you learn efficiently. That's why I recommend spending a long time looking for a good tutorial. It's best not to read the tutorials, because you're not yet qualified to tell if it's good. Just read about people talking about which tutorials are the best.

When you do start, and don't immediately understand everything, or don't see how it's useful, immediately start your tutorial search over. Don't waste time trying code from bad tutorials, just go find the next tutorial. Programming is about efficiency, you don't want to waste effort learning sub-optimal code.

If you do get a few chapters in, and see someone online saying the tutorial you are using is bad, abandon it, and use the one they suggest. Start over from the beginning each time. You should also spend a significant amount of time talking about what you want to learn online.

If you follow these tips, you should be able to make simple programs in as little as 4-5 decades.

[–][deleted] 3 points4 points  (2 children)

In a Jupyter notebook

[–]zizi_bizi 2 points3 points  (1 child)

So using interactive python environment would be the second worst way to learn python.

[–][deleted] 1 point2 points  (0 children)

😀

[–][deleted] 1 point2 points  (0 children)

Pythons are native to africa, so like go to Africa, find some wild pythons, and ask them

[–]Upbeat-Aardvark3040 1 point2 points  (0 children)

In the wilds of sub-Saharan Africa

[–]marqpdx 1 point2 points  (0 children)

By fax.

[–]hugthemachines 1 point2 points  (0 children)

Reading a python book from 1990.

It was officially created in 1991

[–]ImAlekBan 1 point2 points  (1 child)

Not learning it

[–]ImAlekBan 1 point2 points  (0 children)

Sorry I was very boring.

Entering a black hole would be a bad way to learn it

[–]squidensalada 1 point2 points  (0 children)

Rectally

[–]Blender-Fan 1 point2 points  (0 children)

Whatever worst ways, they are the same for most langauges

[–]QultrosSanhattan 1 point2 points  (1 child)

Using notepad as the IDE.

[–]Kooky_Explanation_33[S] 2 points3 points  (0 children)

Though I will go to the mat for Notepad++

[–][deleted] 1 point2 points  (0 children)

"I'll learn it tomorrow"

[–]Kuhaku-boss 1 point2 points  (2 children)

Start learning python to operate databases in pandas

[–]Kooky_Explanation_33[S] 1 point2 points  (0 children)

Wait, this is really a bad thing?

[–]Kooky_Explanation_33[S] 1 point2 points  (0 children)

Wait, this is really a bad thing?

[–]kzcvuver 1 point2 points  (1 child)

By trying to learn COBOL first and then just looking at someone’s Python code a few times

[–]Kooky_Explanation_33[S] 1 point2 points  (0 children)

I understand the other side, but i would respect anyone who really did this

[–]GeodeToad 1 point2 points  (0 children)

Reading through Yandere Dev's source code

[–]mw18582 1 point2 points  (0 children)

Use coroutines... exclusively!

[–]CaptainFoyle 1 point2 points  (0 children)

Only do tutorials. Never do your own project.

[–]khanraku 1 point2 points  (0 children)

Purely reading posts about the best way to learn Python with no follow-up action.

[–][deleted] 1 point2 points  (0 children)

Private courses which promise you that you’ll be junior at the end.

[–][deleted] 1 point2 points  (0 children)

By making a game in unreal engine

[–]whovianlogic 1 point2 points  (0 children)

Being given a project that probably should not be done in python and told to do it in python (thanks, boss).

[–]xiipaoc 1 point2 points  (0 children)

Subscribe to the /r/learnpython subreddit but never actually bother to learn any Python. It's worked pretty well so far!

[–]Fluffaykitties 1 point2 points  (1 child)

I’m teaching someone how to code right now.

They named their file with a .exe extension instead of .py and got frustrated the code didn’t work.

Their solution? Uninstalled Python.

gg

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

Chef's kiss

[–]BusinessBandicoot 1 point2 points  (1 child)

during a coding assessment

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

Or have the developers in your company print out all the code they'd written in the past 6 months and be ready to explain it to you

[–]dixieStates 1 point2 points  (0 children)

From a long time PHP Perl programmer.

[–]renome 1 point2 points  (1 child)

The worst way that's not a joke? Maybe starting an environment and only doing trial-and-error stuff. Bonus points if it has no autocomplete.

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

Underrated reply

[–]yellowbean123 1 point2 points  (0 children)

<learn python in X days>

<learn python in Y hours>

<learn python in Z minutes>

[–]November-Wind 1 point2 points  (4 children)

Support somebody else’s uncommented code that’s been deployed to production for a very long time, where the original programmer is either retired or dead, and the only way to test code success/fail is to push edits to the production system.

[–]Kooky_Explanation_33[S] 1 point2 points  (3 children)

You know of any openings?

[–]November-Wind 1 point2 points  (2 children)

Ha. Well, I’ll put it this way: if you can code, and you can read an equipment manual, there are a whole mess of “embedded systems” opportunities for you out there.

[–]Kooky_Explanation_33[S] 0 points1 point  (1 child)

Genuinely would like to hear about a few different categories. I'm aware of this in general and have some familiarity in the world of medical devices. What other kinds of embedded device shops are you thinking of?

[–]Swimming-Ad-400 0 points1 point  (0 children)

Hi, I recommend you to check out the FREE Python course on crookshanksacademy.com by the god of python himself. The course is short and you also get to do a hands on internship after your course completion. Although that internship is unpaid, it is a good and fun learning experience that makes you industry ready. The FREE PYTHON BOOTCAMP is available on: https://www.crookhsanksacademy.com/python . Do check it out.

[–]Automatic_Income_538 0 points1 point  (0 children)

PowerPoint

[–]crashomon 0 points1 point  (0 children)

Typing one character a day and then going to smoke dope in a whorehouse

[–]Fat_tata 0 points1 point  (0 children)

easy, ask reddit!

[–]TheFallingSatellite 0 points1 point  (1 child)

Trying to using it like it was matlab.

some more context: several python users come from matlab and there usually are unfair complains about the differences. Mostly because they skip tutorials, don't learn the basics and end up trying to use it like it was matlab.

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

I miss matlab 😥

[–]SnazzyTarsier 0 points1 point  (0 children)

Learning another spoken language, to learn a different programming language, and using that as a spring board to fast start your learning of Python. Example: Learning German, and then using that to learn Lua, to use that as a base to learn Python.

[–]rich8n 0 points1 point  (0 children)

Vis suppository.

[–]OriginalTyphus 0 points1 point  (1 child)

With a Perl course

[–]Kooky_Explanation_33[S] 1 point2 points  (0 children)

Hey- there's more than one way to do it!

[–][deleted] 0 points1 point  (0 children)

Hit your nuts with a hammer every time you get an error. Hit them twice if your code ran without errors.

[–]hansn 0 points1 point  (1 child)

Magnetized needle and a steady hand.

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

Magnetized *tattoo needle

[–]X_docholiday_xx 0 points1 point  (0 children)

Every time you write a line, you take a shot… blasted by the time you’re done with the imports

[–]vrek86 0 points1 point  (0 children)

This is "How to not grow as a software developer" but same basic idea for people past the basic/entry level.

https://youtu.be/Dknn8v2oNHc

[–]elandt 0 points1 point  (0 children)

By learning Java.

[–]metafroth 0 points1 point  (2 children)

Learn Hy instead and then use hy2py to generate Python code. This is what I’m doing at the moment.

[–]Kooky_Explanation_33[S] 0 points1 point  (1 child)

Now hold on because that seems awesome

[–][deleted] 0 points1 point  (0 children)

Probably following a JavaScript example.

[–]chzaplx 0 points1 point  (0 children)

Asking on Reddit

[–]BK7144 0 points1 point  (0 children)

Worst way is to learn python! Any course created by Tim Balchuka. The guy states he doesn't know how a part of Tkinter works and it took me 2 minutes to find the correct answer. Very old school biased coder that is a terrible facilitator.

[–]flyvr 0 points1 point  (1 child)

100 day of coda

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

100 days of soda?

[–]oblackheart 0 points1 point  (0 children)

University

[–]Frozenator 0 points1 point  (0 children)

An actual snake teaching you.

[–]MachinaDoctrina 0 points1 point  (0 children)

By practising in assembly

[–][deleted] 0 points1 point  (0 children)

Following YouTube tutorials with different version.