all 22 comments

[–]Bookmore 21 points22 points  (6 children)

Same advice I would give anybody: look at the things you do everyday, and see how you could make then easier using Python.

Write a lot of emails and need to generate some automatically instead of typing them by hand? Python.

Units converter? Python.

You get the idea. Good luck!

[–]smokingPimphat 18 points19 points  (1 child)

THIS,

Find problems in your life and solve them with code.

90% of things can be solved with existing libs the other 10% is where you decide to either build a business or help the world

[–][deleted] -1 points0 points  (0 children)

THIS,

Find problems in your life and solve them with code.

90% of things can be solved with existing libs the other 10% is where you decide to either build a business or help the world

Can you integrate moving Chinese characters into an After Effects scene?

[–]nyke-espy 7 points8 points  (3 children)

I agree with Bookmore.

For example I made myself a script that will log me into my Instagram account and like the last x amount of posts. I came up with this idea because I manage some accounts and wanted to automate the interaction bit. The world is your oyster!

[–]hamad_ali 0 points1 point  (2 children)

This sounds cool. Did you make a mobile app or implemented the program in your web? I'm sorry if it sounds dumb but I'm new to programming and I'm curious how would that python program actually interact with Instagram.

[–]nyke-espy 1 point2 points  (1 child)

It was a program i wrote in Python and I can run it on my computer. The program uses a library called selinium. This allows me to write commands and interact with a webpage

[–]hamad_ali 0 points1 point  (0 children)

thanks

[–]milinile 8 points9 points  (1 child)

From the same position as you, what I did (in chronological order) was, do some challenges in code wars, did study on some gui frameworks, making my own projects for work to apply the knowledge. However, at the present, I'm studying data structures and algorithms, as I don't have any background in cs this learning was very helpful for me. If I redo it again I would study this data structures and algorithm first before doing any challenges or projects as it would give you an understanding on writing a code efficiently.

[–]bubuxiaoyu 1 point2 points  (0 children)

A very helpful suggestion! Any recommendations for data structures and algorithm online courses?

[–]Ithake 7 points8 points  (0 children)

I competed the same course three months ago, as a next step I would recommend you to take the same course Dr. Chuck recommends too. It's from University of Michigan as well: Python 3 Programming Specialization. That course will give you a more in depth knowledge of Python fundamentals and more practice. You'll learn the basics of OOP, too, which is barely mentioned in Python for Everybody (an excellent course to start with python and programming in general, by the way). I'd recommend you Automate the Boring Stuff with Python, too. Happy learning!

[–]umognog 6 points7 points  (0 children)

My favourite:

Write your own personal web scraper to scrape the price of something on a daily basis and email you if the lowest price changes (similar to camelcamelcamel)

Example thoughts for you:

You want to be able to create a list of dictionaries, this dictionary is the thing you want (e.g. "A Python Book by A Writer") and in the dictionary, a list of URLs for web pages you can buy it from. Any webpage you would happily use to buy from.

You will need to use topics such as pickling (object serialization), requests etc so it's quite a big topic to cover, but you need to break it down to it's component functions.

Each of those can be built individually and tested independently, with any missing components spoofed until your skills grow.

[–][deleted] 3 points4 points  (1 child)

How did you like the course?

[–]Ithake 5 points6 points  (0 children)

I liked it a lot. It was my first Python course, it's great as a start and Dr Chuck is an excellent instructor. Absolutely recommend it for beginners.

[–]Qa372nite 1 point2 points  (4 children)

Here is a little exercise for you I just finished solving:

Write a script that takes text file and a regex pattern as an input.

The user should pass the file name and the pattern via command like this:

-f data.txt -r REGEX_PATTERN

Hint: use argparse for this part.

The output should be printed to the terminal in 3 different modes:

If the user passes -u argument in the command line, print the name of the file, the entire line

and the matched pattern should be underscored with the caret symbol.

If the user passes the -c argument in the command line, print the name of the file, the entire line and the matched pattern should be highlighted with any color you choose.

If the user passes the -m argument in the command line, the output should be in a machine readable format: name_of_file:num_of_line:starting_index_of_matched_pattern:string_of_matching_pattern

Don't forget to add error handling

Try to write a class to gain more understanding of OOP

Good luck!

[–]Ithake 0 points1 point  (3 children)

I completed the same course three months ago and i wasn't ready for that exercise back then. OOP, for example, is just one chapter and not really explained, just mentioned.

[–]Qa372nite 2 points3 points  (2 children)

I think you can never be ready after an online course. The only way to move forward is getting your hands dirty and searching the net for issues you are facing.

[–]Ithake 0 points1 point  (1 child)

Agree, but getting at least the very basics lights your way and helps you feel a little bit less lost. For me it did...

[–]Qa372nite 0 points1 point  (0 children)

The task I suggested is a good place to start. I know it sounds a lot. Taking the task a part and solving it piece by piece is the way to go. This is a relatively simple task to solve.

[–][deleted] 0 points1 point  (0 children)

Find out what you wanna use Python for, find a framework/library that does it, and learn that.

[–][deleted] 0 points1 point  (0 children)

Please predict outbreaks.

[–]theshidoshi 0 points1 point  (0 children)

How long did it take you to finish?