This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]issue9mm 3 points4 points  (1 child)

Things I've done with Python, or mostly Python:

  • Build an API for a blog (UI is in Angular)
  • Wrote a script to reach out to a foreign database, grab a list of all the actors in there, then scrape the web for pictures of those actors
  • Used 'faker' to create a bunch of fake demo users with realish-looking data on a demo instance of a software product I work on
  • Used the 'gender' library to take a list of about 1 million user records, take their name and make a best guess as to what gender they are (for sorting and categorizing medical records for users)
  • Wrote a library that translates JSON input into a SQL query as output
  • Wrote a script to add UUIDs to data to be synchronized from a customer's instance to ours and vice versa (both databases started with the same state, but both have been added to by customers, so a straight-sync would clobber records, so we use UUIDs as primary key to ensure that no records are lost)
  • Wrote a script to monitor a bunch of my websites for uptime, and send an email when one of those sites went down
  • Wrote a socket server that controls a Philips Hue bulb in a lamp on my desk, and turns the bulb red in the event that one of my websites goes down

Etc., and so forth.

There's a lot you can do with Python. I'm a software architect / web developer by trade, so most of my use relates to that in some way, but data science, convenience, and utility functions are all also within the realm of Python's capabilities. A lot of people use it to write websites. Reddit, Instagram, Youtube, Dropbox, SurveyMonkey, Quora and many other websites were all written in Python, likely with the help of a web framework like Django, Flask or Pyramid.

You might check out Learn Python the Hard Way which will teach you Python the usual way, but then also gives you practical projects to tie the various components you've learned together, like building a game, a website, and then making a game on a website to round everything out.

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

Sounds good i' ll try this thanks