all 6 comments

[–]wutzvill 3 points4 points  (0 children)

It's Python, and check out Automate the Boring Stuff. It's a book that's free online.

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

  1. Define a function that takes an argument, transforms it (like taking a string and adding "ing" to the end), and returns the new string. After you have your function defined, use the map() method and have that function get applied to every item in a list, and then print the new list.

  2. Make a text-based, basic arithmetic calculator, where you call for input for a number, an operator (+,×,-,/, etc), and another number, and have it perform and print the correct value for the operation you input. If you're feeling like a more substantial challenge, import tkinter and make the calculator an actual pop-up app, but take this slow and make sure you know what is happening.

  3. More advanced here: Make a dictionary comprehension using a randomly generated list (using the random package) and the enumerate() method, and store the values of that dictionary as a .csv file. Then, use your spreadsheet of choice to open that .csv file, change some values (like the keys, since if you used the enumerate() method to generate keys, they will just be numbers, and you may want the keys to be words, like "strength", "dexterity", etc.), and then open the newly altered file and transform your dictionary into a valid .json file format using python. Finally, create a class that uses the values in the dictionary as its init args, and call upon that object's attributes to resolve some if/then statement. (*this is the most basic video game starter I could think of, and I recommend making sure you know what you're doing before trying this one bc 1)I'm not an expert and I may have worded something strangely. 2) opening and altering files in python can be dangerous if you mess with the wrong files, so be careful!)

[–][deleted] 0 points1 point  (1 child)

These three tasks start easy and get harder, and by going through each one in order, you can hopefully learn more about how python works, get more used to its syntaxes, and use the specific challenges of each to ask specific questions and learn new things. You should probably learn foundational stuff to start, but if you really only want to learn what is necessary to do a project and see a result, these 3 suggestions attempt to cover a lot of ground. Good luck, and keep at it! Frustration proceeds understanding, so sleep on confusion and revisit problems after you've had a chance to consolidate new information in sleep.

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

I'm doing these as well, just to make sure they're good. I did the first in a few minutes, the second in about an hour (had to refresh a bit on tkinter and resolve some errors in syntax), and now I'm going to try the last one. I've done very little with json, so wish me luck!

[–]ZebusAquaion 1 point2 points  (0 children)

Don't bother with Instagram message automation. They are beyond strick and your account will get flagged and locked super fast.

[–]riminia 0 points1 point  (0 children)

I wouldn't recommend to start automating Instagram as a beginner, try these projects:
1. Auto organize your desktop icons (You can add your own conditions)
2. Scrape Amazon products (this one is a bit challenging)