-
- Active Topics
-
-
- by Eli 4 hours ago Re: What is in Your Mind? View the latest post Replies 673 Views 273185
- by Eli 9 hours ago Iran Launches Retaliatory Attack Against Israel View the latest post Replies 18 Views 405
- by Eli 10 hours ago Programmatically Move Files from One Folder to Another View the latest post Replies 6 Views 1268
- by Eli 1 day ago Russia Invades Ukraine View the latest post Replies 644 Views 209912
- 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 8193
- by Eli 6 days ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 33 Views 43384
- by Eli 1 week ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 213
- by Eli 1 week ago Chat With ChatGPT - An Interactive Conversational AI View the latest post Replies 22 Views 24070
- by Eli 2 weeks ago Christian Podcasts View the latest post Replies 5 Views 28575
- by Eli 2 weeks ago Pondering Big Cosmology Questions Through Lectures and Dialogues View the latest post Replies 33 Views 45302
-
Search found 4122 matches
- 4 hours ago
- Forum: OpenChat
- Topic: Re: What is in Your Mind?
- Replies: 672
- Views: 273185
- 9 hours ago
- Forum: OpenChat
- Topic: Re: What is in Your Mind?
- Replies: 672
- Views: 273185
- 9 hours ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 405
- 9 hours ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 405
- 10 hours ago
- Forum: Linux and Unix Based Operating Systems
- Topic: Programmatically Move Files from One Folder to Another
- Replies: 5
- Views: 1268
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...
- 10 hours ago
- Forum: Linux and Unix Based Operating Systems
- Topic: Programmatically Move Files from One Folder to Another
- Replies: 5
- Views: 1268
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: 209912
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 405
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 405
- 1 day ago
- Forum: World News & Politics
- Topic: Iran Launches Retaliatory Attack Against Israel
- Replies: 17
- Views: 405