-
- Active Topics
-
-
- by Eli 6 hours ago Re: What is in Your Mind? View the latest post Replies 673 Views 273201
- by Eli 11 hours ago Iran Launches Retaliatory Attack Against Israel View the latest post Replies 18 Views 413
- by Eli 12 hours ago Programmatically Move Files from One Folder to Another View the latest post Replies 6 Views 1273
- by Eli 1 day ago Russia Invades Ukraine View the latest post Replies 644 Views 209940
- by Forbidden_Technology 1 day ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 312 Views 8214
- by Eli 6 days ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 33 Views 43405
- by Eli 1 week ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 216
- by Eli 1 week ago Chat With ChatGPT - An Interactive Conversational AI View the latest post Replies 22 Views 24081
- by Eli 2 weeks ago Christian Podcasts View the latest post Replies 5 Views 28583
- by Eli 2 weeks ago Pondering Big Cosmology Questions Through Lectures and Dialogues View the latest post Replies 33 Views 45316
-
Search found 4122 matches
- 6 hours ago
- Forum: OpenChat
- Topic: Re: What is in Your Mind?
- Replies: 672
- Views: 273201
- 11 hours ago
- Forum: OpenChat
- Topic: Re: What is in Your Mind?
- Replies: 672
- Views: 273201
- 11 hours ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 413
- 11 hours ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 413
- 12 hours ago
- Forum: Linux and Unix Based Operating Systems
- Topic: Programmatically Move Files from One Folder to Another
- Replies: 5
- Views: 1273
Re: Programmatically Move Files from One Folder to Another
Here is another Python code that checks a folder for .xls files and determines if they are in Excel format. If the file is not in Excel format, it deletes the file: import os import pandas as pd folder_path = 'path_to_parent_directory' for file in os.listdir(folder_path): if file.endswith('.xls'): f...
- 12 hours ago
- Forum: Linux and Unix Based Operating Systems
- Topic: Programmatically Move Files from One Folder to Another
- Replies: 5
- Views: 1273
Re: Programmatically Move Files from One Folder to Another
This code is designed to modify the file extensions from .csv to xls. It will apply this change to all .csv files located in both the parent directory and its subdirectories: import os def rename_files(path): for root, dirs, files in os.walk(path): for file in files: if file.endswith(".csv"...
- 1 day ago
- Forum: World News & Politics
- Topic: Russia Invades Ukraine
- Replies: 643
- Views: 209940
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 413
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 413
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 413