We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Files

Learn how to – Everything You Need to Know About Converting Outlook Files

Learn how to – Everything You Need to Know About Converting Outlook Files. There may be some situations when it is necessary to convert Outlook files to an image format, for example, JPG or PNG, or to a well-known PDF. This may be necessary if the document has complex formatting or when you just need …

Learn how to – Everything You Need to Know About Converting Outlook FilesRead More

Learn how to – How to use scp command to securely transfer files with examples

Learn how to – How to use scp command to securely transfer files with examples. Introduction The scp command is used to copy files and directories between one computer to another. What is valuable about this utility is the fact that it used ssh to tunnel the copying. This means that the data is encrypted …

Learn how to – How to use scp command to securely transfer files with examplesRead More

C++ : Get the list of all files in a given directory and its sub-directories using Boost & C++17

In this article we will discuss how to fetch the recursive list of all files in a given directory using Boost and C++17 FileSystem Library. Suppose we have a directory i.e. Advertisements /home/user/study/tutorials and I want list of all files in this directory and its sub directories, but also want to skip certain directory like …

C++ : Get the list of all files in a given directory and its sub-directories using Boost & C++17Read More

Python : How to get list of files in directory and sub directories

In this article we will discuss different methods to generate a list of all files in directory tree. Creating a list of files in directory and sub directories using os.listdir() Python’s os module provides a function to get the list of files or folder in a directory i.e. Advertisements os.listdir(path=’.’) It returns a list of …

Python : How to get list of files in directory and sub directoriesRead More

Python : How to move files and Directories ?

In this article we will discuss different ways to move files and directories in python. In python we have a shutil module that provides various files related operations.  To import the shutil module use following line, Advertisements import shutil It also provides functions to move files i.e. shutil.move(src, dst) It accepts source and destination path as …

Python : How to move files and Directories ?Read More

Python : How to copy files from one location to another using shutil.copy()

In this article we will discuss how to copy files from one directory to another using shutil.copy(). shutil.copy() Python’s shutil module provides a function shutil.copy() i.e. Advertisements shutil.copy(src, dst, *, follow_symlinks=True) It copies the file pointed by src to the directory pointed by dst. Parameters: Frequently Asked: Python : How to remove files by matching …

Python : How to copy files from one location to another using shutil.copy()Read More

Python : How to remove files by matching pattern | wildcards | certain extensions only ?

In this article we will discuss how to delete few files from a directory based on matching pattern or wildcard. Suppose we have a directory that contains some log files and some text files and we want to delete all .txt files from that directory i.e. files that ends with string “.txt”. Let’s discuss how …

Python : How to remove files by matching pattern | wildcards | certain extensions only ?Read More

Python: How to unzip a file | Extract Single, multiple or all files from a ZIP archive

In this article we will discuss different ways to unzip or extract single, multiple or all files from zip archive to current or different directory. In Python’s zipfile module, ZipFile class provides a member function to extract all the contents from a ZIP archive, Advertisements ZipFile.extractall(path=None, members=None, pwd=None) It accepts following arguments : path : …

Python: How to unzip a file | Extract Single, multiple or all files from a ZIP archiveRead More

Python: How to create a zip archive from multiple files or Directory

In this article we will discuss how to create a zip archive from selected files or files from a directory based on filters. Python’s zipfile module provides a ZipFile class for zip file related stuff. Let’s use this to create a zip archive file. Advertisements First import the class from module i.e. from zipfile import …

Python: How to create a zip archive from multiple files or DirectoryRead More

Cart

Your Cart is Empty

Back To Shop