The document discusses file handling in Python. It begins by explaining the need for files, such as to store data permanently and access it faster. It then covers opening and closing files, different file modes, reading and writing text files, modifying files by replacing strings, and using file attributes and methods like seek, tell, readlines and writelines. The document provides examples to demonstrate basic text file operations in Python.
The document discusses file handling in Python. It begins by explaining the need for file handling such as storing data permanently and accessing it faster. It then defines what a file is and explains the different types of files - text files and binary files. It discusses the three main steps for file handling in Python - opening the file, processing the file by performing read/write operations, and closing the file. It also describes various file opening modes, methods for reading and writing text files, and modifying or appending content to text files.
The document discusses data file handling in Python. It covers the basics of opening, reading from, and writing to both text and binary files.
The key points covered include: opening and closing files, different file access modes, reading methods like readline(), readlines(), and read(), writing methods like write() and writelines(), random access methods like seek() and tell(), pickling and unpickling using the pickle module, and the differences between text and binary files.
File handling and Dictionaries in pythonnitamhaske
This document provides an introduction to file handling and dictionaries in Python. It discusses what files are and how they are used to store large amounts of data outside of RAM. Files are organized in a tree structure with paths to identify locations. There are two main types of files - text files which store character data and binary files which can store any type of data. The document outlines various functions for working with files, including open() to create a file object, close() to finish with the file, and attributes of the file object like name and mode. It also covers accessing a file, reading/writing data, and different modes for opening files.
The document discusses file handling in Python. It covers opening and closing files, reading and writing to files, and different file access modes. It describes opening files using the open() function and closing files using the close() method. It explains how to read from files using methods like read(), readline(), and readlines(). It also covers writing to files using write(), writelines(), and seeking to specific positions using seek() and tell(). The document provides examples of reading, writing, and manipulating text files in Python.
The document provides information about file handling in Python. It discusses the basic operations on files like opening, reading, writing and closing files. It explains text files and binary files, different file access modes, and methods to read and write data from/to files like readline(), readlines(), read(), write() and writelines(). It also covers random access methods like seek() and tell() as well as pickling and unpickling using the pickle module. Finally, it highlights the differences between text and binary files.
Data file handling in python introduction,opening & closing fileskeeeerty
This document discusses file handling in Python. It describes the need for data files and the different types of files including text files, binary files, and CSV files. It explains the basic operations for each file type, such as opening, closing, reading, and writing. Text files store data as characters, binary files store data in the same format as memory, and CSV files store tabular data separated by commas. The document also covers opening and closing files, file access modes like read, write, and append, and using absolute versus relative paths.
Data file handling in python introduction,opening & closing filesKeerty Smile
The document discusses file handling in Python. It describes the need for data files and introduces three main types of files: text files, binary files, and CSV files. It explains some basic operations for each file type, such as opening and closing files, reading and writing data, and using modules like csv. It also covers concepts like absolute and relative paths and different file access modes when opening files.
File handling in C allows storing program data in files that can be accessed later. There are two main file types: text files containing human-readable ASCII characters and binary files containing 0s and 1s in a non-human-readable format. Common file operations in C include creating, opening, writing, reading, moving within and closing files using functions like fopen(), fprintf(), fscanf(), fputc(), fgetc(), fclose(), and fseek(). A file pointer references an opened file and is required for read/write operations.
Here are the answers to the quiz questions:
1. def read_file(file_name):
lines = []
with open(file_name, 'r') as f:
for line in f:
lines.append(line)
return lines
2. def input_list():
n = int(input("Enter number of elements : "))
list1 = []
for i in range(0, n):
ele = float(input())
list1.append(ele)
return list1
def output_list(list1):
for i in list1:
print(i)
3. def display_file(filename):
with open(filename
File Management and manipulation in C++ ProgrammingChereLemma2
The document discusses file handling in C++. It covers the basics of file management including the different types of files, file streams, and the file manipulation process. The key steps in the file manipulation process are: 1) declaring a file stream object; 2) opening a file using the file stream object; 3) checking if the file opened successfully; and 4) performing read and write operations on the file. The document provides examples of writing to and reading from files in C++.
FILE HANDLING in python to understand basic operations.ssuser00ad4e
The document discusses file handling in Python. It describes how to open, read from, write to, and close files. The key points are:
- Files can be opened in read, write, append modes using the open() function, which returns a file object.
- Reading file data uses functions like read(), readline(), and readlines(). Write uses write() and writelines().
- Files must be closed using the close() method on the file object after reading or writing to release system resources.
- Text files store data as characters while binary files store exact data types. Mode 'w' overwrites, 'a' appends without overwriting existing data.
This is ppt prsented by me in class in this ppt i include file handling in which i tell us about the types of files
creation of text file in C ++ ,updating a text file in C++ , printing the inforamtion in text file .creation of binary file in C ++ ,updating a binary file in C++ , printing the inforamtion in binary file, text file function and binary file function in c++ , File ponters ,syntax of every thing and use of file pointers and many more.
This document discusses file handling in Python. It begins by explaining that files allow permanent storage of data, unlike standard input/output which is volatile. It then covers opening files in different modes, reading files line-by-line or as a whole, and modifying the file pointer position using seek(). Key points include opening files returns a file object, reading can be done line-by-line with for loops or using read()/readlines(), and seek() allows changing the file pointer location.
This document discusses file handling in C++. It begins by explaining the differences between main memory and secondary memory (files on storage devices). It then discusses C++ streams and the classes used for file input/output (ifstream, ofstream, fstream). The rest of the document covers various file operations like opening, closing, reading from and writing to files. It also discusses text files versus binary files and sequential versus random file access. File pointers and associated functions like seekg(), tellg(), seekp() and tellp() are explained for navigating within files. An example program demonstrates reading from one file and writing to another.
The document discusses file handling in C programming. It explains that file handling allows programs to store and retrieve data from files for later use, as opposed to just displaying output temporarily. It covers opening, reading from, writing to, and closing files using functions like fopen(), fprintf(), fscanf(), and fclose(). It also differentiates between text files with .txt extensions and binary files for storing different data types permanently in a file.
The document discusses file handling in C programming. It explains that file handling allows programs to store and retrieve data from files for later use, as opposed to just displaying output temporarily. It covers opening, reading from, writing to, and closing files using functions like fopen(), fprintf(), fscanf(), and fclose(). It also differentiates between text files with .txt extensions and binary files for storing different data types permanently in a file.
File handling and Dictionaries in pythonnitamhaske
This document provides an introduction to file handling and dictionaries in Python. It discusses what files are and how they are used to store large amounts of data outside of RAM. Files are organized in a tree structure with paths to identify locations. There are two main types of files - text files which store character data and binary files which can store any type of data. The document outlines various functions for working with files, including open() to create a file object, close() to finish with the file, and attributes of the file object like name and mode. It also covers accessing a file, reading/writing data, and different modes for opening files.
The document discusses file handling in Python. It covers opening and closing files, reading and writing to files, and different file access modes. It describes opening files using the open() function and closing files using the close() method. It explains how to read from files using methods like read(), readline(), and readlines(). It also covers writing to files using write(), writelines(), and seeking to specific positions using seek() and tell(). The document provides examples of reading, writing, and manipulating text files in Python.
The document provides information about file handling in Python. It discusses the basic operations on files like opening, reading, writing and closing files. It explains text files and binary files, different file access modes, and methods to read and write data from/to files like readline(), readlines(), read(), write() and writelines(). It also covers random access methods like seek() and tell() as well as pickling and unpickling using the pickle module. Finally, it highlights the differences between text and binary files.
Data file handling in python introduction,opening & closing fileskeeeerty
This document discusses file handling in Python. It describes the need for data files and the different types of files including text files, binary files, and CSV files. It explains the basic operations for each file type, such as opening, closing, reading, and writing. Text files store data as characters, binary files store data in the same format as memory, and CSV files store tabular data separated by commas. The document also covers opening and closing files, file access modes like read, write, and append, and using absolute versus relative paths.
Data file handling in python introduction,opening & closing filesKeerty Smile
The document discusses file handling in Python. It describes the need for data files and introduces three main types of files: text files, binary files, and CSV files. It explains some basic operations for each file type, such as opening and closing files, reading and writing data, and using modules like csv. It also covers concepts like absolute and relative paths and different file access modes when opening files.
File handling in C allows storing program data in files that can be accessed later. There are two main file types: text files containing human-readable ASCII characters and binary files containing 0s and 1s in a non-human-readable format. Common file operations in C include creating, opening, writing, reading, moving within and closing files using functions like fopen(), fprintf(), fscanf(), fputc(), fgetc(), fclose(), and fseek(). A file pointer references an opened file and is required for read/write operations.
Here are the answers to the quiz questions:
1. def read_file(file_name):
lines = []
with open(file_name, 'r') as f:
for line in f:
lines.append(line)
return lines
2. def input_list():
n = int(input("Enter number of elements : "))
list1 = []
for i in range(0, n):
ele = float(input())
list1.append(ele)
return list1
def output_list(list1):
for i in list1:
print(i)
3. def display_file(filename):
with open(filename
File Management and manipulation in C++ ProgrammingChereLemma2
The document discusses file handling in C++. It covers the basics of file management including the different types of files, file streams, and the file manipulation process. The key steps in the file manipulation process are: 1) declaring a file stream object; 2) opening a file using the file stream object; 3) checking if the file opened successfully; and 4) performing read and write operations on the file. The document provides examples of writing to and reading from files in C++.
FILE HANDLING in python to understand basic operations.ssuser00ad4e
The document discusses file handling in Python. It describes how to open, read from, write to, and close files. The key points are:
- Files can be opened in read, write, append modes using the open() function, which returns a file object.
- Reading file data uses functions like read(), readline(), and readlines(). Write uses write() and writelines().
- Files must be closed using the close() method on the file object after reading or writing to release system resources.
- Text files store data as characters while binary files store exact data types. Mode 'w' overwrites, 'a' appends without overwriting existing data.
This is ppt prsented by me in class in this ppt i include file handling in which i tell us about the types of files
creation of text file in C ++ ,updating a text file in C++ , printing the inforamtion in text file .creation of binary file in C ++ ,updating a binary file in C++ , printing the inforamtion in binary file, text file function and binary file function in c++ , File ponters ,syntax of every thing and use of file pointers and many more.
This document discusses file handling in Python. It begins by explaining that files allow permanent storage of data, unlike standard input/output which is volatile. It then covers opening files in different modes, reading files line-by-line or as a whole, and modifying the file pointer position using seek(). Key points include opening files returns a file object, reading can be done line-by-line with for loops or using read()/readlines(), and seek() allows changing the file pointer location.
This document discusses file handling in C++. It begins by explaining the differences between main memory and secondary memory (files on storage devices). It then discusses C++ streams and the classes used for file input/output (ifstream, ofstream, fstream). The rest of the document covers various file operations like opening, closing, reading from and writing to files. It also discusses text files versus binary files and sequential versus random file access. File pointers and associated functions like seekg(), tellg(), seekp() and tellp() are explained for navigating within files. An example program demonstrates reading from one file and writing to another.
The document discusses file handling in C programming. It explains that file handling allows programs to store and retrieve data from files for later use, as opposed to just displaying output temporarily. It covers opening, reading from, writing to, and closing files using functions like fopen(), fprintf(), fscanf(), and fclose(). It also differentiates between text files with .txt extensions and binary files for storing different data types permanently in a file.
The document discusses file handling in C programming. It explains that file handling allows programs to store and retrieve data from files for later use, as opposed to just displaying output temporarily. It covers opening, reading from, writing to, and closing files using functions like fopen(), fprintf(), fscanf(), and fclose(). It also differentiates between text files with .txt extensions and binary files for storing different data types permanently in a file.
The document discusses JavaScript functions and the String and Math objects in JavaScript. It provides definitions and examples of:
- Functions - reusable blocks of code that can be called anywhere in a program. Functions help organize code into small, manageable parts.
- The String object - provides methods for working with and manipulating strings, like length, concat, charAt, indexOf, replace, toLowerCase.
- The Math object - provides common mathematical constants and functions like PI, SQRT2, abs, ceil, floor, max, without having to create the object. Examples demonstrate how to call String and Math methods and properties.
Strings represent sequences of characters. Common string operations include concatenation using +, checking equality using ==, membership testing using in, indexing using [], slicing using [:] and methods like lower(), upper(), replace() and count(). Strings are immutable but support various string manipulation methods.
Python is an interpreted, general purpose programming language that can be used for both scripting and programming. It allows programmers to write code that can be executed on different platforms like Windows, Linux, and Mac OS X. Python code is portable and can be used for tasks like system programming, web development, data analysis, and more. Some major companies that use Python include Google, YouTube, Intel, and IBM. Python is popular due to its simple syntax, object-oriented capabilities, extensive libraries, and availability on all major platforms.
This document is a homepage for a Wikispaces classroom site called Y10ICT Home. It includes a welcome message to try Wikispaces Classroom and invites the guest user to join or get help. The homepage lists 19 wiki pages and files on topics related to ICT classes, including computer systems, networks, effects of ICT use, health and safety, new developments, ways ICT is used, document production, and worksheets.
This document is a homepage for a Wikispaces classroom site called Y10ICT Home. It includes a welcome message to try Wikispaces Classroom and invites the guest user to join or get help. The homepage lists 19 wiki pages and files within the Y10ICT classroom site covering various ICT topics like computer systems, networks, effects of ICT use, and document production.
保密服务圣地亚哥州立大学英文毕业证书影本美国成绩单圣地亚哥州立大学文凭【q微1954292140】办理圣地亚哥州立大学学位证(SDSU毕业证书)毕业证书购买【q微1954292140】帮您解决在美国圣地亚哥州立大学未毕业难题(San Diego State University)文凭购买、毕业证购买、大学文凭购买、大学毕业证购买、买文凭、日韩文凭、英国大学文凭、美国大学文凭、澳洲大学文凭、加拿大大学文凭(q微1954292140)新加坡大学文凭、新西兰大学文凭、爱尔兰文凭、西班牙文凭、德国文凭、教育部认证,买毕业证,毕业证购买,买大学文凭,购买日韩毕业证、英国大学毕业证、美国大学毕业证、澳洲大学毕业证、加拿大大学毕业证(q微1954292140)新加坡大学毕业证、新西兰大学毕业证、爱尔兰毕业证、西班牙毕业证、德国毕业证,回国证明,留信网认证,留信认证办理,学历认证。从而完成就业。圣地亚哥州立大学毕业证办理,圣地亚哥州立大学文凭办理,圣地亚哥州立大学成绩单办理和真实留信认证、留服认证、圣地亚哥州立大学学历认证。学院文凭定制,圣地亚哥州立大学原版文凭补办,扫描件文凭定做,100%文凭复刻。
特殊原因导致无法毕业,也可以联系我们帮您办理相关材料:
1:在圣地亚哥州立大学挂科了,不想读了,成绩不理想怎么办???
2:打算回国了,找工作的时候,需要提供认证《SDSU成绩单购买办理圣地亚哥州立大学毕业证书范本》【Q/WeChat:1954292140】Buy San Diego State University Diploma《正式成绩单论文没过》有文凭却得不到认证。又该怎么办???美国毕业证购买,美国文凭购买,【q微1954292140】美国文凭购买,美国文凭定制,美国文凭补办。专业在线定制美国大学文凭,定做美国本科文凭,【q微1954292140】复制美国San Diego State University completion letter。在线快速补办美国本科毕业证、硕士文凭证书,购买美国学位证、圣地亚哥州立大学Offer,美国大学文凭在线购买。
美国文凭圣地亚哥州立大学成绩单,SDSU毕业证【q微1954292140】办理美国圣地亚哥州立大学毕业证(SDSU毕业证书)【q微1954292140】录取通知书offer在线制作圣地亚哥州立大学offer/学位证毕业证书样本、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决圣地亚哥州立大学学历学位认证难题。
主营项目:
1、真实教育部国外学历学位认证《美国毕业文凭证书快速办理圣地亚哥州立大学办留服认证》【q微1954292140】《论文没过圣地亚哥州立大学正式成绩单》,教育部存档,教育部留服网站100%可查.
2、办理SDSU毕业证,改成绩单《SDSU毕业证明办理圣地亚哥州立大学成绩单购买》【Q/WeChat:1954292140】Buy San Diego State University Certificates《正式成绩单论文没过》,圣地亚哥州立大学Offer、在读证明、学生卡、信封、证明信等全套材料,从防伪到印刷,从水印到钢印烫金,高精仿度跟学校原版100%相同.
3、真实使馆认证(即留学人员回国证明),使馆存档可通过大使馆查询确认.
4、留信网认证,国家专业人才认证中心颁发入库证书,留信网存档可查.
《圣地亚哥州立大学学位证书的英文美国毕业证书办理SDSU办理学历认证书》【q微1954292140】学位证1:1完美还原海外各大学毕业材料上的工艺:水印,阴影底纹,钢印LOGO烫金烫银,LOGO烫金烫银复合重叠。文字图案浮雕、激光镭射、紫外荧光、温感、复印防伪等防伪工艺。
高仿真还原美国文凭证书和外壳,定制美国圣地亚哥州立大学成绩单和信封。毕业证网上可查学历信息SDSU毕业证【q微1954292140】办理美国圣地亚哥州立大学毕业证(SDSU毕业证书)【q微1954292140】学历认证生成授权声明圣地亚哥州立大学offer/学位证文凭购买、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决圣地亚哥州立大学学历学位认证难题。
圣地亚哥州立大学offer/学位证、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作【q微1954292140】Buy San Diego State University Diploma购买美国毕业证,购买英国毕业证,购买澳洲毕业证,购买加拿大毕业证,以及德国毕业证,购买法国毕业证(q微1954292140)购买荷兰毕业证、购买瑞士毕业证、购买日本毕业证、购买韩国毕业证、购买新西兰毕业证、购买新加坡毕业证、购买西班牙毕业证、购买马来西亚毕业证等。包括了本科毕业证,硕士毕业证。
AI ------------------------------ W1L2.pptxAyeshaJalil6
This lecture provides a foundational understanding of Artificial Intelligence (AI), exploring its history, core concepts, and real-world applications. Students will learn about intelligent agents, machine learning, neural networks, natural language processing, and robotics. The lecture also covers ethical concerns and the future impact of AI on various industries. Designed for beginners, it uses simple language, engaging examples, and interactive discussions to make AI concepts accessible and exciting.
By the end of this lecture, students will have a clear understanding of what AI is, how it works, and where it's headed.
The fifth talk at Process Mining Camp was given by Olga Gazina and Daniel Cathala from Euroclear. As a data analyst at the internal audit department Olga helped Daniel, IT Manager, to make his life at the end of the year a bit easier by using process mining to identify key risks.
She applied process mining to the process from development to release at the Component and Data Management IT division. It looks like a simple process at first, but Daniel explains that it becomes increasingly complex when considering that multiple configurations and versions are developed, tested and released. It becomes even more complex as the projects affecting these releases are running in parallel. And on top of that, each project often impacts multiple versions and releases.
After Olga obtained the data for this process, she quickly realized that she had many candidates for the caseID, timestamp and activity. She had to find a perspective of the process that was on the right level, so that it could be recognized by the process owners. In her talk she takes us through her journey step by step and shows the challenges she encountered in each iteration. In the end, she was able to find the visualization that was hidden in the minds of the business experts.
Niyi started with process mining on a cold winter morning in January 2017, when he received an email from a colleague telling him about process mining. In his talk, he shared his process mining journey and the five lessons they have learned so far.
保密服务多伦多都会大学英文毕业证书影本加拿大成绩单多伦多都会大学文凭【q微1954292140】办理多伦多都会大学学位证(TMU毕业证书)成绩单VOID底纹防伪【q微1954292140】帮您解决在加拿大多伦多都会大学未毕业难题(Toronto Metropolitan University)文凭购买、毕业证购买、大学文凭购买、大学毕业证购买、买文凭、日韩文凭、英国大学文凭、美国大学文凭、澳洲大学文凭、加拿大大学文凭(q微1954292140)新加坡大学文凭、新西兰大学文凭、爱尔兰文凭、西班牙文凭、德国文凭、教育部认证,买毕业证,毕业证购买,买大学文凭,购买日韩毕业证、英国大学毕业证、美国大学毕业证、澳洲大学毕业证、加拿大大学毕业证(q微1954292140)新加坡大学毕业证、新西兰大学毕业证、爱尔兰毕业证、西班牙毕业证、德国毕业证,回国证明,留信网认证,留信认证办理,学历认证。从而完成就业。多伦多都会大学毕业证办理,多伦多都会大学文凭办理,多伦多都会大学成绩单办理和真实留信认证、留服认证、多伦多都会大学学历认证。学院文凭定制,多伦多都会大学原版文凭补办,扫描件文凭定做,100%文凭复刻。
特殊原因导致无法毕业,也可以联系我们帮您办理相关材料:
1:在多伦多都会大学挂科了,不想读了,成绩不理想怎么办???
2:打算回国了,找工作的时候,需要提供认证《TMU成绩单购买办理多伦多都会大学毕业证书范本》【Q/WeChat:1954292140】Buy Toronto Metropolitan University Diploma《正式成绩单论文没过》有文凭却得不到认证。又该怎么办???加拿大毕业证购买,加拿大文凭购买,【q微1954292140】加拿大文凭购买,加拿大文凭定制,加拿大文凭补办。专业在线定制加拿大大学文凭,定做加拿大本科文凭,【q微1954292140】复制加拿大Toronto Metropolitan University completion letter。在线快速补办加拿大本科毕业证、硕士文凭证书,购买加拿大学位证、多伦多都会大学Offer,加拿大大学文凭在线购买。
加拿大文凭多伦多都会大学成绩单,TMU毕业证【q微1954292140】办理加拿大多伦多都会大学毕业证(TMU毕业证书)【q微1954292140】学位证书电子图在线定制服务多伦多都会大学offer/学位证offer办理、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决多伦多都会大学学历学位认证难题。
主营项目:
1、真实教育部国外学历学位认证《加拿大毕业文凭证书快速办理多伦多都会大学毕业证书不见了怎么办》【q微1954292140】《论文没过多伦多都会大学正式成绩单》,教育部存档,教育部留服网站100%可查.
2、办理TMU毕业证,改成绩单《TMU毕业证明办理多伦多都会大学学历认证定制》【Q/WeChat:1954292140】Buy Toronto Metropolitan University Certificates《正式成绩单论文没过》,多伦多都会大学Offer、在读证明、学生卡、信封、证明信等全套材料,从防伪到印刷,从水印到钢印烫金,高精仿度跟学校原版100%相同.
3、真实使馆认证(即留学人员回国证明),使馆存档可通过大使馆查询确认.
4、留信网认证,国家专业人才认证中心颁发入库证书,留信网存档可查.
《多伦多都会大学学位证购买加拿大毕业证书办理TMU假学历认证》【q微1954292140】学位证1:1完美还原海外各大学毕业材料上的工艺:水印,阴影底纹,钢印LOGO烫金烫银,LOGO烫金烫银复合重叠。文字图案浮雕、激光镭射、紫外荧光、温感、复印防伪等防伪工艺。
高仿真还原加拿大文凭证书和外壳,定制加拿大多伦多都会大学成绩单和信封。学历认证证书电子版TMU毕业证【q微1954292140】办理加拿大多伦多都会大学毕业证(TMU毕业证书)【q微1954292140】毕业证书样本多伦多都会大学offer/学位证学历本科证书、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作。帮你解决多伦多都会大学学历学位认证难题。
多伦多都会大学offer/学位证、留信官方学历认证(永久存档真实可查)采用学校原版纸张、特殊工艺完全按照原版一比一制作【q微1954292140】Buy Toronto Metropolitan University Diploma购买美国毕业证,购买英国毕业证,购买澳洲毕业证,购买加拿大毕业证,以及德国毕业证,购买法国毕业证(q微1954292140)购买荷兰毕业证、购买瑞士毕业证、购买日本毕业证、购买韩国毕业证、购买新西兰毕业证、购买新加坡毕业证、购买西班牙毕业证、购买马来西亚毕业证等。包括了本科毕业证,硕士毕业证。
The fourth speaker at Process Mining Camp 2018 was Wim Kouwenhoven from the City of Amsterdam. Amsterdam is well-known as the capital of the Netherlands and the City of Amsterdam is the municipality defining and governing local policies. Wim is a program manager responsible for improving and controlling the financial function.
A new way of doing things requires a different approach. While introducing process mining they used a five-step approach:
Step 1: Awareness
Introducing process mining is a little bit different in every organization. You need to fit something new to the context, or even create the context. At the City of Amsterdam, the key stakeholders in the financial and process improvement department were invited to join a workshop to learn what process mining is and to discuss what it could do for Amsterdam.
Step 2: Learn
As Wim put it, at the City of Amsterdam they are very good at thinking about something and creating plans, thinking about it a bit more, and then redesigning the plan and talking about it a bit more. So, they deliberately created a very small plan to quickly start experimenting with process mining in small pilot. The scope of the initial project was to analyze the Purchase-to-Pay process for one department covering four teams. As a result, they were able show that they were able to answer five key questions and got appetite for more.
Step 3: Plan
During the learning phase they only planned for the goals and approach of the pilot, without carving the objectives for the whole organization in stone. As the appetite was growing, more stakeholders were involved to plan for a broader adoption of process mining. While there was interest in process mining in the broader organization, they decided to keep focusing on making process mining a success in their financial department.
Step 4: Act
After the planning they started to strengthen the commitment. The director for the financial department took ownership and created time and support for the employees, team leaders, managers and directors. They started to develop the process mining capability by organizing training sessions for the teams and internal audit. After the training, they applied process mining in practice by deepening their analysis of the pilot by looking at e-invoicing, deleted invoices, analyzing the process by supplier, looking at new opportunities for audit, etc. As a result, the lead time for invoices was decreased by 8 days by preventing rework and by making the approval process more efficient. Even more important, they could further strengthen the commitment by convincing the stakeholders of the value.
Step 5: Act again
After convincing the stakeholders of the value you need to consolidate the success by acting again. Therefore, a team of process mining analysts was created to be able to meet the demand and sustain the success. Furthermore, new experiments were started to see how process mining could be used in three audits in 2018.
Ann Naser Nabil- Data Scientist Portfolio.pdfআন্ নাসের নাবিল
I am a data scientist with a strong foundation in economics and a deep passion for AI-driven problem-solving. My academic journey includes a B.Sc. in Economics from Jahangirnagar University and a year of Physics study at Shahjalal University of Science and Technology, providing me with a solid interdisciplinary background and a sharp analytical mindset.
I have practical experience in developing and deploying machine learning and deep learning models across a range of real-world applications. Key projects include:
AI-Powered Disease Prediction & Drug Recommendation System – Deployed on Render, delivering real-time health insights through predictive analytics.
Mood-Based Movie Recommendation Engine – Uses genre preferences, sentiment, and user behavior to generate personalized film suggestions.
Medical Image Segmentation with GANs (Ongoing) – Developing generative adversarial models for cancer and tumor detection in radiology.
In addition, I have developed three Python packages focused on:
Data Visualization
Preprocessing Pipelines
Automated Benchmarking of Machine Learning Models
My technical toolkit includes Python, NumPy, Pandas, Scikit-learn, TensorFlow, Keras, Matplotlib, and Seaborn. I am also proficient in feature engineering, model optimization, and storytelling with data.
Beyond data science, my background as a freelance writer for Earki and Prothom Alo has refined my ability to communicate complex technical ideas to diverse audiences.
The third speaker at Process Mining Camp 2018 was Dinesh Das from Microsoft. Dinesh Das is the Data Science manager in Microsoft’s Core Services Engineering and Operations organization.
Machine learning and cognitive solutions give opportunities to reimagine digital processes every day. This goes beyond translating the process mining insights into improvements and into controlling the processes in real-time and being able to act on this with advanced analytics on future scenarios.
Dinesh sees process mining as a silver bullet to achieve this and he shared his learnings and experiences based on the proof of concept on the global trade process. This process from order to delivery is a collaboration between Microsoft and the distribution partners in the supply chain. Data of each transaction was captured and process mining was applied to understand the process and capture the business rules (for example setting the benchmark for the service level agreement). These business rules can then be operationalized as continuous measure fulfillment and create triggers to act using machine learning and AI.
Using the process mining insight, the main variants are translated into Visio process maps for monitoring. The tracking of the performance of this process happens in real-time to see when cases become too late. The next step is to predict in what situations cases are too late and to find alternative routes.
As an example, Dinesh showed how machine learning could be used in this scenario. A TradeChatBot was developed based on machine learning to answer questions about the process. Dinesh showed a demo of the bot that was able to answer questions about the process by chat interactions. For example: “Which cases need to be handled today or require special care as they are expected to be too late?”. In addition to the insights from the monitoring business rules, the bot was also able to answer questions about the expected sequences of particular cases. In order for the bot to answer these questions, the result of the process mining analysis was used as a basis for machine learning.
indonesia-gen-z-report-2024 Gen Z (born between 1997 and 2012) is currently t...disnakertransjabarda
Gen Z (born between 1997 and 2012) is currently the biggest generation group in Indonesia with 27.94% of the total population or. 74.93 million people.
2. VKS-LEARNING HUB
In all the programs we have seen so far, the data provided to a Python program was
through the command line and it is not saved.
If a program has to be run again, the user must again input data.
Similarly, the output of a program appears on the computer screen but is not
saved anywhere permanently.
In practical programming it is necessary to provide data to a program from a file, and
save the output data into a file. The output data may be required for further processing.
A file is a collection of data.
This data may be, for example,
students’ data (Roll No, Name, Address, Tel No, Grades,...),
employee data (EmpID, Name, Dept, Designation, Salary…), etc.
A file could also be used to store a picture audio, video, etc.
Concept of File:
3. VKS-LEARNING HUB
When a program needs to save data for later
use, it writes the data in a file. The data can be
read from the file at a later time.
What is a file?
A file is a sequence of bytes on the disk/permanent
storage where a group of related data is stored. File is
created for permanent storage of data.
4. VKS-LEARNING HUB
7-4
Saving data in a file = “writing data to” the file
Output file = file that data is written to
Retrieving data from a file = “reading data from” the file
Input file = file that data is read from
File Access Methods
Two ways to access data stored in files:
• Sequential Access - access data from the beginning
of the file to the end of the
file
• Direct (random) Access- directly access any piece of
data in the file without
reading the data that
Terms
5. VKS-LEARNING HUB
Types of Files:
(i) Text files - A file whose contents can be viewed using a
text editor is called a text file. A text file is simply a
sequence of ASCII or Unicode characters. Python
programs, contents written in text editors are some of the
example of text files.
(ii) Binary files- A binary file stores the data in the same
way as as stored in the memory. The .exe files,mp3 file,
image files, word documents are some of the examples of
binary files.we can’t read a binary file using a text editor.
6. VKS-LEARNING HUB
Text file Binary file
Its Bits represent character. Its Bits represent custom Data
Store only plain text in a file. Can store different types of data (audio,
text, image) in a single file
Widely used file format and can be
opened in any text editor.
Developed for an application and can be
opened in that application only.
Mostly .txt and .rtf are used as extensions
to text files.
Can have any application defined
extension.
Text file is human readable because
everything is stored in terms of text.
In binary file everything is written in
terms of 0 and 1, therefore binary file is
not human readable.
Newline(‘n’) & EOF character conversion
takes place
No such character conversion take place
7. VKS-LEARNING HUB
File handling in Python enables us to create, update,
read, and delete the files stored on the file system
through our python program.
When we want to read from or write to a file we need
to open it first. When we are done, it needs to be
closed, so that resources that are tied with the file are
freed.
Hence, in Python, a file operation takes place in the
following order.
1.Open a file
2.Read or write (perform operation)
3.Close the file
8. VKS-LEARNING HUB
Opening
To create any new file then too it must be opened.
On opening of any file ,a file relevant structure is created in memory as well as
memory space is created to store contents.
Closing
Once we are done working with the file, we should close the file.
Closing a file releases valuable system resources.
In case we forgot to close the file, Python automatically close the file when
program ends or file object is no longer referenced in the program.
However, if our program is large and we are reading or writing multiple files that
can take significant amount of resource on the system.
If we keep opening new files carelessly, we could run out of resources. So be a
good programmer , close the file as soon as all task are done with it.
Opening and Closing Files
9. VKS-LEARNING HUB
Buffer: transfer of data between RAM and backing storage cannot be
done directly because application (program) has no clue about the backing
storage. It is the OS (Operating System) that controls the backing storage.
Hence the solution is to create a temporary storage in the RAM called
buffer to transfer data between RAM and backing storage.
Writing into a file: data from the variable(s) located in the RAM to be transferred to the
buffer by the Python Program (or any application / program) and data from the buffer to
be transferred to the file located in the backing storage by the OS (Operating System).
Reading from a file: data from file(s) located in the backing storage to be transferred to
the buffer by the OS (Operating System) and data from buffer to be transferred to the
variable(s) located in the RAM by the Python Program (or any application / program).
10. VKS-LEARNING HUB
Opening a File
General format:
file_variable = open(filename, mode, buffering)
file_variable is the name of the variable that will reference the file object
filename is a string specifying the name of the file
mode is a string specifying the mode (reading, writing, etc.)
Buffering = for no buffering set it to 0.for line buffering set it to 1.if it is
greater than 1 ,then it is buffer size. if it is negative then buffer size is
system default
Python has a built-in function open() to open a file. This function returns a
file object, also called a handle, as it is used to read or modify the file
accordingly. It also create a file if file doesn't exist in write mode
11. VKS-LEARNING HUB
Python File Modes
Mode Description
'r' Open a file for reading. (default)
'w'
Open a file for writing. Creates a new file if it does not exist or
truncates the file if it exists.
'a' Open for appending at the end of the file without truncating it. Creates
a new file if it does not exist.
't' Open in text mode. (default)
'b' Open in binary mode.
'+' Open a file for updating (reading and writing)
'x' Open a file for exclusive creation. If the file already exists, the
operation fails.
f = open("test.txt") # equivalent to 'r' or 'rt’
f = open("test.txt",'w') # write in text mode
f = open("img.bmp",'r+b') # read and write in binary mode
12. VKS-LEARNING HUB
The file object attributes:
Once a file is opened and you have one file object, you can get various
information related to that file.
Attribute Description
file.closed Returns true if file is closed, false otherwise.
file.mode Returns access mode with which file was opened.
file.name Returns name of the file.
File.encoding Encoding used for byte string conversion
13. VKS-LEARNING HUB
7-13
Writing Data to a File
The built-in write() function is used to write data to the file in
the form of string. It does return value of int type which is
the length of string written. Due to buffering, the string may
not actually show up in the file until the flush() or close()
method is called.
The general syntax of write() is:
file_varaible.write(string)
• file_variable – variable that references a file
object
• write - file object used to write data to a file
• string - string that will be written to the file
15. VKS-LEARNING HUB
7-15
Writing Data to a File
The file object writelines() method used to write a list of
string or iterable to a file.
The general syntax of writelines() is:
file_varaible.writelines(list)
• file_variable – variable that references a file
object
• writelines - file object method used to write data
to a file
• list - List of Strings
17. VKS-LEARNING HUB
File1 = open("filename")
opens the given file for reading, and returns a file object
File1.read() - file's entire contents as a
string
File1.readline() - next line from file as a string
FIle1.readlines() - file's contents as a list of
lines
the lines from a file object can also be read using a for
loop
There are four techniques for reading a file and all these
techniques work by starting at the current file cursor.
Techniques for Reading Files
18. VKS-LEARNING HUB
1. Using read() method
This techniques is used to:
(i) Read the contents of a file into a single string, or
(ii) To specify exactly how many characters to read.
This reads the entire file from the current cursor location to the end
of the file, and then moves the cursor to the end of the file.
To read the contents of the file into a single string, we use the followi
ng syntax:
<string variable>= <file variable>.read()
19. VKS-LEARNING HUB
2. Using readlines([size]) method
This technique is used to read each lineof a text file and store it in a
separatestring in a list. After reading the lines, the cursor moves to the
end of the file.
Each line ends with the newline character ‘n’ is a part of string.
To read the contents of the file into a single string, we use the following synt
ax:
<string variable>= <file variable>.readlines([size])
20. VKS-LEARNING HUB
3. Using readline([size]) method
Read no of characters from file if size is mentioned till
Otherwise reads till new line character.
returns empty string on EOF.
This technique is used to read one lineof a text file including the newline character
To read the contents of the single line, we use the following syntax:
<string variable>= <file variable>.readline([size])
21. VKS-LEARNING HUB
This techniques is used to carry out the same action on each line of a file.
4. Using for x in file loop method
• A file handle open for read can be treated as a sequence of strings where
each line in the file is a string in the sequence
• We can use the for statement to iterate through a sequence