•2 years ago
How would I do a python typewriter? I know it would be something like a = input('blah') for i in a: print a time.sleep(0.25) But that would out
UniqueOstrich18 Here is a simple typewriter program, made in python 3: import readchar,os characters =  def refresh(): os.system("clear") string = "" string = string.join(characters) print(string) while True: char = readchar.readkey() if char == readchar.key.BACKSPACE: try: del characters[len(characters)-1] except: pass elif char == readchar.key.ENTER: characters.append("\n") else: characters.append(char) refresh() Output: image You can run it at: https://repl.i2 years ago
noodles37 are you talking about a slow print function? if so, here is a link: https://repl.it/@SilentShadowBla/slowprint2 years ago
UniqueOstrich18 You can use the readchar module to read key inputs. This does work on repl.it and is quite simple.2 years ago
Messing with some turtle! Upvote if you like it! Do in a large screen!
Python (with Turtle)
It says there is something wrong with the final output... What did I do wrong?
Formerly broken. Thanks to a bunch of helpful users its up and running! ---TIMMY--- Timmy is a simple response program. Just for fun... Thanks to: T
holylemonaple so timmi stands for something it's Talking Interface Manually Manipulated Intelligence and the manipulation process is really tiresome im sorry3 years ago
holylemonaple i had taken a break but now imma finish my version of timmy dont worry im citing you3 years ago
holylemonaple im back 3 years ago
I'm working on python, and when i say "if a == 'whatever': e = 2 The a == whatever works fine. its the e = 2 that messes up? What am I doing wron
AV4CAD0 In the repl that you have linked, it seems that you have written the following: v == 'good!' This is what is causing the error as when you assign values to variables, you need to use 1 = sign, whereas if you are checking if one value is equal to another, you need 2 equals signs (==). Additionally, in your code, you have written: if x == 'yes' or 'y': I may be wrong here, but I think that if you want to check if a value is equal to x or y (where x is your first value and y is your second), you n3 years ago
I am fairly new to python, but am working on my first big project... Would anyone like to collab? I'll accept anyone brand new to experenced! It is al
When you put in which player type you want to be the program posts all three things that you have been asigned as. I want it to asign each seperately
Normal folders' letters are black and white... the ones with the python symbol are colored how to i make the python symbol folder?
Hi guys, I'm making this "Timmy" but I have a problem... How do I make it work the second time? It works fine the first question but the second it say
scottdang You only called it once on line 52 and don't seem to have any way to loop the main() which is why you get the error. A way you can do so infinitely with no user input is to call main() inside of main(). Building on this idea, you can have a conditions at the end of the main() choose to continue or stop the main() loop via calling depending on the user-input.3 years ago
ShadedFlame Also, is anyone else brand new to python? Do you want to learn python together? I find it tricky to figure things out just by tutorials...3 years ago