Tag: Python
Creating an array of evenly spaced values within a specified range using Python NumPy . np.arange
NumPy np.arange : np.arange is a NumPy function used to create an array of evenly spaced values within a specified…
Airflow : Mastering Dependencies in Apache Airflow: A Comprehensive Guide to Labeling
While managing tasks and dependencies in a pipeline, labeling can be a helpful approach to improve readability and maintainability. This…
Airflow : Optimizing Airflow: Efficient resource clean-up techniques and code
Airflow is an open-source platform used to programmatically author, schedule and monitor workflows. It’s known for its rich feature set,…
Python : Automating S3 Data Movement with Python and Current Date Suffix
In this article, we will create a Python script that automates the process of moving S3 data with a current…
Python : How to list all available timezones
To list all available timezones, you can use pytz library: import pytz for tz in pytz.all_timezones: print(tz) Here is the…
Python : Implementing Threads in Python [Run concurrently]
Threading is a technique in programming where tasks can be run concurrently. This is particularly useful for I/O-bound tasks, where…
Python : Search for a word in all files and subfolders with Python
In this article, we’re going to learn how to search for a particular word in all the files contained within…
Python : Navigating Inter-Server File Transfers in Unix with Python: A Hands-On Guide
In this tutorial, we’ll focus on copying a file called freshers_bkp_tbl.db from a source server to a specific location, /frehsers_in/bkp/daily/21072023/,…
Python : Unveiling the Magic of Python Decorators: A Simplified Guide
Python is a language filled with multiple rich features and one of these features is the Python decorator, a tool…
Python : Python script to find all files with a specific extension in a given folder, and do a find and replace
In this article, we will guide you through writing a Python script to find all files with a .sh extension…