Python Learning
الذهاب إلى القناة على Telegram
Python learning resources Beginner to advanced Python guides, cheatsheets, books and projects. For data science, backend and automation. Join 👉 https://rebrand.ly/bigdatachannels DMCA: @disclosure_bds Contact: @mldatascientist
إظهار المزيد5 724
المشتركون
-224 ساعات
-127 أيام
-1930 أيام
أرشيف المشاركات
5 724
Python Variables: How to Define/Declare String Variable Types
What is a Variable in Python?
A Python variable is a reserved memory location to store values. In other words, a variable in a python program gives data to the computer for processing.
Python Variable Types
Every value in Python has a datatype. Different data types in Python are Numbers, List, Tuple, Strings, Dictionary, etc. Variables in Python can be declared by any name or even alphabets like a, aa, abc, etc.
How to Declare and use a Variable
Let see an example. We will define variable in Python and declare it as “a” and print it.
1 a=100 2 print (a)🔗 Read Online #Python #python_3 ➖➖➖➖➖➖➖➖➖➖➖➖➖ Join @python_bds for more cool data science materials. *This channel belongs to @bigdataspecialist group
5 724
🐍 Python Telegram Chat Bot: Create Your Own in Minutes Using telegram-bot --upgrade Library
🐍
🎥 YouTube Video:
https://youtu.be/ZfWHcvEFknk
🔗 Source Code:
https://www.samcodehub.com/Bot/bot.html
Description:
Learn how to create your own Telegram Chat Bot using Python and the telegram-bot --upgrade library. Our beginner's guide will show you how to build a bot in minutes.
#Python #Programming #OpenSource #Project #SourceCode #TelegramBot #ChatBot
5 724
What will be the output of the following Python code snippet?
not(10<20) and not(10>30)
5 724
📚 9 must-have Python developer tools.
1. PyCharm IDE
2. Jupyter notebook
3. Keras
4. Pip Package
5. Python Anywhere
6. Scikit-Learn
7. Sphinx
8. Selenium
9. Sublime Text
5 724
Join us for an exhilarating Python Singula Meetup Online! 🌐🎉
We bring together Python enthusiasts, developers, and learners from around the world!
🗓 Date: August 29
⏰Time: 6:00pm CET
🔗 To sign up
📺 The meetup will be broadcasted via YouTube!
Our lineup of esteemed speakers will dive into exciting topics:
▶️Discover the reasons behind Python's occasional slowness in specific tasks
▶️Learn practical strategies to secure a Hadoop cluster within a large ML team
▶️Unleash the power of spatial data with expert feature engineering
📌Subscribe to our Telegram channel, where you can find all the latest announcements for upcoming meetups!
5 724
Polymorphism in python 🕳
This allows us to use a single interface for different data types or classes. We can achieve this through method overriding, where a subclass provides a different implementation for a method defined in its parent class.
Let's understand with example -☝️
5 724
What will be the output of the following Python code snippet?
['hello', 'morning'][bool('')]
5 724
Abstraction in Python 🎭
Here's an example -------------------☝️
This concept focuses on exposing only essential information to the outside world while hiding implementation details.
We use abstract classes and methods to define a common interface.
At this point if Abstraction and Encapsulation confuse you! 👇
Abstraction conceals the implementation details, but doesn't hide the data itself.
On the other hand, Encapsulation hides the data and restricts unwanted use from external sources.
5 724
What will be the output of the following Python expression?
~100?
5 724
Encapsulation in Python 🚡
(Here's an example) ---------- ☝️
Encapsulation helps to bundle data and methods inside a class, restricting direct access to certain attributes and methods.
We use private attributes/methods (with a _ or __ prefix) to achieve this.
