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.75K
Photos
583
Videos
2
Links
131

Showing posts older than #898 Β· Back to latest

Older Posts 20 shown
Post #897 1.53K
Convert JSON into Python Object
  • πŸ‘ 1
  • πŸ”₯ 1
Post #896 2.47K
Pandas Methods for Machine Learning
  • πŸ‘ 4
Post #894 1.33K
Python Question / Quiz

What is the output of the following python code?
  • πŸ‘ 3
Post #893 1.43K
Python Basics

πŸ”Ή Variables = Store data for use in a program
x = 1

print(x) # Output: 1
πŸ”Ή Data Types = Classification of data (Boolean, String, Number)
number = 10

if number > 0:

print("The number is true") # Output: true



πŸ”Ή Operators = Symbols for performing operations (+, -, *, /, %, etc.)
print(1 + 2) # Output: 3

print(2 - 1) # Output: 1
πŸ”Ή Control Statements = Manage program execution flow

βœ” Conditional Statements β†’ "if-then" logic
score = 85

if score >= 90:

print("Excellent")

elif score >= 75:

print("Good job")

else:

print("Keep trying")
βœ” Loop Statements β†’ Repeat actions (for, while loops)
count = 1

while count <= 5:

print(count)

count += 1

πŸ”Ή Functions = Reusable blocks of code
def my_function():

print("Hello from a function")

my_function() # Output: Hello from a function
  • πŸ‘ 3
Post #892 1.36K
πŸš€ Introduction to Programming with Python

πŸ”Ή Software = Instructions for hardware

πŸ”Ή Programming = Writing instructions to create software

πŸ”Ή Code = The instructions written to build software

πŸ”Ή Syntax = The grammar of a programming language

πŸ’‘ Why Python? Python is beginner-friendly, powerful, and requires minimal code compared to other languages. Example: Printing "Hello World" is simpler in Python than in Java!

⚑ Compiler vs. Interpreter

πŸ”Ή Compiler (C, C++) β†’ Translates entire code at once β†’ Faster execution

πŸ”Ή Interpreter (Python, Java) β†’ Executes code line by line β†’ Easier debugging

πŸ–₯ Key Concepts

βœ… Source Code = Human-readable instructions

βœ… Processor = The brain of a computer

βœ… Bytecode = Intermediate code generated after compilation

πŸ” Pros & Cons

βœ”οΈ Compilers = Faster execution, better security, debugging tools

❌ Compilers = Slower compilation, catches only syntax/semantic errors

βœ”οΈ Interpreters = Easy debugging, efficient memory usage

❌ Interpreters = Slower execution
  • πŸ‘ 2
  • ❀ 1
Post #891 2.17K
Python Full Stack Web Developer Profile
  • πŸ”₯ 4
Post #890 2.53K
TOP PYTHON MODULES
  • πŸ‘ 6
Post #889 1.65K
The Relevance of Python
  • πŸ”₯ 6
Post #888 1.68K
What Python Can Do
  • πŸ”₯ 5
Post #887 1.61K
Calendar Month using Python
  • πŸ‘ 5
Post #886 1.65K
Python Project Ideas
  • πŸ”₯ 2
Post #885 2.5K
Important Concepts in Python Programming
  • πŸ”₯ 3
Post #884 1.59K
TYPES OF DOMAIN NAMES
  • πŸ”₯ 5
  • ❀ 1
  • πŸ‘ 1
Post #883 1.53K
BORDER RADIUS TIPS
  • πŸ‘ 3
  • πŸ”₯ 1
Post #882 1.43K
  • 😁 8
Post #881 1.62K
IMPORTANT METHODS IN PYTHON
  • πŸ”₯ 3
Post #880 1.73K
SQL for Everything
  • πŸ”₯ 1
Post #879 1.71K
KEYBOARD SHORTCUTS FOR VS CODE
  • ❀ 3
Post #878 1.76K
TOP 20 PYTHON TOOLS
  • πŸ”₯ 7
  • πŸ‘ 1
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 β†’