Project Report
Project Report
Introduction of Industry
History of Python
Why Python?
Characteristics of Python
Data Structures in Python
File Handling in Python
Conclusion
Introduction of Industry
Coursera is an American online learning platform founded by Stanford
professors Andrew Ng and Daphne koller that offers massive open online
courses (MOOC), specializations, and degrees.
Mission
Vision
Our vision is to create a platform, where trainees/students are able to
learn different features of technologies to secure a better position in IT
industry or to improve their careers.
TRAINING PROGRAM SCHEDULE
compile
output source code execut
Hello.java
byte code
Hello.c
lass
• Easy to read: Python source-code is clearly defined and visible to the eyes.
Dictionary-
• Lists are sequences but the dictionaries are mappings.
• They are mappings between a unique key and a value pair.
• These mappings may not retain order.
• Constructing a dictionary.
• Accessing object from a dictionary.
• Nesting Dictionaries.
• Basic Dictionary Methods.
• Basic Syntax o d={} empty dictionary will be generated and assign keys and
values to it, like d[‘animal’] = ‘Dog’
o d = {'K1':'V1', 'K2’:’V2'}
o d['K1'] outputs 'V1‘
Tuples-
• Immutable in nature, i.e. they cannot be changed.
• No type restriction
• Indexing and slicing, everything's same like that in strings and lists.
• Constructing tuples.
• Basic tuple methods.
• Immutability.
• When to use tuples?
• We can use tuples to present things that shouldn’t change, such as days of
the week, or dates on a calendar, etc.
Sets-
• A set contains unique and unordered elements and we can construct them by
using a set() function.
• Convert a list into Set-
• l=[1,2,3,4,1,1,2,3,6,7]
• k = set(l)
• k becomes {1,2,3,4,6,7}
• Basic Syntax-
• x=set()
• x.add(1) x = {1}
• x.add(1)
• This would make no change in x now
• “ r “, for reading.
• “ w “, for writing.
• “ a “, for appending.
• “ r+ “, for both reading and writing
Code in python
It read the words from 101.txt file and print the all words which are present in the
file and also tell that word occurring how many times.
DESCRIPTION OF PROJECT
SOFTWARE REQUIRED
I believe the trial has shown conclusively that it is both possible and
desirable to use Python as the principal teaching language:
The training program having destination was a lot more useful than
staying at one place throughout the whole 7 weeks. In my opinion. I
have gained lots of knowledge and experience needed to be successful in
great engineering challenge as in my opinion, Engineering is after all a
Challenge, and not a job.
REFERENCES –
www.coursera.org
www.python.org
www.codementor.io
www.learnpython.org
www.codecademy.com