SlideShare a Scribd company logo
Python Hobby Group - Day 1
Manojit Chakraborty
Vice Chair
ACM Student Chapter
Heritage Institute of Technology, Kolkata
September 11, 2017
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 1 / 35
Who am I
Extreme Sports lover.
Coding in Python since the summer of 2015 - not an EXPERT by any means
Average programmer at best, comfortable writing 750-1000 lines of code.
I love Python more than any other programming languages.
Working in SNA and Data mining for the past 2 years under the supervision of
Prof. Dr. Partha Basuchowdhuri
Internship in TCS Digital, collaborated with Walmart R&D team to create
artificially intelligent prototypes - learning Python paid off big time !!
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 2 / 35
Expectations from me
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 3 / 35
Your takeaways
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 4 / 35
Lesson Plan for Day 1
Introduction
Motivation
Guido
Awesomeness of Python
Playing around with the interpreter
Simple Data Types
Variables
Basic I/O
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 5 / 35
Maester Guido van Rossum
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 6 / 35
Popularity
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 7 / 35
Popularity of Python - Codeeval
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 8 / 35
Popularity of Python - PYPL
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 9 / 35
What makes Py Awesome
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 10 / 35
The awesomeness continues
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 11 / 35
Places where py is used
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 12 / 35
Places where py is used
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 13 / 35
Indentation and Python
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 14 / 35
Say Hello to the Interpreter
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 15 / 35
The print statement
It’s one of the most used statements in Python
Does what the name says, it prints stuff
It’s very smart - one statement to rule them all - works for every data type -
no messy loops needed
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 16 / 35
Data Types in Python
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 17 / 35
Integers
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 18 / 35
Floating Point Numbers
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 19 / 35
Complex Numbers
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 20 / 35
No Strings Attached !!
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 21 / 35
String Methods - I
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 22 / 35
String Methods - II
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 23 / 35
String Slicing
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 24 / 35
Palindromes
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 25 / 35
Boolean Data Types
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 26 / 35
Truth Table for Logical OR and Logical AND
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 27 / 35
Logical Comparisons
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 28 / 35
Variables
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 29 / 35
Bindings
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 30 / 35
Meaningful Names
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 31 / 35
Names must not be given
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 32 / 35
User Input
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 33 / 35
Explanations
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 34 / 35
Thank You Everyone !!
©Manojit (ACM HIT-K) Python Hobby Group September 11, 2017 35 / 35

More Related Content

More from Manojit Chakraborty

Community detection
Community detectionCommunity detection
Community detection
Manojit Chakraborty
 
Spreading Phenomena in Social Networks
Spreading Phenomena in Social NetworksSpreading Phenomena in Social Networks
Spreading Phenomena in Social Networks
Manojit Chakraborty
 
NCRAST Talk on Clustering
NCRAST Talk on ClusteringNCRAST Talk on Clustering
NCRAST Talk on Clustering
Manojit Chakraborty
 
Research Poster
Research PosterResearch Poster
Research Poster
Manojit Chakraborty
 
manojitcv
manojitcvmanojitcv
GRAPH COLORING AND ITS APPLICATIONS
GRAPH COLORING AND ITS APPLICATIONSGRAPH COLORING AND ITS APPLICATIONS
GRAPH COLORING AND ITS APPLICATIONS
Manojit Chakraborty
 

More from Manojit Chakraborty (6)

Community detection
Community detectionCommunity detection
Community detection
 
Spreading Phenomena in Social Networks
Spreading Phenomena in Social NetworksSpreading Phenomena in Social Networks
Spreading Phenomena in Social Networks
 
NCRAST Talk on Clustering
NCRAST Talk on ClusteringNCRAST Talk on Clustering
NCRAST Talk on Clustering
 
Research Poster
Research PosterResearch Poster
Research Poster
 
manojitcv
manojitcvmanojitcv
manojitcv
 
GRAPH COLORING AND ITS APPLICATIONS
GRAPH COLORING AND ITS APPLICATIONSGRAPH COLORING AND ITS APPLICATIONS
GRAPH COLORING AND ITS APPLICATIONS
 

Recently uploaded

Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 

Recently uploaded (20)

Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 

Python Programming Tutorial 1