TGViewer
Channel Public Channel
Python Learning

Python Learning

@python_bds

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
Subscribers
5.74K
Photos
587
Videos
2
Links
132

Showing posts older than #396 Β· Back to latest

Older Posts 20 shown
Post #395 1.73K
🐍 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
YouTube How To Create Your Own Telegram Chat Bot Using Python telegram-bot --upgrade library we use python telegram-bot --upgrade to have our chat bot in few lines of code. Telegram bots are small programs that can embed in Telegram chats or public channels and perform a specific function. They can offer customized keyboards, produce cat memes on…
  • πŸ‘ 2
Post #394 944
  • πŸ‘ 2
Post #392 1.03K
  • πŸ‘ 2
Post #386 1.01K
  • πŸ‘ 4
  • 😁 1
Post #384 1K
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
Post #382 953
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.
  • πŸ‘ 7
Post #381 841
  • πŸ”₯ 4
Post #380 966
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.
Post #377 984
Inheritance in Python πŸͺ’

check this out --------------------☝️

Let's say we want to create an Electric car & don't want to define all the properties and methods of the basic Car class.

Inheritance helps us to inherit all the properties/methods of parent class & add new ones or override existing.
Post #376 895
  • πŸ‘ 4
Post #374 960
Class in Python 🦾

Let's define a class Car & create it's Object ☝️

A class is like a blueprint for creating objects.

It defines a set of properties & functions (methods) that will be common to all objects created from the class.
  • πŸ‘ 3
Older posts β†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook β†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 β†’