Logo
Explore Help
Register Sign In
admin/FearFactory
1
0
Fork 0
You've already forked FearFactory
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
7cebc21431dacb04f0f8b44f0fbc057add7edba5
FearFactory/devtools/FormatRules.py

17 lines
251 B
Python
Raw Normal View History

added dev tools folder be sure to install pyperclip You can do that by typing "pip install pyperclip" in your command line to install the pyperclip package for python
2025-05-17 14:31:35 -05:00
import pyperclip
x = ""
moved dev tools folder
2025-05-18 13:44:17 -05:00
with open("MobDimSpawningRulesInput.txt", "r") as file:
added dev tools folder be sure to install pyperclip You can do that by typing "pip install pyperclip" in your command line to install the pyperclip package for python
2025-05-17 14:31:35 -05:00
x+=file.read()
y=""
updated dev tools
2025-05-17 21:51:07 -05:00
for i in x.split('\n')[:-1]:
added dev tools folder be sure to install pyperclip You can do that by typing "pip install pyperclip" in your command line to install the pyperclip package for python
2025-05-17 14:31:35 -05:00
y += str(i.split(",").__str__())+",\n"
updated dev tools
2025-05-17 21:51:07 -05:00
y=y[:-2]
added dev tools folder be sure to install pyperclip You can do that by typing "pip install pyperclip" in your command line to install the pyperclip package for python
2025-05-17 14:31:35 -05:00
print(y)
print("data copied to clipboard")
moved dev tools folder
2025-05-18 13:44:17 -05:00
pyperclip.copy(y)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API