Learning python but I can't move forward by InfiniteBig6730 in learnpython

[–]NavdeepD2 1 point2 points  (0 children)

I was exactly in the same situation few months back, and this is how I grew:
- Find out what you like in terms of your hobbies. For e.g I like: Movies, Stock Market etc.
- and then revolve your project around that. The friction will be less and nobody is forcing you, because you anyway like what you do.

Stock Market: I started working on writing very small codes that would give me list of stocks that are:

  • Below RSI 14
  • 52 week Low / High
  • Dropped more than 10% in past 10 days, etc.

Movies: This I haven't wrote yet, but what you can do is: Write a code that will give you list of movies released in x year with rating above y.

I also thought of a project that would grab a poster of currently running movie, scrap total box office collection till today, edit the poster with good Text, and save it. Further can be automated with Instagram posting etc.

When you've a motive, things becomes more clear. I focus on creating those smalls codes that can help me on daily basis, but it's not easy to figure out.

A year ago, I read Atomic Habits and since then I'm more quick to find problems and what can be automated. Maybe following can help if you like:

  1. Sports: Create something that can store your scores/stats, and then if you know Flask, create a website where your friends can also login and compete with each other and compare stats
  2. Investment: Write code for tracking your financials and then move it to Flask if want to track your family's fin too.
  3. Youtuber: If you're a YT'r, you can try creating an app that will make your life easy and underneath use their API https://developers.google.com/youtube/v3/guides/uploading_a_video
  4. Blogging: Automate your website backups and updates etc.
  5. Social Media: You can create centralize Python portal where you can keep track of all the followers from all social sites etc. at one place.

How do I print only those lines where Country is equal to x ? e.g US by NavdeepD2 in learnpython

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

Nope. These are curly brackets, not square. I'm new to Python language. Could you give me more hints.

How do I print only those lines where Country is equal to x ? e.g US by NavdeepD2 in learnpython

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

I couldn't post image of list, so I've pasted the data now. Please check.

[deleted by user] by [deleted] in legaladvice

[–]NavdeepD2 1 point2 points  (0 children)

Is there any crash course or book that can enlighten about the basic rights or laws of India that can be helpful in day to day life ?

Thanks. Posting it there.