Seth Miller
@Seth01Master
"Confusion is key to understanding." -me, 2020
Hello! I would like to upload my python code to Itch.io while having the output being the screen you see while playing the game. Is that possible in a
Can I convert Python Code into HTML code?
I've been wanting to turn my python code into HTML so it can run on a website without actually opening the c
Python
RYANTADIPARTHI Converting python to html won't work. Maybe embeds but not real code. they are two totally different languages.2 years ago
I've been trying to find a good limited-input-time code for python scripts and I finally got a code to work:
from threading import Timer
timeout = 5
OldWizard209 import time
mint = input("How many seconds you want to time?:")
timer = int(mint)
while (timer != 0 ):
timer=timer-1
time.sleep(1)
print(timer)
You can modify this code and add if statements as you like.2 years ago
Coder100 then just call the function?
from threading import Timer
def done():
pass # ... add your code here
timeout = 5
t = Timer(timeout, print, ["Time's up!"])
t.start()
entry = input('> ')
t.cancel()
done()
`2 years ago
I'm working on a prototype of a story game i might be making in the future, and i think it would be cool if i watched you guys code it yourselves for
Python
I just started learning python code because I originally was doing lua language. Sadly, nobody really likes lua and it's really uncommon. I can only u
AmazingMech2418 Lua is already on Repl.it. https://repl.it/languages/lua. And I saw some things about the wait command. I'm pretty sure that is an environment-specific command since I directly compiled Lua with wget and wait doesn't exist.
Here is the repl I did that in: https://repl.it/@AmazingMech2418/Lua-Test2 years ago