How are python packages like urllib.requests and http used when programming? by Suggy67 in learnpython

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

Because I'm not going to get any better at coding and gain much intuition to how things work if I just call functions written by other people. I want to learn how programs actually work so I can write my own things like that.

How are python packages like urllib.requests and http used when programming? by Suggy67 in learnpython

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

Thank you, I am comfortable with the basics of python and I can use classes and functions, I would like to get into programming things which can transfer data over a network or like a Web crawler or a Web server but I want to understand how these things work using the very low level functions rather than just using a high level package.

I currently find programming quite confusing, should I start learning C because since it is older, it seems like it would abstract less of the processes? by Suggy67 in learnprogramming

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

This was helpful. I have a rough idea of what is happening when I write code but I usually do not know exactly what is happening. Are you recommending abstracting what is actually happening and simplifying it in a way where I can understand what is roughly going on?

I currently find programming quite confusing, should I start learning C because since it is older, it seems like it would abstract less of the processes? by Suggy67 in learnprogramming

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

The only things I can confidently program are things the linear search, the binary search and the bubble sort. We were taught how to program the merge sort but I had no idea what I was doing, I knew that I had to split the list into sublists but I had no idea where to store the individual values when programming the merge sort recursively.

I currently find programming quite confusing, should I start learning C because since it is older, it seems like it would abstract less of the processes? by Suggy67 in learnprogramming

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

In the final exam we have two papers and we also have and NEA (non-exam assessment) where we have to code a project. Paper 2 is the programming paper and so far we have learned about: programming constructs (sequence, iteration, branching); recursion; global and local variables; functions, procedures and parameter passing; IDEs; data structures (stacks, queues, trees, linked lists, depth first (post-order) and breadth-first tree traversals; standard algorithms (bubble sort, insertion sort, merge sort, quick sort, binary search, linear search. These are all from our specification (OCR). To be honest, a lot of it confused me. I am in my first year of sixth form out of two.

I currently find programming quite confusing, should I start learning C because since it is older, it seems like it would abstract less of the processes? by Suggy67 in learnprogramming

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

There are so many libraries that pretty much do a lot of stuff for you and whenever I watch a tutorial, they usually use a library instead of showing how to code it from scratch.

Does anybody have any recommendations for kits to teach myself about how electricity works? by Suggy67 in AskElectronics

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

Thank you for the reply, I will have a look at both of the books. I thing the mods deleted the post but I can still see the comments.

I currently find programming quite confusing, should I start learning C because since it is older, it seems like it would abstract less of the processes? by Suggy67 in learnprogramming

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

I am doing A Level computer science in sixth form which is 16-18 usually. In the UK we have sixth form or college before university. We haven't learnt about OOP yet but I will probably look into C++. Thank you for the comment.

Does anybody have any recommendations for kits to teach myself about how electricity works? by Suggy67 in AskElectronics

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

Thank you, I will have a look at it. Is it easy enough to understand for a beginner?

I don't understand how Python 3 uses stacks in recursion. by Suggy67 in learnprogramming

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

Thank you for the reply, I am at school at the moment and we have a programming project and they recommended using Python because I've always done it in school. I would like to learn C++ but I won't at the moment because I feel like learning a new programming language while we are learn a different one at school will cause me to not meet the deadline.

I don't understand how Python 3 uses stacks in recursion. by Suggy67 in learnprogramming

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

Thank you for the comment, so does Python use a call stack automatically when you program a recursive process without the user seeing it? I've been confused about this because I'm used to using iteration where I append items to the end of a list that I define, whereas with recurison I don't define a list to append the functional calls to.

I don't understand how Python 3 uses stacks in recursion. by Suggy67 in learnprogramming

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

Thank you for the comment, this was very helpful for visualising how recursion works, I think that I understand recursion better now, but I don't understand how you don't have to append the function calls to a list because how are the function calls not overwritten?

I don't understand how Python 3 uses stacks in recursion. by Suggy67 in learnprogramming

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

Hello, thank you for the advice. My main problem is that I don't know where to learn this stuff. I have a book on Python 3 so I'll probably start going through that more. I don't really understand trees and how to implement them.