Excited to Share My New Python Library: 𝗽𝘆𝗶𝗺𝗴𝟮𝗮𝘀𝗰𝗶𝗶 I just released 𝘃𝟬.𝟱 of pyimg2ascii, a Python library I built to convert images into ASCII art. I created it to experiment with image processing and make coding a bit more fun and creative. 1. 𝗽𝗶𝗽 𝗶𝗻𝘀𝘁𝗮𝗹𝗹 𝗽𝘆𝗶𝗺𝗴𝟮𝗮𝘀𝗰𝗶𝗶 You can try it yourself and see your images come alive as ASCII art! I’d love to hear your feedback and see what you create. Check it out here: https://lnkd.in/g86iPSU4 #Python
Introducing pyimg2ascii 0.5: Python Library for ASCII Art
More Relevant Posts
-
🧠 Python Trap You’ll Probably Hit Once When you create a list using multiplication like * 3, Python doesn’t create separate inner lists. Instead, it creates multiple references to the same list in memory. So when you modify one, all of them change together. But when you use a list comprehension, each inner list is created independently. That means changes stay isolated, exactly as you’d expect. This small difference is responsible for a lot of confusing bugs, especially in nested data structures. Reference: https://lnkd.in/gWBiknUH #pythonprogramming #learnpython #coding #python
To view or add a comment, sign in
-
-
🚀 Day 2 of #100DaysOfCode Today I learned how to check whether a number is a Palindrome using Python 🐍 🔍 Problem: A number is called a palindrome if it reads the same forward and backward (like 121, 1331). 💡 Approach: Reverse the number using a loop Compare it with the original number 🐍 Code: num = int(input("Enter a number: ")) original = num reverse = 0 while num > 0: digit = num % 10 reverse = reverse * 10 + digit num = num // 10 if original == reverse: print("Palindrome Number") else: print("Not a Palindrome Number") 📌 Key Learning: Learned how loops and basic logic can solve interesting problems. 💬 Next: Armstrong Number 🔥 #Python #Coding #100DaysOfCode #Learning #CSE
To view or add a comment, sign in
-
-
Day 35 / #120DaysOfCode – LeetCode Challenge ✅ Problem Solved: • Minimum Distance Between Equal Elements 💻 Language: Python 📚 Key Learnings: • Used HashMap (defaultdict) to store indices of elements • Learned how to track positions efficiently • Applied distance calculation between indices • Improved understanding of index-based problems • Practiced optimizing solution using O(n) approach Consistency + Practice = Progress 📈 🔗 LeetCode Profile: https://lnkd.in/gbeMKcv5 #LeetCode #Python #DSA #HashMap #Algorithms #CodingJourney #Consistency #120DaysOfCode
To view or add a comment, sign in
-
-
Python Tip of the Day 🐍 a and a+ are safer alternatives when you don’t want to overwrite existing content: a → Append only (write at the end) a+ → Append + Read Both modes ensure that existing data remains intact, making them ideal for logs and continuous updates. Day 44 of building Python basics. #Python #FileHandling #LearnPython #ProgrammingBasics #PythonTips
To view or add a comment, sign in
-
-
💡 Tiny Python tip that improves code clarity With a normal tuple, you have to remember what each index stands for. That knowledge lives in your head, not in the code. `namedtuple` fixes this by giving semantic meaning to each position. You still get immutability and performance, but with clear, self-documenting access. #Python #PythonProgramming #CleanCode #CodingBestPractices #CodeReadability
To view or add a comment, sign in
-
-
Most Python beginners feel stuck after learning the basics. Variables ✔ Loops ✔ Functions ✔ Still… “I can’t build anything.” That’s the real problem. Not lack of knowledge. But lack of application. Here’s what you should do next: 👉 Build small projects Start with: • Calculator • Number guessing game • Simple to-do list Projects turn knowledge into skill. That’s where confidence comes from. Don’t wait until you “know everything”. Start building with what you already know. 👉 What is the first Python project you built (or planning to build)? #BluJayTechnologies #Python #LearnProgramming #softwarecoaching
To view or add a comment, sign in
-
-
Tried learning 𝒓𝒆𝒄𝒖𝒓𝒔𝒊𝒐𝒏 in Python today 🤓 At first, this line was confusing: 𝘀[-𝟭] + 𝗿𝗲𝘃𝗲𝗿𝘀𝗲_𝘀𝘁𝗿(𝘀[:-𝟭]) Step by step break kiya aur finally it clicked 💡 Basically, last character is picked and combined with the reversed remaining string. Still practicing, but this made me realize coding isn’t just about syntax — it’s about building the right way of thinking 🧠 How do you usually approach recursion problems? Any tips for beginners? 💡 #Python #Recursion #CodingJourney #LearningInPublic #WomenTech
To view or add a comment, sign in
-
-
🚀 Day 26 of Python Problem Solving!! Today, I worked on a Python problem to check whether two strings are anagrams of each other. 💡 What I Practiced Today: Understanding how to compare two strings efficiently Using dictionaries (hashmaps) for character frequency counting Applying the sorting technique as an alternative approach Analyzing time complexity of different solutions Handling edge cases like unequal string lengths 🧠 Problem Statement: Given two strings s and t, return true if they are anagrams, otherwise return false. 📌 Example: Input: s = "apple", t = "aplep" Output: true ✨ I explored two approaches: 1️⃣ Using dictionaries to count character frequencies 2️⃣ Using sorting to directly compare both strings This problem helped me understand how different approaches can solve the same problem with varying efficiency — a key concept for coding interviews. #Day26 #100DaysOfCode #Python #CodingJourney #ProblemSolving #DataStructures #Programming #LearnToCode #TechJourney
To view or add a comment, sign in
-
-
If you get this right… your Python fundamentals are solid 😏 Python Series — Day 4 🧠 This one has confused a lot of developers (including me once 👀) What will be the output? def add_item(item, lst=[]): lst.append(item) return lst print(add_item(1)) print(add_item(2)) print(add_item(3)) Options: A. [1] [2] [3] B. [1] [1, 2] [1, 2, 3] C. Error D. Something unexpected 👀 Don’t rush this one. 👉 Think: Is the list created every time… or reused? Drop your answer 👇 Let’s see who gets it right 🔥 Answer tomorrow 🚀 #Python #CodingChallenge #LearningInPublic #Tech #DataEngineering
To view or add a comment, sign in
-
-
🚀 Day 10/30 – Python Challenge Learning about tuples in Python today! 🐍 🔹 Key Concepts Covered: * Creating tuples * Accessing elements using index * Iterating through tuple elements using loops * Understanding immutability (tuples cannot be changed) 💻 Mini Task: Created a tuple of numbers, accessed the first element, and used a loop to display all the values. 🎯 Learning Outcome: Understood how tuples are used to store fixed collections of data and how they differ from lists. They are especially useful when data should not be modified. Building a strong foundation in data structures step by step 💪 #Python #CodingChallenge #LearningJourney #DataStructures #StudentDeveloper #Day10
To view or add a comment, sign in
-
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development