IamPython
290 subscribers
148 photos
13 videos
8 files
195 links
This is Python based telegram group for web developers, Artificial intelligence, webscraping, Datascience, Data analysis, Ethical Hacking and more. You will learn lot insights and useful information
Download Telegram
Do you know ?

Python does not have switch statement. Why?
IamPython
Do you know ? Python does not have switch statement. Why?
Discussing this in our Meetup




By the way, I am going to discuss 50-100 python resources tonight 10PM IST.

Anyone can attend. I am sure you will get lot of insights, projects and more information about python related tools


Topic: Python Unknown
Time: 10 PM IST

Join Zoom Meeting
https://us02web.zoom.us/j/84127482955?pwd=SFpUVEZ2U2p2dCtsRzRYOFlnWFdQZz09

Meeting ID: 841 2748 2955
Passcode: robo

Consider it is weekly DevSprint
hello ... Python OOPs live session at 3PMIST ---connect in one hour
Stop Using Print to Debug in Python. Use Icecream Instead


Icecream is a Python library that makes print debugging more readable with minimal code.

pip install icecream
Python tip: The argument to lstrip() is a set of leading characters to be removed as many times as they occur:

>>> s = 'mississippi'
>>> s.lstrip('mis')
'ppi'

A more common need is to remove an exact match:

>>> s.removeprefix('mis')
'sissippi'

This method is new in 3.9
It is an open source community inviting you to Learn and Grow. Interested please join.
`pip` 21.0 Released, Drops Support for Python 2
join if you want to learn SQL
Learning path to mastering Data Science:

🔸 Python
🔸 Git
🔸 SQL
🔸 NumPy
🔸 Pandas
🔸 Scikit-Learn
🔸 Flask
🔸 Docker
🔸 AWS
🔸 TensorFlow
🔸 Linear Algebra
🔸 Machine Learning basics

What else?
Topic: Python for Beginners - Learning Complete Python Operators
Time: Feb 4, 2021 07:00 PM IST

Join Zoom Meeting
https://us02web.zoom.us/j/83344323895

Meeting ID: 833 4432 3895

Today we are connecting and discussing about Python Operators in detail

Complete details on Bitwise, comparison, membership, relational, arithmetic etc

In depth session
Interested you can join at 7PM IST .. from now 45 mins
Join now
You don't really need a virtualenv

When you develop a Python project, you need to install the project's dependencies.

Problem:

Virtualenvs help us isolate project dependencies, but things get tricky when it comes to nested venvs: One installs the virtualenv manager(like Pipenv or Poetry) using a venv encapsulated Python, and creates more venvs using the tool which is based on an encapsulated Python. One day a minor release of Python is out and one has to check all those venvs and upgrade them if required before they can safely delete the out-dated Python version.


Solution:

PEP 582 -- Python local packages directory
PDM -- A new Python package manager and workflow tool that leverages PEP 582 to get rid of virtualenv entirely. It installs dependencies into the local package directory package and makes Python interpreters aware of it with a very simple step.

In PDM, PEP 582 is not mandatory, you can also stick with virtualenv. PDM can detect existing venvs but not create new ones.
Researchers From Google Brain Introduces Symbolic Programming And A Python Library Called PyGlove For Automated machine learning
Python facts

——

The "return" and "yield" keywords can only be used inside functions.

The "nonlocal" keyword can only be used in a nested scope.


In contract, a star import can only be used at the module level.


Of course, "continue" and "break" only make sense inside a loop: