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
8506df78fd2291b1854e55ba545af8d67ffb1512
BranchesTags
View all branches
FearFactory/1.20.1-FearFactoryTest/devtools/test.py

16 lines
245 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 = ""
with open("MobDimSpawningRules.txt", "r") as file:
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")
pyperclip.copy(y)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 25ms Template: 1ms
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