SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Vibrant Technologies
& Computers
python COURSE
Make Career With Us!!
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
4 Major Versions of Python
• “Python” or “CPython” is written in C/C++
- Version 2.7 came out in mid-2010
- Version 3.1.2 came out in early 2010
• “Jython” is written in Java for the JVM
• “IronPython” is written in C# for the .Net
environment
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Development Environments
what IDE to use?
1. PyDev with Eclipse
2. Komodo
3. Emacs
4. Vim
5. TextMate
6. Gedit
7. Idle
8. PIDA (Linux)(VIM Based)
9. NotePad++ (Windows)
10.BlueFish (Linux)
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Pydev with Eclipse
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Python Interactive Shell
% python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
You can type things directly into a running Python session
>>> 2+3*4
14
>>> name = "Andrew"
>>> name
'Andrew'
>>> print "Hello", name
Hello Andrew
>>>
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
• Background
• Data Types/Structure
• Control flow
• File I/O
• Modules
• Class
• NLTK
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
List
A compound data type:
[0]
[2.3, 4.5]
[5, "Hello", "there", 9.8]
[]
Use len() to get the length of a list
>>> names = *“Ben", “Chen", “Yaqin"+
>>> len(names)
3
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Strings share many features with lists
>>> smiles = "C(=N)(N)N.C(=O)(O)O"
>>> smiles[0]
'C'
>>> smiles[1]
'('
>>> smiles[-1]
'O'
>>> smiles[1:5]
'(=N)'
>>> smiles[10:-4]
'C(=O)'
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
String operators: in, not in
if "Br" in “Brother”:
print "contains brother“
email_address = “clin”
if "@" not in email_address:
email_address += "@brandeis.edu“
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
More String methods
email.startswith(“c") endswith(“u”)
True/False
>>> "%s@brandeis.edu" % "clin"
'clin@brandeis.edu'
>>> names = *“Ben", “Chen", “Yaqin"+
>>> ", ".join(names)
‘Ben, Chen, Yaqin‘
>>> “chen".upper()
‘CHEN'
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Unexpected things about strings
>>> s = "andrew"
>>> s[0] = "A"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'str' object does not support item
assignment
>>> s = "A" + s[1:]
>>> s
'Andrew‘
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
“” is for special characters
n -> newline
t -> tab
 -> backslash
...
But Windows uses backslash for directories!
filename = "M:nickel_projectreactive.smi" # DANGER!
filename = "M:nickel_projectreactive.smi" # Better!
filename = "M:/nickel_project/reactive.smi" # Usually works
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
zipping lists together
>>> names
['ben', 'chen', 'yaqin']
>>> gender = [0, 0, 1]
>>> zip(names, gender)
[('ben', 0), ('chen', 0), ('yaqin', 1)]
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
• Background
• Data Types/Structure
list, string, tuple, dictionary
• Control flow
• File I/O
• Modules
• Class
• NLTK
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Control Flow
Things that are False
• The boolean value False
• The numbers 0 (integer), 0.0 (float) and 0j (complex).
• The empty string "".
• The empty list [], empty dictionary {} and empty set set().
Things that are True
• The boolean value True
• All non-zero numbers.
• Any string containing at least one character.
• A non-empty data structure.
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
pythonscriptingtraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
pythonscriptingtraining.vibranttechnologies.co.in
Where to Get More Information
Vibrant Group:
www.vibrantgroup.co.in
Vibrant Technologies & Computers
www.vibranttechnologies.co.in/technologies.vibrantgroup.co.
in
Vibrant HR Team
www.hr.vibrangroup.co.in

Weitere ähnliche Inhalte

Kürzlich hochgeladen

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Kürzlich hochgeladen (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Python course-navi-mumbai-python-course-provider-navi-mumbai

  • 1. Vibrant Technologies & Computers python COURSE Make Career With Us!! B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
  • 2. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in 4 Major Versions of Python • “Python” or “CPython” is written in C/C++ - Version 2.7 came out in mid-2010 - Version 3.1.2 came out in early 2010 • “Jython” is written in Java for the JVM • “IronPython” is written in C# for the .Net environment
  • 3. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Development Environments what IDE to use? 1. PyDev with Eclipse 2. Komodo 3. Emacs 4. Vim 5. TextMate 6. Gedit 7. Idle 8. PIDA (Linux)(VIM Based) 9. NotePad++ (Windows) 10.BlueFish (Linux)
  • 4. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Pydev with Eclipse
  • 5. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Python Interactive Shell % python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> You can type things directly into a running Python session >>> 2+3*4 14 >>> name = "Andrew" >>> name 'Andrew' >>> print "Hello", name Hello Andrew >>>
  • 6. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in • Background • Data Types/Structure • Control flow • File I/O • Modules • Class • NLTK
  • 7. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in List A compound data type: [0] [2.3, 4.5] [5, "Hello", "there", 9.8] [] Use len() to get the length of a list >>> names = *“Ben", “Chen", “Yaqin"+ >>> len(names) 3
  • 8. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Strings share many features with lists >>> smiles = "C(=N)(N)N.C(=O)(O)O" >>> smiles[0] 'C' >>> smiles[1] '(' >>> smiles[-1] 'O' >>> smiles[1:5] '(=N)' >>> smiles[10:-4] 'C(=O)'
  • 9. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in String operators: in, not in if "Br" in “Brother”: print "contains brother“ email_address = “clin” if "@" not in email_address: email_address += "@brandeis.edu“
  • 10. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in More String methods email.startswith(“c") endswith(“u”) True/False >>> "%s@brandeis.edu" % "clin" 'clin@brandeis.edu' >>> names = *“Ben", “Chen", “Yaqin"+ >>> ", ".join(names) ‘Ben, Chen, Yaqin‘ >>> “chen".upper() ‘CHEN'
  • 11. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Unexpected things about strings >>> s = "andrew" >>> s[0] = "A" Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'str' object does not support item assignment >>> s = "A" + s[1:] >>> s 'Andrew‘
  • 12. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in “” is for special characters n -> newline t -> tab -> backslash ... But Windows uses backslash for directories! filename = "M:nickel_projectreactive.smi" # DANGER! filename = "M:nickel_projectreactive.smi" # Better! filename = "M:/nickel_project/reactive.smi" # Usually works
  • 13. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in zipping lists together >>> names ['ben', 'chen', 'yaqin'] >>> gender = [0, 0, 1] >>> zip(names, gender) [('ben', 0), ('chen', 0), ('yaqin', 1)]
  • 14. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in • Background • Data Types/Structure list, string, tuple, dictionary • Control flow • File I/O • Modules • Class • NLTK
  • 15. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Control Flow Things that are False • The boolean value False • The numbers 0 (integer), 0.0 (float) and 0j (complex). • The empty string "". • The empty list [], empty dictionary {} and empty set set(). Things that are True • The boolean value True • All non-zero numbers. • Any string containing at least one character. • A non-empty data structure.
  • 16. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 pythonscriptingtraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in pythonscriptingtraining.vibranttechnologies.co.in Where to Get More Information Vibrant Group: www.vibrantgroup.co.in Vibrant Technologies & Computers www.vibranttechnologies.co.in/technologies.vibrantgroup.co. in Vibrant HR Team www.hr.vibrangroup.co.in