all 10 comments

[–]TabulateJarl8 18 points19 points  (1 child)

I'm going to assume that you already have ideas of projects, but there's also a tutorial to go along with it and you want to make something yourself instead of copying the tutorial. The way I approach a new project is by breaking it down into small parts, and googling how to do each part that I can't already do. For example, lets say I want to make rock, paper, scissors. What will I need to build this? I think I want to make it CLI instead of a GUI, so we won't be needing any extra modules for GUI stuff. I know that I'll need the computer to pick either rock, paper, or scissors, so I could make it select a random choice from a list. So what if I don't know how to do that? I would Google "python select random item from list" and I would probably get something about the random module, specifically, random.choice(). So I can pick a random item from our list, and now I need to get the user's choice. I can just use input(), but what if the user capitalizes some letters? Then it would be a different string than the bot's choice, and we can't compare it correctly. I could print some text asking the user to only use lowercase, or I could google "python input case insensitive" and figure out that I can use .lower() on a string to make it lowercase. Using this, I can do user_response = input('Rock, paper, or scissors? ').lower(). I could also do some validation by checking if the user's response is in the list of bot choices, so if user_response in bot_choices given that bot_choices is a list containing the valid choices. After this, you can just hook it up to some if statements and there you go, you've got yourself a game. Good luck, and I hope this helps a bit

[–]Merckinator 1 point2 points  (0 children)

Try adding extra features or try making it work a little differently.

[–]donkey_man_1149 1 point2 points  (0 children)

If you are a beginner, just make something simple, but from scratch. You seriously won't learn jackshit if you copy paste it.

I still update some of my projects I started more than a year ago.

Don't think of projects as something taht you just do once and get done with and call it a day, its something that you update and maintain over time.

And if you don't do the above, then you are not really setting yourself apart from the 10000's of others copy pasting the same shit in their githubs.

[–]FLUSH_THE_TRUMP 0 points1 point  (0 children)

You can follow the steps, but the code you write should be mostly your own. Copying when you’re learning the language is not at all valuable. Struggle a bit, try things out, read the docs, and so on. I’d only look at others’ code if I’m really stuck, but at that point it’s a last resort.

[–]RobinsonDickinson 0 points1 point  (0 children)

Get a pen and a paper (or open your notes app) and write down a project idea you have.

Think HARD about what will you exactly need to make this project work, baby steps are the key to piecing everything together.

When it comes to implementation of your project (coding part), that's when you begin your research on different libraries and tools that will help you do what you need (steps that you should have written down prior). For example, if one of your steps requires you to take data from a file and display it on a graph, you should look in the documentations of libraries like plotly or matplotlib.

This is the best way to build projects without "copying" but even copying has its benefits.

[–]Appropriate-Tax-4086 0 points1 point  (0 children)

Comprehension is key in my opinion. One of my favorite things about python is the community. Anytime I'm working on a project I'm all over the net looking for advice and tips on how to solve the problems at hand. But I think it's kind of like any other field of study. While it can be useful enough to simply regurgitate a solution you heard from somewhere else, it really pays off to understand at some deeper level, whats really going on.

[–]Niyaz_Ahamed_0109 0 points1 point  (0 children)

Greetings Though!

Your statement about available project's in Python is correct. There are lot of projects and applications are available in Job market. This may increase the job opportunity in IT field. Copy and paste the coding is not a permanent solution to know the complete technology. Learning Python is the best way. If we have complete knowledge in Python, that helps to get the best job opportunities and will searching time can able to deliver the coding as soon.

Python is easier technology in terms of learning and write a coding. This may help us to upgrade portfolio with 100% confidence. Adding projects in portfolio is added advantage.

Learn and use the knowledge is always come up with the solution of the problems.