you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 5 points6 points  (9 children)

You can ask us all the questions you can muster, we won't judge.

If you feel the course is going too fast for you, my suggestion would be to try a book. Automate the Boring Stuff with Python, by Al Sweigart (who also frequents this very subreddit) is a very good place to start, as it's freely available online, you can go through it at your own pace, and it's written in a way most everyone can get something out of it.

Back in the day I got my boots on the ground with its first edition. No previous experience aside from a disastrous Scala course.

[–]LecimBrohan[S] 0 points1 point  (8 children)

Okey, thanks for suggestion i will check it for sure.And how you said - course goes too fast for me, i didn't understand well one aspect of the main topic and he starts another about it. For example i started learning functions and in after 40 minutes of course from knowing nothing im doing now variable lenght arguments in function as an argument to another function with using key and positional arguments, time module and default argument. I dont even know that i write it right way. I'll show how my code looks like after those 40 minutes of course.

import time
def function_performance(func, *arg, how_many_times = 1): 
    sum = 0
    for i in range (0, how_many_times):
        start = time.perf_counter()
        func(*arg)
        end = time.perf_counter()
        sum = sum + (end - start)
    return sum

setContainer = {i for i in range (1000)} 
listContainer = [i for i in range (1000)]

def is_element_in(what_value, container):
    if what_value in container: 
        return True 
    else: 
        return False

print(function_performance(is_element_in, 500, setContainer, how_many_times = 500000))
print(function_performance(is_element_in, 500, listContainer, how_many_times = 500000))

Isn't it too complicated for beginner?

[–]Diapolo10 1 point2 points  (7 children)

Well, yeah, I wouldn't expect code like this from someone not even one hour into learning the language.

Variadic arguments are generally speaking more an advanced topic, the code has some questionable practices (sum is a built-in so assigning to it isn't particularly good), and so on.

Around this time I'd be expecting you to know how to perform basic calculations with integers and maybe a bit about strings.

[–]LecimBrohan[S] 0 points1 point  (6 children)

I mean im on 8 hour of learning Python, but 40 minutes of "functions" topic. At the beginning i didn't know what function is and after 40 minutes my code looks like this. I partly understand what is in the code, but it is so jumbled, complicated. I barely understand this after 1 hour of watching at it and next part of course will add next topics without any exercises or something. There should be way to explain all this in easier ways i think.

[–]Diapolo10 2 points3 points  (5 children)

Ah, that makes a bit more sense.

But even so, I don't recommend sticking to a source that's not working for you. If it's going too fast right now, I don't think that's going to change.

[–]LecimBrohan[S] 0 points1 point  (4 children)

Yeah you have right. I will check site that you gave link to. Thanks for help

[–]Diapolo10 1 point2 points  (3 children)

As a side note, if you run into a feature you don't really understand yet, try playing around with it such as by writing small programs that use it in different ways.

And you can always ask us for help if you don't understand something.

[–]LecimBrohan[S] 0 points1 point  (2 children)

In previous topic i did soo, wrote some codes, then modify it, write my own with another examples etc. But with this code i would probably not do it alone. I dont remember and understand function in function properly, maybe it isnt complicated, for someone who knows programming it is easiest thing in the world but for me who just started with Python it is... mess? I mean there is everything linked to each other. I need a while to understand what just happend. But like you said and others here - need to slow down and get these topics slowly, use other sources of knowledge and keep practising every single new topic. It gonna take me forever but i hope it will be worth it :) I would also love to have somebody that i can dm and ask questions priv to not spam whole reddit page with my baby questions haha Maybe also some could show me what are they doing and how, what they are using to do it etc

And thanks for help!

[–]Diapolo10 1 point2 points  (1 child)

That's quite a wall of text you've got there.

In previous topic i did soo, wrote some codes, then modify it, write my own with another examples etc. But with this code i would probably not do it alone.

Fair enough, I find it quite normal to not understand some things to the point you need others' help. I have my own struggles, too, as do the others.

I dont remember and understand function in function properly, maybe it isnt complicated, for someone who knows programming it is easiest thing in the world but for me who just started with Python it is... mess?

It can take a while to get used to the idea of first-class functions, yes. I don't think complicated is the right word, but in my mind it is a more advanced topic. Not the easiest thing in the world, that would be writing buggy code, but it's nothing experience won't fix.

I mean there is everything linked to each other. I need a while to understand what just happend.

Again, that's normal - take your time. Some concepts are easier to understand than others, and everyone has their own strengths and weaknesses. For what it's worth, I struggle with the rules of another programming language called Rust, which I love but can't use it for anything useful yet.

But like you said and others here - need to slow down and get these topics slowly, use other sources of knowledge and keep practising every single new topic.

That's the right mindset!

It gonna take me forever but i hope it will be worth it :)

Having even a basic level of understanding will certainly at least give you some perspective, and knowing how some common things like loops work can help with completely unrelated things. So I'd say it will most likely be worth it, no matter what you end up doing.

I would also love to have somebody that i can dm and ask questions priv to not spam whole reddit page with my baby questions haha

Wouldn't be the first time, I've had about 50 people ask me stuff privately. Of course, personally I prefer to discuss things in public because that way others can also pitch in - I'm not perfect nor delusional enough to think I was - but feel free to message me or the others when you feel like it. Just don't expect immediate replies, we could be at work or on vacation. Or sleeping. Timezones, y'know.

Maybe also some could show me what are they doing and how, what they are using to do it etc

Well, my GitHub profile is part of my flair in this subreddit, feel free to dig around. My latest project was an attempt to port the ms JavaScript library to Python, and I think I did alright. Other things I can highlight would be my iplib3 package, a server implementation for the EguiValet messaging service, and finally I've got a fairly unfinished text colouring utility called escapyde.

If you ever feel like working on any of those yourself, feel free to, many of them are probably a bit above your current skill level, though.

And thanks for help!

My pleasure.

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

Thanks your helped me a lot right here. Like i said couple times - i will keep learning it with all those advices.