devDotPy
327 subscribers
23 photos
1 file
9 links
Download Telegram
Different ways to test multiple flags at once in Python
πŸ‘3πŸ–•3
Sort a dict by Value
πŸ–•3
Detect Offensive word (English) using Python
πŸ‘4πŸ–•3
Printing "Hello World"
In Malbolge The hardest language Ever

Devlopers took approximately 2 years to make this code πŸ’€
😱6πŸ‘4πŸ–•3❀1
Add Watermark-Text to your image using Python (5 line)
πŸ‘3πŸ–•3πŸ”₯1
Let_us_python_by_yashavant_kanetkar_pr_35bd26fa5eb6eb80757cbb937d3e8321.pdf
9.1 MB
Want to learn Python from core to advanced? This book can teach you more than a YouTube tutorial playlist.

I've learned Python from this book, and I suggest getting a hard copy. However, you can also learn from this PDF
πŸ‘5πŸ–•3⚑1❀1πŸ”₯1🀩1πŸ‘Œ1😍1πŸ†1πŸ†’1
VS Code extensions I use as a Python programmer:

1. Python: For code suggestions, IntelliSense, debugging, and more.


2. Pylance: For type suggestions and checking syntax errors or warnings.


3. autopep8: For formatting code with proper tabs and spaces (code ko sundar dikhane ke liye sahi tabs aur spaces use karke).


4. Code Runner: To quickly run Python code (fatak se code ko run karta hai).


5. Error Lens: Shows inline syntax errors (inline syntax error fekta hai).


6. Isort: Sorts imports in Python code.


7. MagicPython: For syntax highlighting.


Try all and aur pata h to batao πŸ‘‡πŸ˜Œ
πŸ‘4πŸ–•3πŸ”₯1
You don’t need a .py extension to run Python code!
Python can execute code from any file extensionβ€”whether it’s .js, .txt, .go, or even something like .cow , .sahrukkhan , .devdotpyπŸ˜‚

This works because Python interprets the code itself, not the file extension.

Try at your home πŸ˜Žβœ…
πŸ–•3πŸ‘Œ2
a = 1
b = 2
print (a--b) Output:
Anonymous Quiz
16%
-1
65%
Syntax Error
15%
3
5%
2
πŸ‘4πŸ–•4
According to GitHub's 2024 survey, Python is the top programming language.
Django, Python's web framework, has surpassed 80K stars, making it the world's most starred web framework.

The slowest language is now growing at the fastest speed. πŸ“ˆ
πŸ”₯8πŸ–•3
Using print function to fnd bugs in your codes?

Don't do that again.❌
Wrap your full codebase with logging βœ…πŸ˜Ž

Learn logging (Pareto Principle tutorial) :
https://github.com/biisal/logging-tutorial
πŸ–•3❀1πŸ”₯1
πŸ–•4πŸ”₯2
Create telegram bot in one click with this boilerplate

Link : Telegram Boilerplate
πŸ”₯5πŸ–•5❀1πŸ‘1πŸ₯°1πŸ‘1🀩1😍1
https://chat.whatsapp.com/FI5KE8kQg1JGWwuE71fmwZ

Join only if you are interested in programming .. otherwise you will not get any interest πŸ‘
πŸ‘1
New update in our chatgpt bot and Bard ai bot with deepseek ai πŸ™‚πŸ’ͺ🏻

It's fun to see how ai thinks before responding to you
It's very useful when solving any problem with ai

Now I have added Deepseek-r1 model that is the best ai model ever in the world (currently better than gpt-4o)

If you are using our ChatGPTbot repo ,you don't need to upgrade your repo you can check it out. πŸ˜„

So check it : @bard_ai_v2_bot πŸ™‚

Ek star mar dena πŸ‘πŸ»
πŸ‘3❀‍πŸ”₯1πŸ”₯1πŸ•Š1
I’ve created a new Python package with FastAPI in mind, called FastRDB (R stands for Redis).
While working with FastAPI (or any other framework), we usually write
separate CRUD operations for SQLAlchemy (database) and Redis (cache). So I thoughtβ€”why not merge them?
So I made FastRDB πŸ™ƒ , which provides various methods to perform CRUD, and it will automatically work with Redis as well.

Features:
Type-Safe CRUD Operations: Built with Python type hints and generics for robust type checking
SQLAlchemy Integration: Seamless integration with SQLAlchemy for database operations
Redis Caching: Integrated Redis caching with automatic cache invalidation
Async Support: Fully asynchronous operations using SQLAlchemy async ORM and Redis
Pagination: Built-in pagination support with customizable limits and page numbers
Pydantic Integration: Seamless integration with Pydantic for schema validation
Automatic Cache Management: Smart cache invalidation on data modifications

please check it on pypi : https://pypi.org/project/fastrdb
Github : https://github.com/biisal/fastrdb

You can contribute or raise issues in the GitHub repo.

Thank you

ek star Mardo.... πŸ™‡
πŸ‘4❀1