Python Facts
——————
>>> two_wrongs = [False, False]
>>> bool(two_wrongs)
True
>>> bool(False + False)
False
The list is not empty
>>> bool([])
False
>>> bool([False, False])
True
Any non-empty object is considered True. Even if it's contains False booleans internally
>>> False + False == False
True
>>> bool("Nothing surprises me anymore")
True
Even one
>>> bool([False])
True
🚨 Little cautious when you are using Boolean in python!!!
——————
>>> two_wrongs = [False, False]
>>> bool(two_wrongs)
True
>>> bool(False + False)
False
The list is not empty
>>> bool([])
False
>>> bool([False, False])
True
Any non-empty object is considered True. Even if it's contains False booleans internally
>>> False + False == False
True
>>> bool("Nothing surprises me anymore")
True
Even one
>>> bool([False])
True
🚨 Little cautious when you are using Boolean in python!!!
Python tip
To update a list in-place, use a slice-assignment
t = s
......
s[:] = [f(x) for x in s if c(x)]
Now, both "s" and "t" reflect the new data.
To update a list in-place, use a slice-assignment
t = s
......
s[:] = [f(x) for x in s if c(x)]
Now, both "s" and "t" reflect the new data.
"JavaScript is going to die soon, React is the last UI library you will learn, TypeScript is a bottle-neck, WASM is the way forward"
Companies in the real world: "We are looking for a jQuery developer, ES6 knowledge is beneficial".
Big war is going in Websdeveoper’s community !!
People have different opinions. Whatever UI/UX plays important role in every technology (Python / Java / .NET / Ruby / PHP)
Companies in the real world: "We are looking for a jQuery developer, ES6 knowledge is beneficial".
Big war is going in Websdeveoper’s community !!
People have different opinions. Whatever UI/UX plays important role in every technology (Python / Java / .NET / Ruby / PHP)
Here are several ways to interactively display intermediate results during a calculation.
# Two liner
>>> q = 3.5 * 1.5
>>> q
5.25
# Second expression
>>> q = 3.5 * 1.5; q
5.25
# Walrus
>>> (q := 3.5 * 1.5)
5.25
# Invisible
>>> q = 3.5 * 1.5
# Two liner
>>> q = 3.5 * 1.5
>>> q
5.25
# Second expression
>>> q = 3.5 * 1.5; q
5.25
# Walrus
>>> (q := 3.5 * 1.5)
5.25
# Invisible
>>> q = 3.5 * 1.5
Guys,
Try this if you are free
In Python, memory is managed in a _______ space.
Can you fill your answer ?
Try this if you are free
In Python, memory is managed in a _______ space.
Can you fill your answer ?
A word on IEEE’s methodology: It pulls 300 programming languages from GitHub, then narrows that down to the 52 that earned the most search results in Google. Those 52 are then analyzed using 11 metrics, including data from Twitter, GitHub, and Stack Overflow, in order to arrive at IEEE’s aggregate score. Ok
Hi Everyone, let’s play some interesting and useful game here by tomorrow.
Introducing brand new concept and hopefully you may like it.
Game name is ‘Think My Idea’
————
Participants share your simple Python project ideas in 2 lines.
Idea belongs to new technologies
Please do not copy from internet.
While you are sending this to group mention your details in below format
Name : .....
Idea ( just 2 lines) : .....
This game starts tomorrow from 10AM IST to 10PM IST
Request you participate and best idea may win gift 🎁
Introducing brand new concept and hopefully you may like it.
Game name is ‘Think My Idea’
————
Participants share your simple Python project ideas in 2 lines.
Idea belongs to new technologies
Please do not copy from internet.
While you are sending this to group mention your details in below format
Name : .....
Idea ( just 2 lines) : .....
This game starts tomorrow from 10AM IST to 10PM IST
Request you participate and best idea may win gift 🎁
Microsoft and NASA offer some ideas about how you could apply Python for space exploration.
Microsoft has teamed up with NASA to create three project-based learning modules that teach entry-level coders how to use the Python programming language and machine-learning algorithms to explore space, classify space rocks and predict weather and rocket-launch delays.
While Microsoft's NASA lesson doesn't offer any actual lessons in Python programming
Microsoft has teamed up with NASA to create three project-based learning modules that teach entry-level coders how to use the Python programming language and machine-learning algorithms to explore space, classify space rocks and predict weather and rocket-launch delays.
While Microsoft's NASA lesson doesn't offer any actual lessons in Python programming
Microsoft Offers Free Online Certificate Course in Artificial Intelligence for Students. December 14 to 19
https://www.microsoft.com/en-in/campaign/microsoftaiforstudents/?ocid=AID3020984_TWITTER_oo_spl100001684013563
https://www.microsoft.com/en-in/campaign/microsoftaiforstudents/?ocid=AID3020984_TWITTER_oo_spl100001684013563
Microsoft
Microsoft – Cloud, Computers, Apps & Gaming
Explore Microsoft products and services for your home or business. Shop Surface, Microsoft 365, Xbox, Windows, Azure and more. Find downloads and get support.
Python runs fast on an Apple M1.
303,461 pystones/second on new Macbook Air
159,497 pystones/second on old Macbook Pro
(2.6/3.8 Ghz Haswell)
303,461 pystones/second on new Macbook Air
159,497 pystones/second on old Macbook Pro
(2.6/3.8 Ghz Haswell)
IamPython
Microsoft Offers Free Online Certificate Course in Artificial Intelligence for Students. December 14 to 19 https://www.microsoft.com/en-in/campaign/microsoftaiforstudents/?ocid=AID3020984_TWITTER_oo_spl100001684013563
*****New type hinting in Python 3.9:
Lists, dictionaries are now annotated with the type directly (not by typing module), e.g.
numbers: list[float]
Lists, dictionaries are now annotated with the type directly (not by typing module), e.g.
numbers: list[float]
Python tip: Slice's are objects.
You can store them in variables or containers just as you would with a regular integer index.
>>> s = slice(6, 12)
>>> title = "Monty python's flying circus"
>>> title[s]
'python'
You can store them in variables or containers just as you would with a regular integer index.
>>> s = slice(6, 12)
>>> title = "Monty python's flying circus"
>>> title[s]
'python'
Today our DevSprint topic
The fastest way to build and share data apps for Datascience and Machine learning
Time 8PM IST
Note: this is not Django or Flask. But you thrilled to build great apps with no front end experience.
I will post link 3 hours before the session
The fastest way to build and share data apps for Datascience and Machine learning
Time 8PM IST
Note: this is not Django or Flask. But you thrilled to build great apps with no front end experience.
I will post link 3 hours before the session
IamPython
Today our DevSprint topic The fastest way to build and share data apps for Datascience and Machine learning Time 8PM IST Note: this is not Django or Flask. But you thrilled to build great apps with no front end experience. I will post link 3 hours…
2 hours 20 mins to go
Topic: DevSprint - The fastest way to build and share data apps
Time: Dec 26, 2020 08:00 PM IST (India Standard Time)
Join Zoom Meeting
https://us02web.zoom.us/j/84845248145
Meeting ID: 848 4524 8145
One tap mobile
+13017158592,,84845248145# US (Washington D.C)
+13126266799,,84845248145# US (Chicago)
Topic: DevSprint - The fastest way to build and share data apps
Time: Dec 26, 2020 08:00 PM IST (India Standard Time)
Join Zoom Meeting
https://us02web.zoom.us/j/84845248145
Meeting ID: 848 4524 8145
One tap mobile
+13017158592,,84845248145# US (Washington D.C)
+13126266799,,84845248145# US (Chicago)
Modules and commands to create virtual environment your local
Mac
$ pip install virtualenv
$ virtualenv —version
$ virtualenv venv
$ source venv/bin/activate
Windows
To install (make sure virtualenv is already installed):
$ pip install virtualenvwrapper-win
$ mkvirtualenv project_folder
$ workon project_folder
$ deactivate
$ rmvirtualenv venv
$ lsvirtualenv
Mac
$ pip install virtualenv
$ virtualenv —version
$ virtualenv venv
$ source venv/bin/activate
Windows
To install (make sure virtualenv is already installed):
$ pip install virtualenvwrapper-win
$ mkvirtualenv project_folder
$ workon project_folder
$ deactivate
$ rmvirtualenv venv
$ lsvirtualenv
IamPython
Please join our weekly DevSprint now .. use above zoom meeting
YouTube
Streamlit - How to Build Faster DataScience and Machine Learning Apps ?
Streamlit -An open-source Python library that makes it easy to create and share beautiful, custom web apps for machine learning and data science
Install Streamlit using PIP
pip install Streamlit
Make sure that you have min Python 3.6+
To check successful…
Install Streamlit using PIP
pip install Streamlit
Make sure that you have min Python 3.6+
To check successful…