🚀 Day 17 of my 50-day Advanced Python Mini Projects Challenge is complete! 🎉 Today, I explored the `requests` library documentation and learned how to fetch data using GET requests. I also created a Random Quote widget using the `tkinter` library, which displays random quotes from Kanye West. 🗣️ The `requests` library is a powerful tool for making HTTP requests to fetch data from APIs. While I focused on GET requests today, I plan to work on the rest of the HTTP requests in the future. The `tkinter` library helped me create a simple yet functional GUI to display these quotes. This project enriched my understanding of data fetching and GUI development, and I’m excited to see what the next 33 days will bring. Stay tuned for more updates! #Python #Programming #RequestsLibrary #API #HTTPRequests #Tkinter #RandomQuoteWidget #KanyeWestQuotes #CodingChallenge #PythonProjects #LearningJourney #50DaysOfCode
My 50-day Python Mini Projects Challenge
More Relevant Posts
-
I have recently studied API calls and how to get data from an API to use in your own code. In python this can be done by making use of the requests module. To solidify my concepts and better understand what i was learning i made this Video Game Quiz App that asks you 10 True/False Questions Questions are taken from the Open Trivia Database at opentdb.com through their free API that does not require any authentication. The program follows a complete object oriented approach with each class responsible for it's own function. GitHub: https://lnkd.in/dXNdRS52 #python #learning #quizapp #API #tkinter #OOP
To view or add a comment, sign in
-
🚀 Day 6 of #100DaysLeetCode 🚀 Today, I worked on the Sum of Prefix Scores of Strings problem using Python! 🐍 Here's what I tackled: 🔍 Problem Overview: You are given an array words consisting of non-empty strings. The task is to return an array where each element represents the sum of scores of every non-empty prefix of each string. The score of a string is the number of strings in the array that have it as a prefix. 🛠 My Solution: I used a Trie to store all the words and then traversed through each word to compute the prefix score efficiently. This helped optimize the solution for larger inputs. 💻 Key Stats: Runtime: 1755 ms (Beats 77.24%) Memory Usage: 305.45 MB (Beats 80.34%) 🔗 Check out my LeetCode profile for more solutions: leetcode.com/u/gopalgpt 📈 This problem was an excellent challenge for using Trie data structures and optimizing prefix matching. Keep learning and improving! 💡 #LeetCode #Python #100DaysOfCode #DSA #DynamicProgramming #CodingJourney #CodingChallenge #GrowthMindset #GopalSharma
To view or add a comment, sign in
-
-
🚀 Day 24 of #100DaysLeetCode 🚀 Today, I tackled the Smallest Range Covering Elements from K Lists problem using Python! 🐍 🔍 Problem Overview: You have k lists of sorted integers in non-decreasing order. The task is to find the smallest range that includes at least one number from each of the k lists. We define a range [a, b] as smaller than range [c, d] if b - a < d - c or a < c if b - a == d - c. 🛠 My Solution: • Utilized a min-heap to efficiently track the smallest number across lists. • Maintained the maximum number in the current range to determine if the range could be minimized. • Processed elements from the lists until all lists were covered, continuously keeping track of the smallest possible range. 💻 Key Stats: Runtime: 192 ms (Beats 62.63%) Memory: 23.20 MB (Beats 79.95%) 🔗 Check out my LeetCode profile for more solutions: leetcode.com/u/gopalgpt 📈 This problem sharpened my heap manipulation and range optimization skills! 💡 #LeetCode #Python #100DaysOfCode #DSA #CodingJourney #CodingChallenge #GrowthMindset #GopalSharma
To view or add a comment, sign in
-
-
🚀 Day [39] of #100DaysOfCode 🚀 Today, I dove into generating QR codes using Python! I worked on a simple script that takes a website link as input and generates both SVG and PNG formats of the QR code. This is a handy way to share links quickly and efficiently. Here’s a quick overview of the process: 🔹 Imported the necessary libraries. 🔹 Took user input for the website link. 🔹 Generated the QR code in SVG format with a scale of 8. 🔹 Also exported it as a PNG with a scale of 6. You can check out the code on my GitHub: https://lnkd.in/giZpsTfw Creating this project not only improved my Python skills but also gave me insight into the practical applications of QR codes in daily life. Dr Sagar Gulati Dr. Sanjeev Kumar Mandal, Ph.D, M.C.A, B.C.A Jyothi Shanbhag #Python #QRCode #CodingJourney #LinkedInLearning #GitHub #100DaysOfCode #JainUniversity
To view or add a comment, sign in
-
-
🌟 Excited to Share My Latest Mini Project: Image Viewer! 🌟 I’ve just completed a mini project using Python and Tkinter that allows users to view images in a user-friendly interface. This project was a great opportunity for me to enhance my skills in GUI development and explore the capabilities of Python. Project Highlights: ° User -Friendly Interface: Easily load and view images with a simple click. °Image Navigation: Browse through images seamlessly. °Cross-Platform: Works on multiple operating systems. I’m excited to share the code with the community! You can check out the project on GitHub here: https://lnkd.in/dB9hNMvv I would love to hear your feedback and any suggestions for improvements. Feel free to drop your thoughts in the comments! #Python #Tkinter #ImageViewer #OpenSource #GitHub #Programming #ProjectShowcase
To view or add a comment, sign in
-
📣 NumPy 2.0 is planned to be released on June 16, 2024 🎉🎉🎉 This release has been over a year in the making, and is the first major release since 2006. Importantly, in addition to many new features and performance improvement, it contains breaking changes to the ABI as well as the Python and C APIs. It is likely that downstream packages and end user code needs to be adapted - if you can, please verify whether your code works with NumPy 2.0.0rc2. Please see the following for more details: The NumPy 2.0 migration guide 👉 https://lnkd.in/d-gxmYqA The 2.0.0 release notes 👉 https://lnkd.in/d39-ba5M Announcement issue for status updates: numpy#24300 👉 https://lnkd.in/dTwN6irv #python #numpy #datascience #machinelearning
To view or add a comment, sign in
-
-
This project is the culmination of my efforts inspired by Pavel Křupala's node editor tutorial. I've long wanted to create a node editor for managing files, and now I finally have something to showcase. A huge thanks to Pavel Křupala for his awesome tutorial! In this project, beyond the math nodes from the tutorial, I’ve added more predefined nodes to enable functions like tagging files and batch processing Maya files with customizable Python scripts. I also adapted the serialization functions to accommodate the new nodes. This journey has significantly deepened my experience with PyQt5 and Python classes. Check out my video to see it in action! Here's the Step-by-step version link: https://lnkd.in/gcz4xwJU #Python #PyQt5 #NodeEditor #FileManagement #Maya #BatchProcessing #CodingJourney
To view or add a comment, sign in
-
💡 Day 22 of #100DaysOfProgrammingChallenge 🚀 Challenge Accepted: LeetCode Problem #169 - Majority Element ✨ Today, I worked on solving LeetCode Problem #169: Majority Element, which involves finding the element that appears more than ⌊ n/2 ⌋ times in an array. This problem helped me sharpen my skills in working with hashmaps and collections in Python! 🔍 Problem Breakdown: Input: A list of integers nums. Output: The integer that appears more than ⌊ n/2 ⌋ times in the list. Example: Input: nums = [3, 2, 3] Output: 3 Initial Approach: Using Python's collections.Counter, I created a frequency dictionary of all elements in the list. I then looped through the dictionary to identify the element that occurs more than half the number of times. Final Solution: The majority element is identified by comparing each element's count with ⌊ n/2 ⌋. Once the element with the majority count is found, it is returned. Example Walkthrough: For nums = [3, 2, 3], the frequency count is {3: 2, 2: 1}. Since 3 appears more than half the length of the list, the output is 3. This problem provided a great opportunity to practice working with hashmaps and the collections module. Excited for the upcoming challenges! 💪 #LeetCode #Python #CodingChallenge #100DaysOfCode #ProblemSolving #Hashmaps #Programming #ComputerScience
To view or add a comment, sign in
-
-
Python 3.13 has officially here, and it’s packed with exciting new features! 💻 From disabling the GIL (yes, you read that right!) to a revamped interactive interpreter with full color support 🎨, this update is a game-changer. And with Python 3.14 on the horizon—should we start calling it *Pi-thon*? 🍰—there’s a lot to look forward to. In this week’s video, I’ll break down the improvements to packages and modules, faster garbage collection, and some intriguing (and experimental) JIT optimizations. Curious about what else is there? Click here to watch now: https://lnkd.in/gCjUXw57 Which feature are you most excited about? Let me know in the comments! 🐍 #Python313 #PythonUpdate #GIL #Programming #ArjanCodes #PythonCommunity
To view or add a comment, sign in
-
-
Day 38 of #100DaysOfCode challenge. Post 2: Continuing my work with files and directories, I built a mail merge project today. The project involved taking a list of names and merging them into a template invitation letter. By storing the names in a list and using Python's file handling in write mode (mode="w"), I was able to generate personalized letters for each name. It was a great way to practice manipulating files and applying what I’ve learned. #100DaysOfCode #Python #Progress 🔥
To view or add a comment, sign in
Congrats Pranav Jagdale on the new progress! Your determination and perseverance have led you to this well-deserved progress. Keep thriving and aiming for greatness! 🥳 🎉