While we are trying to access files via python, if there are any issue, it will raise an IOError. There are many scenarios where we can get IOError. ❑ If we attempt to open for reading a file that does not exist, it will throw an IOError.❑ If we attempt to create a file inContinue reading “Exceptions”
Tag Archives: modules
Modules
Modules are the logical unit that comprises of functions that can be reused in other multiple files. Consider module as the dll or the external files which can be referred in the file. Let’s see how to create a module. Create a new file called “modules.py” Add a function as shown below, This function justContinue reading “Modules”