Category
Microservices
7-Day Challenge
Land Your First Data Science Job
A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.
Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet
API
1 min readHow to use API in Python
Use the requests library in Python to send HTTP requests to an API, process the response, e.g. check status code, parse JSON data. Example: response = requests.get(url); data = response.json() if response.status_code == 200 else print("Request failed").
3/21/2023Read More
Telegram
5 min readHow to send a Telegram message in Python
Send messages on Telegram using the python-telegram-bot library by installing it, creating a bot object with token, getting chat_id of last message received, and calling bot.send_message(chat_id, text). Check library's documentation for further details.
3/19/2023Read More
Advanced
1 min readHow to use Schedule in Python
"Use the schedule library in Python to schedule tasks to run periodically by installing the library, defining a function to be run, scheduling the function using schedule.every(interval).unit.do(function), running pending jobs using a while loop, and giving the CPU a break using time.sleep(1)."
3/18/2023Read More
Advanced
1 min readHow to send an SMS in Python
Send SMS in Python using a third-party SMS API like Twilio or Nexmo, by installing their library, obtaining account SID and Auth Token, creating a client object, and sending an SMS using Client.messages.create(body, from_, to) function. Check API documentation for further details.
3/17/2023Read More
Advanced
1 min readHow to make your own API in Python
Build an API in Python using a web framework such as Flask or Django by defining endpoints, writing functions for handling requests, mapping functions to endpoints, starting the server and testing the API by sending requests to endpoints.
3/16/2023Read More
Flask
1 min readHow to use Flask in Python
Use Flask in Python for building web applications by installing Flask, importing the Flask module, creating an instance of the Flask class, defining routes and the corresponding request handlers, and running the application using the run() method.
3/15/2023Read More
Free Newsletter
Master Data Science in Days, Not Months 🚀
Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚
Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee