I'm getting frustrated with learning Python 3

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
SolarpunkFan
Jedi Knight
Posts: 586
Joined: 2016-02-28 08:15am

I'm getting frustrated with learning Python 3

Post by SolarpunkFan »

So I'm trying to learn programming (for the billionth time it seems...) and I'm really frustrated.

I've had some success in learning concepts (statements, functions, variables, even some rudimentary understanding of arrays and objects, though not the syntactical usage of them via Python 3 yet). At the same time I'm feeling frustration over the fact that I'm not building interesting stuff with what I know.

The book I'm using is Python for the Absolute Beginner (3rd edition) by Michael Dawson. But it's rather verbose and I feel like it's a slog to get through and the challenges at the end of each chapter aren't all that interesting to me. I tried *Learn Python 3 in Y Minutes* but the syntax examples seem a little isolated insofar as where to use them in a program (again, my understanding of syntactical and language-specific quirks/pitfalls are far behind my conceptual understanding :banghead: ).

Are there any programmers here who can suggest what I should do about these problems? Are there resources out there that can help? Should I do what a friend suggested and switch over to Second Life scripting for a while? Or should I just quit the idea of learning programming altogether?
Seeing current events as they are is wrecking me emotionally. So I say 'farewell' to this forum. For anyone who wonders.
User avatar
TheFeniX
Sith Marauder
Posts: 4869
Joined: 2003-06-26 04:24pm
Location: Texas

Re: I'm getting frustrated with learning Python 3

Post by TheFeniX »

I took Pascal in High School. Just took a Python intro class which I could have tested out of if I just read up on the syntax changes. I'm probably not the best person to give advice, but any scripting/programming I've learned, I've found my retention is best when I'm making something. I took a programming Logic and Design class in college as well and my Python class went with Object Oriented Programming, which is essentially the same thing. So, that did help as well.

I made Pac-Man in high school. No score board, no ghosts, but you could eat the dots, it counted the dots, and registered (by ending the game) if you touched the walls. That's where most of my learning came from: come up with an idea and figure out what it takes to get that done. Even something as simple as making a calculator. A simple text adventure could work as well, I used to bang those out in my off-time on my TI-85. No parser, just multiple branching choices with some random number generation built in, but it taught me how to (try to) avoid spaghetti code.

You MIGHT be better off with a scripting system, but I can't judge that. Papyrus is a shitheap, but the limited scripting I've done in Skyrim had at least re-familiarized me with the concepts I learned years back. References, objects, modules/functions, that sort of thing. And what helped as well was digging through other, much more competant modders, functioning source scripts, following what they were accomplishing, and doing my own edits or even a parallel script for my own use.

That's how my brain works: reverse engineering something I know works and modifying that. I'm helpless when looking at a blank Notepad++ screen.

Programming, at least the most popular types, is mostly all a matter of syntax and what the language is built to do. So, if you can create something worthwhile in another system, many of those skills should transfer.
User avatar
Aether
Youngling
Posts: 145
Joined: 2014-06-20 12:38am

Re: I'm getting frustrated with learning Python 3

Post by Aether »

Same.

I use Python at work to automate lab equipment for measurements. I was really slow at scripting, and had to remember how to do for and while loops.

I have a Raspberry Pi3 at home and downloaded PyCharm for the IDE. I wanted to develop my own OBD II bluetooth reader for my car. It has certainly helped give me focus on what to learn.
User avatar
MKSheppard
Ruthless Genocidal Warmonger
Ruthless Genocidal Warmonger
Posts: 29842
Joined: 2002-07-06 06:34pm

Re: I'm getting frustrated with learning Python 3

Post by MKSheppard »

Python 3 is okay. I wish that some of the things that the language does could be clearer -- how to read 1/2/4 byte binary values from a file; etc.

Plus, I wish the executables you could build with Py2Exe or whatever were smaller than 6-8 MB.
"If scientists and inventors who develop disease cures and useful technologies don't get lifetime royalties, I'd like to know what fucking rationale you have for some guy getting lifetime royalties for writing an episode of Full House." - Mike Wong

"The present air situation in the Pacific is entirely the result of fighting a fifth rate air power." - U.S. Navy Memo - 24 July 1944
Post Reply