Weekly Diary Python
Weekly Diary Python
Name of industry:
Name of Supervisor:
Enrollment no.:2116060078
Expected Work:
i. Study of organization chart of industry/plant with responsibilities of the different posts
ii. General Study of industry, its location, its history and its product range, its size, number
of employees, its turnover etc.
Introduction to Python
We learnt basics and installation of python
1 Features of Python
2 First program
Identifiers
Variables
3 Keywords
Data types
Type() function
4 Arithmetic operators
Comparison operators
Logical operators
5
Swapping value code
Input function
Bitwise operator
6
Membership operator
Identity operator
Raw String
This week's learning covered a range of fundamental programming concepts: On day 1 we were
introduced with the Key-Value Method and the concept of Range. On day 2 we explored String
operations, such as performing operations on strings and slicing them using Range. On day 3
we learned about various Control Statements, including If, if-else, if-else, and nested if, which
enable us to make decisions in code.
On day 4 we covered the Basic Loop Structures: While Loop and For Loop, essential for
repetitive tasks and iterations. Day 5 Explored Nested Loops, along with a Star Pattern
Program, and understood how the Break Statement can be used within loops.
On day 6 we discussed the usefulness of Continue Statement, Pass Statement, and Else
Statement within loops. Throughout the week, we focused on building a strong foundation in
programming, equipping you with essential tools for data manipulation, control flow, and loop
structures. Keep practicing and applying these concepts to enhance your coding skills. Well
done on completing a productive week of learning
Week 2: From : 14 June 2023 To: 20 June 2023
Expected Work: Study of layout and specifications of major machines, equipment and raw
materials/components used.
List the Sections of Industry visited and list the major machines, equipment and raw
materials etc. studied:
Slicing
2
Append functions
Insert functions
Set
4
Dictionary
Key value method
Range
5 String
Operation on string
Slicing on string
6
Control Statements
The range function was covered, aiding us in generating sequences of numbers efficiently.
Shifting focus to strings, we explored various operations on strings, enhancing our ability to
manipulate text-based data effectively.Additionally, we learned about slicing strings, which
allows us to extract substrings based on indices.Towards the end of the week, we explored
control statements, which included if, if-else, if-elif, and nested if. These statements enable us
to make decisions and control the flow of our code based on specific conditions.Overall, this
week's topics provided us with a diverse set of programming tools and knowledge,
empowering us to work with different data structures and effectively control the logic of our
programs. Continue practicing and applying these concepts to become a proficient
programmer. Great job on completing a productive week of learning
Expected Work: Study of layout and specification of major machines ,equipment and raw
materials/components used
List the Sections of Industry visited and list the major machines, equipment and raw
materials etc. studied:
Simple If
if – else
1
if – else
2 Nested if
Basic Loop Structure/Iterative Statement:
3 While Loop
For Loop
4 Nested Loop
Star Pattern Program
5
Break Statement Loop
Continue statement
6 Pass Statement
Else Statement used in Loop
Additionally, we discussed control statements like the Break Statement, which allows us to
exit a loop prematurely, and the Continue statement, which enables us to skip the rest of the
current iteration and move to the next one.Towards the end of the week, we explored the Pass
Statement, useful as a placeholder when no action is required in a loop or conditional block.
Lastly, we covered the Else Statement, a valuable addition to loops to execute code when the
loop has finished its iterations.
Overall, this week's topics provided us with essential programming building blocks,
empowering us to make decisions, create loops, and handle different situations effectively.
Keep practicing and applying these concepts to enhance your coding skills further. Great job
on completing a productive week of learning
1 Class Variable
2 Object Variable
5 File Handling
6 Reading Function
We began by understanding Class Variables, which are variables shared among all
instances of a class. We also explored Object Variables, which are specific to individual
instances of a class.
We delved into the distinction between Class Variables and Object Variables,
understanding their scope and usage within classes.
Expected Work: Study of prevention and breakdown maintenance & safety Practice adoptedin
industry.
List the Sections of Industry visited and list
i. The major machines/plants whose preventive and breakdown maintenance process studied.
ii. Major safety practices adopted in industry.
iii. Organization chart of the industry with responsibilities of different department/posts
1
Python file modes
2 Exception handling
4 PIL operation
6
Email validation project
Weekly summarization of the above activities:
This week's focus in Python programming covered various crucial topics related to file
handling, exception handling, image processing, and email validation projects. We started by
understanding Python File Modes, which allow us to specify the purpose and accessibility of
files when opening them. This knowledge is essential for effective file manipulation in Python.
Next, we delved into Exception Handling, learning how to handle errors and exceptions in our
code gracefully. This concept helps in writing more robust and error-resistant programs. The
Image Processing Project introduced us to the Python Imaging Library (PIL) and its
capabilities for image manipulation. We explored different PIL operations to process and
modify images efficiently. Handling Multiple Exceptions was another vital topic we covered,
enabling us to address various exceptional scenarios in our programs gracefully. Lastly, we
embarked on an Email Validation Project, where we learned to validate email addresses using
Python, ensuring that user inputs meet specific criteria for correct email format.
Throughout the week, we gained valuable insights into handling files, errors, and data, which
are fundamental skills for any Python programmer. By working on practical projects, we
applied our knowledge in real-world scenarios, enhancing our coding skills and problem-
solving abilities. As we continue our Python journey, let's keep practicing, exploring advanced
concepts, and working on more projects to become proficient Python developers. Great job on
completing a rewarding week of Python learning!
Expected Work: List the Sections of Industry visited and list the major manuals/broachers such
as operational manual safety manual, maintenance manual , quality manuals referred/studied there for
preparation of reports
4
Ludo game and module
5 Project assignment
This week's focus in Python programming covered various essential topics and projects,
enhancing our understanding and skills in different areas. The week began with a discussion
on Email Validation, where we learned techniques to validate email addresses effectively using
Python. Understanding email validation is crucial for robust data handling and user input
verification. We then revised PIL (Python Imaging Library) operations, strengthening our
abilities to perform image processing tasks in Python. Mastery of PIL enables us to manipulate
and modify images for various applications. The introduction to Python libraries for Data
Science was another key highlight of the week. We explored various powerful libraries that
make data analysis, visualization, and machine learning tasks more efficient and accessible.
The Ludo game and module project provided an opportunity to apply our Python skills in
building a game and creating reusable modules. Projects like these help us gain practical
experience and foster creativity. Lastly, we received a project assignment, giving us a chance
to work on a comprehensive coding task and apply our knowledge across different concepts
and topics.Throughout the week, we engaged in discussions, projects, and learning sessions
that strengthened our Python skills and problem-solving abilities. As we continue our Python
journey, let's keep exploring and practicing to become more proficient in Python
programming. Great job on completing a productive week of Python learning.