Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Extract "name" from FurnitureData and Insert into "catalog_items" Arcturus Emulator
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Morohara" data-source="post: 477508" data-attributes="member: 93970"><p>I've made 2 scripts that already do what you've mentioned. all 3 use python 3.11.3</p><p></p><p>This 3rd script will rename any file starting with "xyz" to "whatever you want keep blank for nothing."</p><p></p><p>from importlib.metadata import files</p><p>import os</p><p></p><p>path = r"your file directory here."</p><p>files = []</p><p>for file_name in os.listdir (path):</p><p> if "xyz" in file_name : </p><p> old_name = file_name</p><p> new_name = file_name.replace ("put here what you want changed on each file", "remove this text if you want nothing" )</p><p> files.append (new_name)</p><p> os.rename (old_name, new_name)</p><p> print(files)</p><p></p><p>Save this file inside of the folder that you want to change and run. It will then print the file names for you to double check.</p><p></p><p><a href="https://devbest.com/threads/arc-nitro-sql-furnituredata-generators.93561/" target="_blank">https://devbest.com/threads/arc-nitro-sql-furnituredata-generators.93561/</a> Link for the other 2 scripts ive made that auto generate Furnituredata and Sql queries.</p></blockquote><p></p>
[QUOTE="Morohara, post: 477508, member: 93970"] I've made 2 scripts that already do what you've mentioned. all 3 use python 3.11.3 This 3rd script will rename any file starting with "xyz" to "whatever you want keep blank for nothing." from importlib.metadata import files import os path = r"your file directory here." files = [] for file_name in os.listdir (path): if "xyz" in file_name : old_name = file_name new_name = file_name.replace ("put here what you want changed on each file", "remove this text if you want nothing" ) files.append (new_name) os.rename (old_name, new_name) print(files) Save this file inside of the folder that you want to change and run. It will then print the file names for you to double check. [URL]https://devbest.com/threads/arc-nitro-sql-furnituredata-generators.93561/[/URL] Link for the other 2 scripts ive made that auto generate Furnituredata and Sql queries. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Extract "name" from FurnitureData and Insert into "catalog_items" Arcturus Emulator
Top