Python Pioneers: A Beginner's Guide 🇪🇹
СтатистикаWelcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey. 📢 Channel: @python_pioneers 👥 Group: @python_pioneers_com
- Последний пост
- 10 июн.
- Последнее чтение
- 15 авг.
- Постов за неделю
- 0
- Всего постов
- 43
- Тип
- открытый
- Язык
- und
- Категория
- Технологии
- В каталоге с
- 13 авг.
- 1/24сутки в ленте
- —
- 1/48двое суток
- —
- 1/72трое суток
- —
Оценка по просмотрам недавних постов: пост набирает почти всё за первые сутки.
Посты
видео или голосовое, без подписи
...continued To access attributes or call methods on an object we use a dot-notation., the variable followed by dot and the attribute or the method name. Syntax: the dot-notation # Accessing an attribute object.attribute # Calling a method object.method() Example: simplified computer object class Computer: # __init__ is a special method (a constructor) def __init__(self, brand, model): # attributes self.brand = brand self.model = model # methods def powerOn(self): print(f"Powering on {self.brand} {self.model}") def powerOff(self): print(f"Powering off {self.brand} {self.model}") c1 = Computer("HP", "OMEN") c2 = Computer("Dell", "XPS") # Test code print(c2.brand + " " + c2.model) c1.powerOn() # Output Dell XPS Powering on HP OMEN #oop #PythonProgramming #DotNotation
...continued To do OOP in python we use classes. Classes define the shape (attributes and methods) of an object. Think of classes like a blueprint for creating objects. Next we use classes to create objects. It's a simple two step process:- • Modeling:- defining a class (shape). • Instantiating:- creating objects (instances) using class. Syntax: to create a class we use the class keyword. # Step 1 - Modeling class ClassName: attr1 = 0 attr2 = True attr3 = "string" def method1(self): pass def method2(self): pass # Step 2 - Instantiating obj1 = ClassName() obj2 = ClassName() Note: • Attributes can be of any data type. • Methods are just functions attached to the object. • self is a reference to the object; obj1 or obj2 (we will talk more about them later)
OOP in Python Object Oriented Programming (OOP) just means we organize code using objects that have Data and Actions. Data is something we know about the object, and Actions are things we can do to the object or with the object. For example, when looking at a computer, we may find ourselves asking the brand, model and specs of a computer, these are some of the data(information) we can have about a computer. Also we can do things on a computer; power it On & Off, Open & Close apps, adjust the volume - these are some of the action we can take on a computer. Note: In the context of programming we usually say Attribute or Property instead of Data and Method instead of Action.
We now have a new community group to discuss on different topics You can also dm additional topics to be created https://t.me/python_pioneers_com
видео или голосовое, без подписи
видео или голосовое, без подписи
Lambda functions Another cool expressions or patterns in python are lambda functions a.k.a anonymous functions. We use them to define functions inline (in one line). # Syntax lambda arguments: expresion The subtle thing we need to understand about anonymous funtions/lambda functions is that they don't have a name unless we explicitly assign them to a variable. The return value of lambda function is the evaluated expression. The concept actually exists in many programming languages as anonymous functions or function expression, even-though the syntax could be different. # Examples # This is valid - With no name lambda x: x # With a name times2 = lambda x: x * 2 # With two argumetns prefix = lambda pre, post: pre + post; postfix = lambda post, pre: prefix(pre, post) print(times2(10)) print(prefix("main", ".py")) print(postfix(".py", "main")) # ----------Output---------- 20 main.py main.py #LambdaFunctions #PythonProgramming #PythonTips #GettingToKnowPython
видео или голосовое, без подписи
List comprehensions List comprehensions are expressions that allow us to transform lists in a single line. The syntax: [ <inner_expression> for <item> in <list> ] It may look intimidating at first glance but what will happen is python loops through the list and executes the <inner_expression> for each <item> in <list> to create a new list. # Example nums = [1, 2, 3, 4, 5] squared = [n ** 2 for n in nums] print(squared) # output: [1, 4, 9, 16, 25] Above we have two expression the outer_expression which is the list comprehension itself and the inner_expression (n ** 2) which transforms the list. In this case the inner_expression squares each item from the list. #PythonTips #GettingToKnowPython #PythonPatterns
In the tech world, things change fast. Adapting to these changes quickly is what helps us stand out as better programmers. Project changes are tracked using version numbers—and they aren't random. They convey crucial information about the current state of a project. The Python project uses a major.minor.micro versioning scheme for production releases (the versions we care about most!). Here is how it breaks down: 🔹 Major version (x.0.0): These are rarely incremented. They only occur when there are significant backward-incompatible changes or a complete, ground-up redesign of the project. These updates are planned years in advance. Python has only had four major versions in its history: 0.x.x, 1.x.x, 2.x.x, and 3.x.x (our current version). 🔹 Minor version (0.x.0): These are incremented for new features and library deprecations. They can sometimes introduce breaking changes too. In Python's release cycle, a new minor version comes out every year in October. 🔹 Micro version (0.0.x): These updates are reserved for bug fixes and security patches on an existing minor release. As of today, the current stable release of Python is Python 3.14.5. 🐍 #GettingToKnowPython #PythonProgramming #CodingTips
Good Morning Pioneers! 👋 I'm Kal, and I'll be taking over from here! Just wanted to let you know we'll be continuing our discussion on Python, focusing on language features and development tooling 🐍🛠. If you're new to Python, you should start with the topics covered in Python Basics 📚✨.
Its fully Confirmed now That Anthropic is adding Ethiopia to Supported Countries List!!! Its rolling from Claude code first!
😁😁😁😁😁😁
🤍 Dagmawi Babi's Meetup This year I'm starting with a new and independently organized Dagmawi Babi event! 🎉 Dagmawi Babi's Meetup is the first of it's kind event organized by Dagmawi Babi and his team as a thank you to all the incredible individuals, creators, event organizers, companies and communities improving and accelerating the tech and design ecosystem. It's a thank you for taking risks, for pioneering new ventures, for taking the blame, for investing so much of yourself into the benefits of everyone else, for spending months building epic things, for spending countless nights preparing events, for imagining a community that can be much better than what it is and working towards your vision. We're going to spend an incredible full day where we listen to insightful keynotes, explore project showcases, attend a live podcast (Devtopia), hold an in-person Creator Awards (by Codenight) and so much more. The date is Jan 24, 2026 and the event will take place at DxValley 2.0. So if all of this sounds like your type of event, register at dagmawi.dev/meetup and claim your ticket. Make sure to select "Attending" from the options. Thank you again and I can't wait to see you there! Yours truly @Dagmawi_Babi
Real experience doesn’t come from watching more tutorials. It comes from building, thinking, and solving real problems. Tutorials are useful at the beginning, but staying there too long gives a false sense of progress. You may understand concepts, but you don’t truly learn until you apply them on your own. The best way to gain experience is to start with a problem you actually see or face. It can be something small, a task you repeat every day, a manual process, or a tool you wish existed. Start there. Google similar ideas, read how others solved it, and then try to build your own version. It doesn’t need to be perfect. What matters is that the decisions are yours. When you work on your own project, learning becomes real. You think about structure, logic, edge cases, and how things behave in real situations. You get stuck, search for answers, read documentation, try again, and improve. This is exactly how professional developers work. Spending too much time watching tutorials without writing code keeps your hands clean, but experience comes when your hands get dirty. Writing imperfect code, fixing it, and improving it over time teaches you far more than any video can. Experience is built by doing real work, not by waiting to feel ready. Start small, build something real, and learn along the way. @edemy251
🎙 Open Mic Session: Featuring Ruth Abiti Getaneh We’re excited to host Ruth Abiti Getaneh, a Software Engineer with 3+ years of experience building scalable, production-ready systems across healthcare technology and enterprise applications. Ruth specializes in mobile development with Flutter and Riverpod, and web applications using Angular and ASP.NET. Her work spans RESTful APIs and data-driven dashboards — all grounded in Clean Architecture, Domain-Driven Design (DDD), and CQRS. ✨ In this session, expect: 🔹 Building scalable healthcare and enterprise systems 🔹 Mobile vs web architecture decisions in real projects 🔹 Writing code that your future self will thank you for 🔹 Career growth, teamwork, and open Q&A 📅 Date: Friday, December 19, 2025 ⏰ Time: 8:00 PM / 2:00 LT 📍 Live on the GDG AAU Channel Follow us for updates: | Telegram | LinkedIn | Instagram | TikTok | Face Book | X #GDGAAU #OpenMicSession
The hardest part of software engineering is getting your first role. The next hardest part? Realising how little you know. Then comes trying to write code that lasts. After that? watching others fly while you feel stuck. And just when you think you’ve figured it out: someone shows you how much you still don’t know. The journey never gets easier. You just grow stronger at facing it. So if you’re struggling to land a role, chasing a promotion, fighting doubt, or feeling unseen — keep going. The learning never ends. The doubts never vanish. But neither does the growth. Credit
Why Change Rarely Happens You can’t have transformation and comfort at the same time. Tigabu Haile November 13, 2025 The Long View More than a hundred billion people have lived and passed through this planet. Out of all of them, how many do we truly remember? A few thousand names, maybe tens of thousands at most, etched on monuments, remembered through books, inventions, wars, or acts of generosity. It’s not because most people didn’t live meaningful lives. It’s because real change, the kind that leaves a mark, rarely happens. And almost always, it’s driven by a few who were willing to go further, to pay the full price that transformation demands. What’s striking is that being alive today still gives us that chance. The odds are what they are, but the opportunity remains. The Illusion of Desire We live in an age of exposure. Every day, we’re surrounded by life-changing information, books on business, communication, negotiation, mindset, spirituality. We scroll through thousands of ideas that could transform our lives. Yet, strangely, very little changes. Ask anyone if they want to be rich, healthy, fulfilled, or successful, and they’ll look at you as if you’re being sarcastic. The answer feels obvious. Everyone wants that. But wanting and committing are not the same thing. There’s wanting something. There’s wishing for it. And then there’s dedicating your entire life, your time, energy, money, network, and focus, to making it real. That difference explains why so few people ever cross from desire into transformation. We say we want change, but we rarely test how badly we want it. The Story of Air There’s a story that captures this truth perfectly. Whether it’s real or not doesn’t matter, the metaphor is unforgettable. A journalist once interviewed Albert Einstein. They spoke about science, physics, and the theory of relativity. Toward the end, the journalist asked, “Why are you so successful? Why are you so smart?” Einstein didn’t answer. Instead, he took the journalist to a nearby pool and suddenly pushed his head underwater. The man panicked, struggling to breathe. After a few seconds, Einstein let him up. The journalist gasped for air, furious and confused. “Are you crazy? What was that for?” Einstein looked at him calmly and asked, “When you were under the water, what were you thinking about?” The journalist replied, “Air.” Einstein nodded. “Exactly. You weren’t thinking about your family, your reputation, or what people think of you. You wanted one thing—air. Until you want success, change, or mastery with that same intensity, you’ll never have it.” The Price of Change That story captures everything about why transformation is rare. Most people like the idea of success, but they’re not desperate for it. They’re still thinking about comfort, distraction, validation, and convenience. The few who change are the ones who want it like air, single-minded, undistracted, obsessive. To change your life is to give something up. Comfort, validation, and distraction. You trade them for focus. You trade ease for clarity. You stop asking, “How do I feel?” and start asking, “What must I do?” The Moment It Becomes Real Change doesn’t begin when you read a book, attend a seminar, or post a goal online. It begins the moment you decide nothing else matters more. Because when you finally want it the way you wanted to breathe, change stops being theoretical. It becomes inevitable. It always begins there. Go to the article -> @werqspace #Article #Success @python_pioneers
UNIX: Linux እና macOSን ጨምሮ ለብዙ ዘመናዊ operating ሲስተሞች መሰረት የጣለ powerful፣ ብዙ ተጠቃሚ ያለው፣ ባለብዙ ተግባር ኦፕሬቲንግ ሲስተም ነው። Powerful command-line አለው እና enterprise servers እና scientific environments ውስጥ በሰፊው ጥቅም ላይ ይውላል። Unixን ከስልክ ወይም ከPC access ማረግ ይቻላል። 1. Termux app፡ Install the Termux app on your Android phone to access a full Unix-like environment. ይህ command-line interface ለመጠቀም፣ Packages ለመጫን እና እንደ Python እና እንደ C ያሉ programming languages በመጠቀም ፕሮግራሞችን ለመፍጠርና እና run ለማረግ ያስችላል። በቀጣይ basic shell commands practice እናደርጋለን። 2. SSH(Secure Shell)፡ ከUnix ማሽን ጋር በርቀት ለመገናኘት የSSH client በስልክ ላይ መጠቀም ትችላላችሁ። Make sure you have an internet connection when you use SSH, you can access the virtual machine as long as you are connected to the internet. SSH በመጠቀም UNIX OS በስልክም ሆነ በPC access ማረግ ትችላላችሁ። 3. Install Unix based OS: you can also install a Unix based operating system like Linux or FreeBSD on your PC. ...to be cont'd #Unix #PythonPioneers #OS @python_pioneers