A INDUSTRIAL TRAINING REPORT ON SUMMER INTERNSHIP PROGRAMMING WITH PYTHON SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENT FOR THE AWARD OF DIPLOMA IN ELECTRONICS ENGENEERING DIGITAL ELECTRONICS SUBMITTED TO BOARD OF TECHNICAL EDUCATION, DELHI SUBMITTED BY POOJA THAKUR 1807071034 GUIDED BY MR. RAJESH CHHIKARA KASTURBA INSTITUTE OF TECHNOLOGY, DELHI 2020-2021 TABLE OF CONTENT CHAPTER -01 INTRODUCTION TO ORGANIZATIONS 1.1 BRIEF HISTORY OF INTERNSHALA. 1.2 ORGANIZATIONS BACKGROUND AND NATURE OF THE BUSINESS. 1.3 TRAININGS OFFERED BY INTERNSHALA. 1.4 SERVICES AND PRODUCT OFFERED BY INTERNSHALA. 1.5 COMPETITIVE ADVANTAGE AND BENEFIT OF INTERNSHALA. 1.6 LIST OF COMPANIES WORKING WITH INTERNSHALA. 1.7 CLIENTS OF INTERNSHALA AND HOW THEY LOOK IN EXPANDING. 1.8 MARKETING PLANS OF INTERNSHALA. INTRODUCTION TO PYTHON AND PROGRAMMING WITH PYTHON. 1.9 WHY CHOOSE INTERNSHALA? 1.10 PYTHON DESIGN AND PHILOSOPHY. 1.11 HISTORY OF PYTHON. 1.12 GUIDO VAN ROSSUM ‘THE CREATOR OF PYTHON’. 1.13 PYTHON REALEASE. 1.14 WHY PYTHON? 1.15 CHARACTRISTIC OF PYTHON. 1.16 FEATURES OF PYTHON 1.17 USES OF PYTHON 1.18 DATA STRUCTRES IN PYTHON. 1.19 OOPS CONCEPT IN PYTHON 1.20 CHARACTERISTIC OF OOPS. 1.21 FILE HANDLING IN PYTHON. 1.22 USE OF NUMBY IN PYTHON. CHAPTER – 02 THE INDUSTRIAL TRAINING REPORT 2.1 OBJECTIVE OF INDUTRIAL TRAINING 2.2 SCOPES OF INDUSTRIAL TRAINING CHAPTER – 03 OVERVIEW OF THE TRAINING 3.1 OBJECTIVE OF THE TRAINING. 3.2 SUMMARY OF THE TRAINING AND EXPERIENCED GAINED. CHAPTER – 04 MY ALL ASSIGNEMNTS WHICH I COMPLETED DURING THE TRAINING. CHAPTER -05 CONCLUSION CHAPTER -06 REFERENCE ABSTRACT Industrial training is an important phase of a student life. A well planned, properly executed and evaluated industrial training helps a lot in developing a professional attitude. It develop an awareness of industrial approach to problem solving, based on a broad understanding of process and mode of operation of organization. The aim and motivation of this industrial training is to receive discipline, skills, teamwork and technical knowledge through a proper training environment, which will help me, as a student in the field of Information Technology, to develop a responsiveness of the self-disciplinary nature of problems in information and communication technology. This report covered a details of internship in ‘Programming with Python’ from Internshala. This is 6 weeks online trainings because in this time all the world suffering from a worldwide pandemic Covid-19 that is why I can’t complete my training in offline mode. In these time many websites provides a many online internship but I like programming with python from Internshala, I select this programming training because industrial training means knowledge of theories as well as practicals but it is not possible in thsese time well it is amazing experience in training. I have no time bound also. My all training covered in 7 modules, after completion of each module there is a module test occur, I completed my all 5 assignments based on topic covered in modules. There is one final project also in the training named ‘fantasy cricket game’. At last there is a completion certificate also given by Internshala but before getting the certificate there is one final test also occur. I attach my completion certificate also in this report. I gained so much knowledge about python during this training. There are many benefits to learning the python. 1. Python can be used to develop prototypes, and quickly because it is so easy to work with and read. 2. Most automation, data mining, and big data platforms rely on Python. This is because it is the ideal language to work with for general purpose tasks. 3. Python allows for a more productive coding environment than massive languages like C# and Java. Experienced coders tend to stay more organized and productive when working with Python, as well. 4. Python is easy to read, even if you’re not a skilled programmer. Anyone can begin working with the language, all it takes is a bit of patience and a lot of practice. 5. Python powers Django, a complete and open source web application framework. Frameworks – like Ruby on Rails – can be used to simplify the development process. ACKNOWLEDEGEMENT In the name of lord the most beneficial and most merciful, All praises to lord the lord of universe and peace be upon his messenger. I want to acknowledge him on top of all for blessing me with patience and tenacity of mind to complete the internship and internship report.it is undeniably a vital requirements for certified diploma with flying colours and I have received outstanding helps from many quarters which I would like to put on record here with deep pleasure and gratitude. Firstly, I’d like thank and compliment my industrial supervisor, MR. Rakesh sir and MR. Rajesh Chhikara sir. They both are very kind in person and keen enough to give any newbie his full attention including me. Without his endless care and support I would not complete this report successfully. Mostly thanks for his support, feedbacks and all the worthwhile lessons. I would also want to express my gratitude to dear lectures who guided me and other companions throughout the internship programme from the very beginning till its completion. Their expert lead, suggestion in class, and all the updating notices, had me provided me relevant information in reaching the concept and objectives of this compulsory report. Surely, without such commitment and tolerance, I may not have finished any chapter efficiently. Furthermore, I dedicated this is to my beloved family and practical mates, I do appreciate all the helping hands they lend while I had loss all the courage to get good marks and they for sure had gathered me back into conscience effortlessly. There are also seniors inside my college who share opinions in preparing this reports. Not to forget, I value all the contributions whose articles and publications play part in my working papers. I owe my indebtedness to all those authors which had been great use to me. They are very precious people that I could not name personally. At last thankful to Internshala whole team for her help and all the efforts they make to complete my training online. Declarations I hereby declare that work reported in the Industrial Training Report entitled “PROGRAMMING WITH PYTHON” submitted at BOARD OF TECHNICAL EDUCATION, DELHI, INDIA is an authentic record of my work carried out under the supervision of MR. RAJESH CHHIKARA. I have not submitted this work elsewhere for any other diploma. I am fully responsible for the contents of my Industrial Training Report. (Signature of the student) POOJA THAKUR DIGITAL ELECTRONICS KASTURBA INSTITUTE OF TECHNOLOGY, DELHI, INDIA. LIST OF TABLES TABLE – 01 BRIEF ABOUT INTERNSHALA TABLE – 02 ABOUT PYTHON TABLE -03 ABOUT GUIDO VAN ROSSUM INTRODUCTION ABOUT INTERNSHALA Internshala is an internship and online training platform. This website helps students to find best internships for their choice with organizations in India. It is India’s no.1 training and internship platform with 40000+paid internships in Engineering, MBA, media, law, arts, and other streams. basically Internshala means Internship resources. this site offers internship searching and posting, and other career services such as counselling, cover-letter writing, resume writing and training programs to students. It’s headquarter based in Gurugram, India. It is founded by Sarvesh Agrawal, an IIT madras alumnus in 2010. ABOUT PROGRAMMING WITH PYTHON Python is an interpreted, high level and general-purpose programming language. python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and oops (Object Oriented Programming) approach aim to help programmers write clear, logical code for small and large scale projects. It was mainly developed for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages. What can Python do? Python can be used on a server to create web applications. Python can be used alongside software to create workflows. Python can connect to database systems. It can also read and modify files. Python can be used to handle big data and perform complex mathematics. Python can be used for rapid prototyping, or for production-ready software development. Why Python? Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc). Python has a simple syntax similar to the English language. Python has syntax that allows developers to write programs with fewer lines than some other programming languages. Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. Python can be treated in a procedural way, an object-oriented way or a functional way. CHAPTER -01 INTRODUCTION OF THE ORGANIZATION Internshala is an internship and online training platform, based in Gurugram, India. Founded Sarvesh Agrawal, an IIT Madras alumnus, in 2010, the website helps students find internships with organisations in India. Its a website ample of opportunities well namely internships. You can select your preference or search it to find what you want The main thing about that website is lot of start ups providing stipend and non stipend internship offers of all fields. Even some tier 1 colleges internships will be offered. The site offers internship searching and posting, and other career services such as counselling, cover-letter writing, resume building and training programs to students. Internshala is one of the most preferred websites for searching internships in India. Internshala provides internships in various domains such as engineering, management, design, content writing, etc. In addition to these, Internshala also provides Campus Ambassador Program. All the internships come with a stipend and certificate. For NGO internships, the stipend may not be available but it will be mentioned on the site. A lot of companies are registered on Internshala, so there is a good chance that you will land on an internship of your choice. However, most of the companies are start-ups. Internshala is the training website based on Gurugram, India. below figures shows the office view of Internshala. It is founded by Sarvesh Agrawal, an IIT Madras alumnus, in 2010. VISION OF INTERNSHALA Internshala is a dot com business with the heart of dot org. We are a technology company on a mission to equip students with relevant skills & practical exposure through internships and online trainings. Imagine a world full of freedom and possibilities. A world where you can discover your passion and turn it into your career. A world where your practical skills matter more than your university degree. A world where you do not have to wait till 21 to taste your first work experience (and get a rude shock that it is nothing like you had imagine it to be). A world where you graduate fully assured, fully confident, and fully prepared to stake claim on your place in the world. INTERNSHAL STUDENT PARTNER (ISP) Our extended team members who are representing Internshala in their colleges, fondly known as the ISPs Star performers of the ISP program Rajjval Bapuji Institute of Engineering and Technology Rajat Jimit KLS Gogte Institute of Technology, Belgaum K. J. Somaiya College Of Engineering ADVISORS OF INTERNSHALA 1. Dr. V G Idichandy, is Professor Emeritus (Former Deputy Director) at IIT Madras. Since the birth of Internshala, Professor Idichandy has played the role of an affectionate guardian, mentoring us at each step of the journey. His remarkable career at IIT Madras as a teacher and as an administrator (he was Dean Students before becoming Deputy Director) meant he has a treasure of knowledge when it comes to education (and what needs to be done to fix it) and the role industry-academia interaction can play in driving innovation in the country. His dream project, and perhaps the reason he identified with Internshala so much to lend his support, is to see at least 10% of the final year B.Tech Engineering projects happening in collaboration with industry which in his own words “even if it is 10 percent, the impact will rewrite the history of India”. 2. Naveen Kukreja is an IIM Calcutta alumnus (Class of 2001) and has a rich global experience in the field of Sales, Marketing, and Analytics in Financial Services domain. A start up enthusiast, he helps Internshala in defining medium to long term goals and staying on track plus actively connects us with people in his network. 3. GSK Chaitanya is an IIT Madras (Class of 2005) and ISB Hyderabad (Class of 2011) alumnus and a sound board for Internshala since early days. Pre-MBA, he has worked in the infrastructure sector across the spectrum of consulting, planning and execution. His vast network of friends and professional contacts has been a HUGE lifesaver and something that we generously tap into for everything that we need help on. 4. Kunal Jain is an IIT Bombay alumnus (Class of 2006) and has 7 years of Global Business Analytics experience. Owing to his structured thinking (a rare skill) and ability to always take long term view of things without losing sight of immediate goals, pretty much every new initiative at Internshala is refined basis his inputs. 5. Ankur Khator is an IIT Bombay alumnus (Class of 2005) and has 8 years of technology experience working with the giants of internet and software industry. He was Internshala’s first CTO (and co-founder) and played a critical role in setting Internshala up for success in its first year of operations and managed technical team and infrastructure. 6. Ashish Mishra is an IIT Madras alumnus (Class of 2005) and true technology enthusiast at heart with specialization in Web Application Development. Pretty much everything technical on Internshala has had his imprint on it. Be it the initial Wordpress blog that he had set up for us, or rescuing us from the security breaches, or the framework and architecture for the current portal; he is Internshala’s go to person for any advice on technology. 7. Nishikant Dhanke is an IIT Bombay alumnus (Class of 2005) and the first person to believe in the idea to actually put money behind it (and forget it :)). His support in very early days was crucial for Internshala to get off the mark and gave rest of the team confidence that they were going after a big enough problem that needed to be solved. 8. Ruchi Bhosle is in for the love of it than anything else. She was the first friend to help Internshala back in 2011 and donned many hats (marketing, employer relations, tech support, student support) since then till 2013 and played a critical role in setting Internshala up. She has done her B.E in Electronics from DAV Indore and MBA from SP Jain Centre of Management and has 88 months of work experience in-between. He is Dr. Sarvesh Agrawal founder and CEO of Internshala- an internship and training platform. An alumnus of IIT Madras, Sarvesh worked with capital one, Barclays, and Aviva plc before starting up. From past seven years, he has been on a mission to build a ‘world -full of opportunities’ for students by providing meaningful internships and reducing. Sarvesh said that he come from a business family in Nawalgarh (a town in Rajasthan) and desire to do something of his own was always there. While working in Corporate also, he used to bounce ideas off with friends and came very close to starting up couple of times. Finally, it was in 2010 that an idea (of an internship platform) stayed with him long enough that he decided to do something about it. He started Internshala as a blog that I used to write in his spare time along with a day job; after 6 months of encouraging initial response, he decided to quit his Corporate job and dedicate full time to Internshala. TYPE Private, Employment website INDUSTRY Education, Employment FOUNDER Sarvesh Agrawal HEADQUARTERS Gurgaon, Haryana SERVICES Internship matching online training WEBSITE Internshala.com VERSION OF INTERNSHALA Internshala is not a dot.com business with heart of dot organisation. It is a technology company on a mission to equip students with relevant skills and practical exposer through internships and online trainings. Imagine a word full of freedom and possibilities. A world where we can discover your passion and turn it into your carrier. A world where you practical skills matter more than your university degree. A world where you do not have to wait till 21 to taste your work experience (and get rude shock that is nothing like you had imagine it to be). A world where you graduate fully assured, fully confident and fully prepare to stake claim on your place in the world. CULTURES OF INTERNSHALA Internshala has many cultures and services. some of them are ; Big dreams Make it happens Relentless pursuit of excellence On time, Every time Keep it simple Do the right things Provide very good trainings Seek and feedback at every opportunity 1.1 BRIEF HISTORY OF INTERNSHALA This platform of Internshala was founded in 2010.it is started out as a WordPress blog that aggregated internships across India and articles on educations, technology and skill gap. Internshala launched its online training in 2014. As of 2018, the platform had 3.5 million students and 80,000 companies. At the beginning of 2011, Sarvesh started working onInternshala as a hobby project on the side and after initial traction and validation, friends have been a bigger part in the venture of sarvesh’s dream project. He had no knowledge about starting a business in the internet, no knowledge about programming, but friends contribute immensely in developing the initial set up and were always available for a quick chat or guidance. He quit his corporate job with Aviva to take up Internshala full time in October of 2011 and has been working on it since then. It was started as a WordPress blog since he has already worked in the recruitment department of the companies he had been working he had some knowledge where there is a difficulty for an employer for hiring employees. 1.2 ORGANIZATIONS BACKGROUND AND NATURE OF THE BUSINESS. Internshala is a dot com business with the heart of dot org. At the core of the idea is the belief that internships, if managed well, can make a positive difference to the student, to the employer, and to the society at large. Hence, the ad-hoc culture surrounding internships in India should and would change. Internshala aims to be the driver of this change. Internshala is a friend, a mentor, an affectionate senior, and a boon. As of 2018, the platform had 3.5 million students and 80,000 companies. Internshala is a platform that helps students discover their true passion and prepares them for a career in it. On one side is the internship platform (world’s largest) connecting students and companies with each other for internships which has ~25,000 businesses and ~750,000 students registered on the platform. On the other is an online training platform (Internshala Virtual Training Centre) helping students acquire new age skills (Web/App development, Analytics, Digital Marketing etc.) and constantly upgrade themselves. 1.3 TRAININGS OFFERED BY INTERNSHALA There are many trainings offered by Internshala some of them are: PROGRAMMING Programming with C and C++ Core java Cloud computing with AWS R programming Angular Git and Github React Block chain DATA SCIENCE Machine learning Programming with python DESIGN Graphic design UX/UI design ARCHITECTURE AUTOCAD Revit CARREER DEVELOPMENT Business communication skill Internship and job preparations CREATIVE ARTS Video editing Photography Animation BUSINESS Advanced excel Financial modelling and valuations Beginners trading certification How to start up CORE ENGENNEERING AUTOCAD SOLIDWORKS Fusion 360 STAAD PRO Internet of things 1.4 SERVICES AND PRODUCT OFFERED BY INTERNSHALA Internshala offers following products & services to its users 1. Internship and job posting: Organization & individuals looking to hire interns and/or full-time employees can post their internship and/or job requirement on Internshala. Currently, internships are posted for free and a fee of INR 4999 is charged from the employers for posting a full-time job. 2. Internship and job search: Internship and job seekers from all over India can search and apply for internships and jobs relevant to their coursework and interest free of cost. 3. Internshala Trainings: Internshala offers a variety of online training programs across multiple disciplines (Machine Learning, Web Development, Digital Marketing, Java, French and several others) which students can do from the comfort of their homes and learn the skills needed in today’s industry. Internshala reserves the right to add/remove any product and service at its sole discretion or change the price charged for such offerings. 1.5 COMPETITIVE ADVANTAGE AND BENEFITS OF INTERNSHALA There are several advantages or benefits of internshala some of them are : 1. Flexibility – With Internshala Trainings, you can learn anytime and from anywhere as per your comfort. You don’t have to be bound by the time-table of a classroom training. Also, you don’t have to worry about missing any classes in-between. With Internshala training, you can catch up from where you left and entire training is in your pocket 24*7. 2. Convenience – Spending 2 hours in commute during hot summers or freezing winters to reach classes is no one’s idea of fun. Wouldn’t you rather save that time and use it for learning or spending on doing something that you truly enjoy? I know, I would :) 3. Affordability – Internshala Trainings usually cost only 15-20% of what some of the best classroom trainings on same subjects would cost you. And we are not even adding the cost of daily travel or moving to a new city for your training (especially if you do not have good classroom training programs available in your city). 4. Finally, quality – Classroom training centers often struggle with the lack of quality trainers or required infrastructure while Internshala trainings are designed and developed scientifically and the core team behind Internshala Trainings consists of alumni of IITs and NITs. 5. Internshala is a Platform where any fresher or experienced person can apply for internship. 6. It provide both work from home or on center internship in he top most company. The internship can be from many field like (Management, IT, Content Writing, Operation). 1.6 LIST OF COMPANIES WORKING WITH INTERNSHALA 1. Learnandrise 2. Fenixwork 3. Ideate-analytic 4. Curiosity 5. Kronosis 6. Bachpan Banao 7. I believe technology foundation 8. Aapka painter 9. Jk finanicial consultant Pvt. Ltd. 10. Sidus Realt. 11. Teachify 12. Bekfy 13. Bridgedots techsevices Pvt. Ltd 14. Quiz works 15. Yuktix technologies Pvt.Ltd. 16. Zebronics 17. Green peace International NGO 18. HT Media Ltd. 19. Logic roots Pvt. Ltd. 20. Future SEEDS 21. The porter etc. 1.7 CLEINTS OF INTERNSHALA AND HOW THEY LOOK IN EXPANDING Internshala is used by 25,000 businesses to recruit interns. Some of the notable names include Reliance, HDFC Bank, Ibibo group, Make My Trip, Kolkata Knight Riders and many Members of Parliament (MPs) etc. On student side, Internshala is used by 750,000 students across 5,000 colleges in India. So far growth of Internshala has come from Word of Mouth from happy customers (~50% of new business is referrals) and we intend to stay laser focused on that. In addition, we have also started advertising on relevant business & HR forums to get more corporate client onboard. 1.8 MARKETING PLANS OF INTERNSHALA We are very strong in digital space (SEO, Social Media, Email marketing) and are now regularly present in campuses via fests and our Internshala Student Partner Program ( Internshala’s student representatives in 500 campuses). 1.9 WHY CHOOSE INTERNSHALA? 1. 6 Mn +jobseeker 2. 30 days visibility 3. Data base access 4. Application manager 5. Advanced filters 6. Instant messaging INTRODUCTION TO PYTHON AND PROGRAMMING WITH PYTHON Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically typed and garbagecollected. It supports multiple programming paradigms, including structred (Particularly, Procedural), object oriented and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library. Python is often used as a support language for software developers, for build control and management, testing, and in many other ways. SCons for build control. Python can be used for web and desktop applications, GUI-based desktop applications, machine learning, data science, and network servers. The programming language enjoys immense community support and offers several open-source libraries, frameworks, and modules that make application development a cakewalk. Python interpreters are supported for mainstream operating systems and available for a few more (and in the past supported many more). A global community of programmers develops and maintains CPython, a free and open-source reference implementation. A nonprofit organization, the Python Software Foundation, manages and directs resources for Python and CPython development. It currently ties with Java as the second most popular programming language in the world. 1.10 DESIGN AND PHILOSOPHY OF PYTHON Python is a multi-paradigm programming language. Object-oriented programming and structured programming are fully supported, and many of its features support functional programming and aspect-oriented programming (including by metaprogramming and metaobjects (magic methods)). Many other paradigms are supported via extensions, including design by contract and logic programming. Python uses dynamic typing and a combination of reference counting and a cycle-detecting garbage collector for memory management. It also features dynamic name resolution (late binding), which binds method and variable names during program execution. Python's design offers some support for functional programming in the Lisp tradition. It has filter , map , and reduce functions; list comprehensions, dictionaries, sets, and generator expressions. The standard library has two modules (itertools and functools) that implement functional tools borrowed from Haskell and Standard ML. Rather than having all of its functionality built into its core, Python was designed to be highly extensible. This compact modularity has made it particularly popular as a means of adding programmable interfaces to existing applications. Van Rossum's vision of a small core language with a large standard library and easily extensible interpreter stemmed from his frustrations with ABC, which espoused the opposite approach. Python strives for a simpler, less-cluttered syntax and grammar while giving developers a choice in their coding methodology. In contrast to Perl's "there is more than one way to do it" motto, Python embraces a "there should be one—and preferably only one—obvious way to do it" design philosophy. Alex Martelli, a Fellow at the Python Software Foundation and Python book author, writes that "To describe something as 'clever' is not considered a compliment in the Python culture." Python's developers strive to avoid premature optimization, and reject patches to non-critical parts of the C Python reference implementation that would offer marginal increases in speed at the cost of clarity. When speed is important, a Python programmer can move time-critical functions to extension modules written in languages such as C, or use PyPy, a just-in-time compiler. C python is also available, which translates a Python script into C and makes direct C-level API calls into the Python interpreter. PARADIGM Multi paradigm, functional, imperative, object-oriented, structured, reflective. DESIGNED BY GUIDO VAN ROSSUM DEVELOPER Python software foundation FIRST APPEARED 1991, 29 years ago STABLE 3.9.0/ 5 OCTOBER 2020; 57 days ago REALEASED PREVIEW 3.10.0a2/ 3 November 2020; 28 days ago REALEASE TYPING Duck, dynamic, gradual DISCIPLINE Since 3.5 OS Linux, macOS, windows and more LINCENSE Python software foundation Lincense FILENAME .py, .pyi, .pyc, .pyd, .pyo EXTENSION (prior to 3.5), .pyw, .pyz (since 3.5) WESBITE www.python.org. TABLE -01 1.11 HISTORY OF PYTHON Python was developed in 1980 by GUIDO VAN ROSSUM at the National Research Institute for Mathematics and Computer Science in the Netherland as a successor of ABC language capable of exception handling and interfacing. python features a dynamic type system and automatic memory management. It supports multiple programming paradigm, including object oriented, imperative, functional and procedural, and has a large and compressive standard library. Guido Van Rossum picked the name python from a tv show, Monty Python’s Flying Circus. In December 1989 the creator developed the 1st python interpreter as a hobby and then on 16 October 2000, python 2.0 was released with many new Feature. Guido said that in December 1989, he was looking for a “hobby” programming project that would keep him occupied during the week around Christmas. Guido’s office would be closed, but he had a home computer, and not much else on his hands. He decided to write an interpreter for the new scripting language he had been thinking about lately: a descendant of ABC that would appeal to Unix /c hackers. I choose a python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python’s Flying Circus). 1.12 GUIDO VAN ROSSUM “THE CREATOR OF PYTHON” He is Guido Van Rossum. He is a Dutch programmer best known as the creator of Python Programming language, for which he was the “Benevolent dictator for life” (BDFL) until he stepped down from the position in July 2018. He remained a member of the Python Steering Council through 2019 and withdrew from nominations for the 2020 elections. Van Rossum was born and raised in the Netherlands, where he received a master's degree in mathematics and computer science from the University of Amsterdam in 1982. He has a brother, Just van Rossum, who is a type designer and programmer who designed the typeface used in the "Python Powered" logo. Van Rossum lives in Belmont, California, with his wife, Kim Knapp, and their son. According to his home page and Dutch naming conventions, the "van" in his name is capitalized when he is referred to by surname alone, but not when using his first and last name together. While working at the Centrum Wiskunde & Informatica (CWI), Van Rossum wrote and contributed a glob() routine to BSD Unix in 1986 and helped develop the ABC programming language. He once stated, "I try to mention ABC's influence because I'm indebted to everything I learned during that project and to the people who worked on it." He also created Grail, an early web browser written in Python, and engaged in discussions about the HTML standard. He has worked for various research institutes, including the Centrum Wiskunde & Informatica (CWI) in the Netherlands, the U.S. National Institute of Standards and Technology (NIST), and the Corporation for National Research Initiatives (CNRI). From 2000 until 2003 he worked for Zope corporation. In 2003 Van Rossum left Zope for Elemental Security. While there he worked on a custom programming language for the organization. From 2005 to December 2012, he worked at Google, where he spent half of his time developing the Python language. In January 2013, he started working for Dropbox. In October 2019, Van Rossum officially retired. He has explained that Python's predecessor, ABC, was inspired by SETL, noting that ABC co-developer Lambert Meertens had "spent a year with the SETL group at NYU before coming up with the final ABC design" .In July 2018, Van Rossum announced that he would be stepping down from the position of BDFL of the Python programming language. At the 2002 FOSDEM conference in Brussels, Van Rossum received the 2001 Award for the Advancement of Free Software from the Free Software Foundation (FSF) for his work on Python. In May 2003, he received a NLUUG Award. In 2006, he was recognized as a Distinguished Engineer by the Association for Computing Machinery. In 2018, he was made a Fellow of the Computer History museum. In 2019, he was awarded the honorary title of Dijkstra Fellow by CWI. BORN 31st January 1956 (age 64) Haarlem, Netherland NATIONALITY Dutch ALMA MATER university of Amsterdam OCCUPATION computer programmer, author KNOWN FOR creating the python programming language SPOUSE (S) Kim Knapp (m 2000) CHILDREN 1 AWARDS Awards for the advancement of free software (2001) WEBSITE gvanrossum.github.io 1.13 PYTHON REALEASE Python 1.0 - January 1994 Python 1.5 – 31st December,1997 Python 1.6 – 5th September 2000 Python 2.0 – 16th October 2000 Python 2.1 – 17th April 2001 Python 2.2 – 21st December 2001 Python 2.3 – 29th July 2003 Python 2.4 – 30th November 2004 Python 2.5 – 19th September 2006 Python 2.6 – 1st October 2008 Python 2.7 – 3rd July 2010 Python 3.0 – 3rd December 2008 Python 3.1 – 27th June 2009 Python 3.2 – 20th February 2011 Python 3.3 – 29th September 2012 Python 3.4 – 16th March 2014 Python 3.5 – 13th September 2015 Python 3.6 – 23rd December 2016 1.14 WHY PYTHON ? The language’s core philosophy is summarized in the document the zen of python (PEP 20), which includes aphorisms such as Beautiful is better than ugly Simple is better than complex Complex is better than complicated Readability counts Explicit is better than implicit A simple program code or syntax of a program to print “Hello World” JAVA CODE Public class HelloWorld { Public static void main(string args [] ) { System. out. pritin (“Hello World!”) } } PYTHON CODE print (“HelloWorld!”) 1.15 CHARACTERISTIC OF PYTHON 1. Python is an interpreted language because python is processed at runtime by python interpreter 2. It is easy to read because python source code is clearly defined and visible to the naked eyes. 3. It is portable because its codes can be run on a wide variety of hardware platforms having the same interface. 4. It is extendable, users can add low level – modules to python interpreter. 5. It is scalable because python provides an improved structure for supporting large programs than shell scripts. 6. It is Object Oriented language and it supports Object Oriented features and techniques of programming. 7. Python is an interactive programming language, users can interact with the python interpreter directly for writing programs. 8. It is an easy language, Python is easy to learn language especially for beginners. 9. It has straight forward syntax because the formation of python syntax is simple and straight forward which also makes it popular. 1.16 FEATURES OF PYTHON There are many features in Python, some of which are discussed below – 1. Python is a high-level programming language. Python is very easy to learn the language as compared to other languages like C, C#, Java script, Java, etc. It is very easy to code in python language and anybody can learn python basics in a few hours or days. It is also a developer-friendly language. 2. Python language is freely available at the official website and you can download it from there. Since it is open- source, this means that source code is also available to the public. so you can download it as, use it as well as share it. 3. One of the key features of python is Object-Oriented programming. Python supports object-oriented language and concepts of classes, objects encapsulation, etc. 4. Python is a high-level language. When we write programs in python, we do not need to remember the system architecture, nor do we need to manage the memory. 5. Python is a Extensible language. We can write us some Python code into C or C++ language and also we can compile that code in C/C++ language. 6. Python language is also a portable language. For example, if we have python code for windows and if we want to run this code on other platforms such as Linux, Unix, and Mac then we do not need to change it, we can run this code on any platform. 7. Python is also an Integrated language because we can easily integrated python with other languages like C, C++, etc. 8. Python is an Interpreted Language because Python code is executed line by line at a time. like other languages C, C++, Java, etc. there is no need to compile python code this makes it easier to debug our code. The source code of python is converted into an immediate form called bytecode. 9. Python has a large standard library which provides a rich set of module and functions so you do not have to write your own code for every single thing. There are many libraries present in python for such as regular expressions, unit-testing, web browsers, etc. 10. Python is a dynamically- typed language. That means the type (for example- int, double, long, etc.) for a variable is decided at run time not in advance because of this feature we don’t need to specify the type of variable. 1.17 USES OF PYTHON Python mainly used as a “scripting language” for web applications. This means that it can automate specific series of tasks, making it more efficient. Consequently, Python (and languages like it) is often used in software applications, pages within a web browser, the shells of operating systems and some games. Some of real world applications and uses of python are: 1. Python uses in web development. 2. Game development. 3. Scientific and numeric applications 4. Python are also used in Artificial Intelligences. 5. It is used in machine learning. 6. Software development. 7. Enterprise- level/ Business application. 8. Education programs and training courses. 9. Language development. 10. Operating system. 11. Image processing 12. Graphic design applications. 13. Web scraping applications etc. 1.18 DATA STRUCTURES IN PYTHON LISTS Ordered collection of data It Supports similar slicing and indexing functionalists as in the case of strings. They are mutable Advantage of a list over a conventional array. List have no size or type constraints(no setting restrictions before hand). They can contain different object types. We can delete elements from a list by using Del list_ name[index_ val] Example: my_ list = [‘one’, ‘two’, ‘three’,4,5] len(my_ list) would output 5 DICTIONARY Lists are sequence 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 objects from a dictionary. Nesting dictionaries. Basic dictionary methods. Basic syntax: d={} empty dictionary will be generated and assign keys and values to it, like d[‘animal’] = ‘dog’ d = {‘k1’: ‘v1’, ‘k2’: ‘v2’} d[‘k1’] output ‘v1’ TUPLES – Immutable in nature, i.e they cannot be changed. No type restrictions. Indexing and slicing, everything’s same like that in strings and lists Constructing tuples. Basic tuple method. Immutability. When to use tuples? We can use tuples to present things that should not change, such as days of the week , or dates on a calendar, etc. SETS – A set contain unique and unordered elements and we can construct them by using a set()function. Convert a list into set- I=[1,2,3,4,1,1,2,3,6,7] K = set(I) K becomes {1,2,3,4,6,7} Basic syntax – X = set() x.add(1) x = {1} this would make no change in x now 1.19 OOPS CONCEPT IN PYTHON Object-oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual objects. In this tutorial, you’ll learn the basics of object-oriented programming in Python. Conceptually, objects are like the components of a system. Object-oriented programming is a programming paradigm that provides a means of structuring programs so that properties and behaviors are bundled into individual objects.For instance, an object could represent a person with properties like a name, age, and address and behaviors such as walking, talking, breathing, and running. Or it could represent an email with properties like a recipient list, subject, and body and behaviors like adding attachments and sending.Put another way, object-oriented programming is an approach for modeling concrete, real-world things, like cars, as well as relations between things, like companies and employees, students and teachers, and so on. OOP models real-world entities as software objects that have some data associated with them and can perform certain functions.Another common programming paradigm is procedural programming, which structures a program like a recipe in that it provides a set of steps, in the form of functions and code blocks, that flow sequentially in order to complete a task.The key takeaway is that objects are at the center of object-oriented programming in Python, not only representing the data, as in procedural programming, but in the overall structure of the program as well. 1.20 Characteristics of an Object Oriented Programming language 1.21 FILE HANDLING IN PYTHON Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other language, but the implementation is either complicated or lengthy, but alike other concepts of python, this concept here complicated or lengthy, but alike other concepts of python, this concept here is also easy and short. Python treats file differently as text or binary and this is important. Each line of code includes a sequence of characters and they form text file. Each line of code includes a sequence of characters and they form text file. Each line of a file is terminated with a special character, called the EOL or End of line characters like comma {,} or newline character. It ends the current line and tells the interpreter a new one has begun. We use open () function in python to open a file in read or write mode.as explained above, open () will return a file object. To return a file object we use open () function along with two arguments, that accepts file name and the mode, whether to read or write. So, the syntax being: open (filename, mode). There are three kinds of mode, that python provides and how files can be opened: “r” for reading “w” for writing “a” for appending “r+”, for both reading and writing. Code in Python: 1.22 USE OF NUMBY IN PYTHON NumPY is a python packages. It stands for ‘Numerical Python’. It is a library consisting of multidimensional array object and a collection of routines for processing of array. Numeric, the ancestor of NumPY, was developed by Jim Hugnin. Another packages Num array was also developed having some additional functionalities in 2005. Travis Oliphant created NumPY packages by incorporating the features of Numarray into numeric packages. There are many contributors to this open source packages. Using NumPY the developer can perform the following operations: Mathematical operations. Logical operations. Fourier transforms and routines for shape manipulations. Operations related to linear algebra.it has built- in functions for linear algebra and random number generations. For example : import time import sys SIZE = 1000000 L1= range(SIZE) L2= range(SIZE) A1= np.arange(SIZE) A2=np.arange(SIZE) start= time.time() result=[(x,y) for x,y in zip(L1,L2)] print((time.time()-start)*1000) start=time.time() result= A1+A2 print((time.time()-start)*1000) CHAPTER – 02 THE INDUSTRIAL TRAINING PROGRAM Industrial training program provides the opportunity for students to get both practical training and polish their theoretical learning in an industrial environment with supervision from experts who are working in the field for many years. This is done in a specified time frame. At the end of the industrial training, the trainees become knowledgeable about the real challenges that await them in real jobs. 2.1 OBJECTIVE OF INDUSTRIAL TRAINING The main objectives of the industrial training is to provide the best and relevant theoretical knowledge to gain in a particular time period. To provide students the opportunity to test their interest in a particular career before permanent commitments are made. To develop skills in the application of theory to practical work situations. To develop skills and techniques directly applicable to their careers. Internships will increase a student's sense of responsibility and good work habits. To expose students to real work environment experience gain knowledge in writing report in technical works/projects. To enhance the ability to improve students creativity skills and sharing ideas. To build a good communication skill with group of workers and learn to learn proper behavior of corporate life in industrial sector. 2.2 SCOPES OF INDUSTRIAL TRAINING The scope and importance of industrial training are wide-ranging. Some of the benefits of industrial training to the students are: Students pursuing engineering, MCA, MBA, BCA, BBA, and other IT courses can gain firsthand experience in an industrial environment and become specialists. Learner’s fresh from their 12th board examination can gain beneficial practical knowledge and enter the job market, fully equipped. Professionals in different fields can brush up knowledge from top experts in their particular fields. People from the management and engineering sector can enhance their scope of knowledge according to company requirements. As a new experience, it adds to the portfolio of a job seeker manifold. 2.3 WHY IS INDUSTRIAL TRAINING NECESSARY? Industrial training program is necessary because it gives an edge to the theoretical learning to the pupils to metamorphose them from greenhorns to actual experts who can handle jobs in the real work field with confidence. From the student’s point of view, with industrial training, job opportunities become much more extensive. The reason is employers always want to take people who will be able to perform complicated tasks instead of people with theoretical knowledge only. It creates a new panorama for the specific learners who can visualize what they will actually have to do and also learns about the state-of-the-art technology from top specialists. CHAPTER – 03 OVERVIEW OF THE TRAINING During 6 weeks of training of programming with python I learn many interesting facts and knowledgeable things related to python. This course leads me from the basics of writing and running python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting. The training consisted of Introduction to Python, Using Variables in Python, Basics of Programming in Python, Principles of Object-oriented Programming (OOP), Connecting to SQLite Database, Developing a GUI with PyQT and Application of Python in Various Disciplines modules. 3.1 OBJECTIVE OF PYTHON PROGRAMMING Master the fundamentals of writing Python scripts Learn core Python scripting elements such as variables and flow control structures Discover how to work with lists and sequence data Write Python functions to facilitate code reuse Use Python to read and write files Make their code robust by handling errors and exceptions properly Work with the Python standard library Explore Python's object-oriented features Search text using regular expressions 3.2 SUMMARY OF THE TRAINING AND EXPERIENCE GAINED It was my first experience with Python and I enjoyed it very much A lot of thanks to Instructor and all team, who made this course so interest and understandable. Quite interesting introduction to Python, focusing on the most important components of the language. Looking forward to other courses using the same format. All thanks to Internshala and their team for providing me the best and most interesting online training because in this period of time all the world suffer from a pandemic covid-19 that’s why I cant go in any industry and company to complete my industrial training in this time many websites provides many online training programmes but I like this very much ‘PROGRAMMING WITH PYTHON’ from INTERNSHALA . during this training I have no bound between timings and I think this is the best thing. I gave 3 hours to this training i.e. 3o’clock to 6’o clock. The training consisted of Introduction to Python, Using Variables in Python, Basics of Programming in Python, Principles of Object-oriented Programming (OOP), Connecting to SQLite Database, Developing a GUI with PYQT and Application of Python in Various Disciplines modules. This training. this training also introduce object oriented concepts and the python programming language. It is divided into different modules. the modules begin with a brief explanation of basic programming with python and Object-Oriented concepts. This training covered essential concepts on the building blocks of python, Object- Oriented programming, the use of SQLite database and development of GUIs for python applications. I learn many intresting things and this training was very amazing for me. My main objective of learning python is: To understand why Python is a useful scripting language for developers. To learn how to design and program Python applications. To learn how to use lists, tuples, and dictionaries in Python programs. To learn how to identify Python object types. To learn how to use indexing and slicing to access data in Python programs. To define the structure and components of a Python program. To learn how to write loops and decision statements in Python. To learn how to write functions and pass arguments in Python. To learn how to build and package Python modules for reusability. To learn how to read and write files in Python. To learn how to design object‐oriented programs with Python classes. To learn how to use class inheritance in Python for reusability. To learn how to use exception handling in Python applications for error handling. CHAPTER – 04 ASSIGNMENTS COMPLETED IN TRAINING ASSIGNMENT NO – 01 Problem Statement = Create a list of different data fields and use appropriate Python data types to represent each of them. Solution = ASSIGNMENT NO – 02 write a Python program to decide the player with the highest points. Develop separate functions to compute batting and bowling points and save them in a module. These functions should be imported into the main code. Solution = ASSIGNMENT NO – 03 Design a ‘book’ class with title, author, publisher, price and author’s royalty as instance variables. Provide getter and setter properties for all variables. Also define a method royalty() to calculate royalty amount author can expect to receive the following royalties:10% of the retail price on the first 500 copies; 12.5% for the next 1,000 copies sold, then 15% for all further copies sold. Then design a new ‘ebook’ class inherited from ‘book’ class. Add ebook format (EPUB, PDF, MOBI etc) as additional instance variable in inherited class. Override royalty() method to deduct GST @12% on ebooks. ASSIGNMENT NO – 04 Assume that you have to create such an application for maintaining a database of book titles and their costs. Part 1: Write the script to create the required database and add data programmatically by using the Insert query. Part 2: Write a Python script connecting to the database created that has the following features: solution- ASSIGNMENT NO – 05 Assume that you have to create a GUI-based form for the same books table that you created in the module 5 assignment. The form should have the following features: 1. It should have the basic functionality and widgets displayed in the mock-up : 2. It should fetch the price of the book when the 'find price' button is clicked. 3. The quantity field should only accept integer data. 4. When the 'find total amount' button is clicked, the field should display the total amount by calculating the product of the price and quantity. 5. If the book title enter is not present in the database, a message saying the book is not fond should be displayed. solution = CERTIFICATE CHAPTER -05 CONCLUSION I believe the trial has shown conclusively that it is both possible and desirable to use python as the principal teaching language: It is free(as in both cost and source code). It is trivial to install on a windows pc allowing students to take their interest further. For many the hurdle of installing a pascal or C complier on a windows machine is either too expensive or too complicated. It is flexible tool that allows both the teaching of traditional procedural programming and modern OOP. It can be used to teach a large number of transferable skills. It is a real world programming language that can be and is used in academia and the commercial world. It appears to be a quicker to learn and, in combination with its many libraries, this offers the possibility of more rapid students development allowing the course to be made more challenging and varied. Most importantly, its clean syntax offers increased understanding and enjoyment for students. The training program having three destinations was lot more useful than staying at one place throughout the whole 6 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. CHAPTER – 06 REFERENCE Websites 1. www.internshala.com 2. https://en.wikipedia.org/wiki/Internshala 3. https://en.wikipedia.org/wiki/Guido_van_Rossum 4. https://en.wikipedia.org/wiki/Python_(programming_language) 5. https://www.slideshare.net/mobile/ShubhamYadav233/summer-trainingreport-on-python 6. Gvanrossum.github.io Individual 1. MR.RAJESH CHHIKARA (Supervisor and lecturer ) 2. Our senior students of department Digital Electronics. Demo videos 1. https://www.youtube.com/watch?v=4SLSZFWQ5v4 2. https://www.youtube.com/watch?v=mFjGw01dFIk 3. https://www.youtube.com/watch?v=STJWlLF-li0 4. https://blog.internshala.com/2020/01/introduction-internshala-trainings-elearning-platform-internshala/ 5. https://www.youtube.com/watch?v=Dh_8iV6QZ34