Skip to content
Sign upLog in
Profile icon

Tyrannosaurus Rex

@Trex10
Why is it so hard to come up with ideas??? ):
  • PasswordCracker

    Cover page
    Made with Python
    Recent comments (0)
  • PogCode lang

    Cover page
    Made with Python
    Recent comments (1)
Repls
Community
Trex10
Trex10
shared a Post
1 year ago
1
why doesn't this print?
the print statement on line 40 in this code is just makin an empty line instead of printing what I want. But if I put it up onto line 33, it does prin
PogCode lang
Python
RYANTADIPARTHI
RYANTADIPARTHI
you don't seem to be using correct if statements. They seem to be getting mixed up with others.1 year ago
elipie
elipie
one reason may be: Your python code is too cluttered, a way to fix this is to actually use the lex/parse method to create a language, and it is just way much easier to understand, I tried creating a language like this and it was extremeley hard when I got to if statements, functions, so on. Another reason is maybe because there is something wrong with your elif statements other than that i do not know 1 year ago
Trex10
Trex10
shared a Post
2 years ago
1
How do I make it so that if a user clicks something on the HTML page it changes something on there? I know I can do a function event listener thingy i
MagnificentCreepyCalculator
HTML, CSS, JS
Coder100
Coder100
Html: lol Clikc js: document.getElementById("button").addEventListener("click", function() { document.getElementById("demo").innerHTML = "Paragraph changed!"; }); perhaps you need to take the time to properly learn js?2 years ago
DavidShen2
DavidShen2
You can use javascript to change the HTML. More info here: https://www.w3schools.com/jsref/prophtmlinnerhtml.asp2 years ago
Trex10
Trex10
shared a Post
2 years ago
2
This is a password cracker I made. Right now it can only solve for number passwords. (So when it asks you if you want your number in letters or num
PasswordCracker
Python
BriceClay
BriceClay
this sucks9 months ago
Trex10
Trex10
shared a Post
2 years ago
1
Hello, In this program I'm trying to make a letter run around the screen using WASD, is there any built in getch(or python/any other module) function
UltimateZealousTransformation
Python
plscodeinjava
plscodeinjava
ur a noob9 months ago
Coder100
Coder100
I would recommend using curses for this. Not only does it have getch 'built-in' (getch was actually inspired curses), you can set it on the y and x https://docs.python.org/3/library/curses.html2 years ago
Coder100
Coder100
can ya first make the variables slightly sane2 years ago
Trex10
Trex10
shared a Post
2 years ago
1
Hello, So in this program I have code that should be drawing the lime screen I made, but for some reason it just gives me a bunch of ALSA lib things a
plscodeinjava
plscodeinjava
ur a noob9 months ago
Coder100
Coder100
*Light blue screen Anyways, it's a repl.it bug in which the c binary files weren't able to be loaded correctly. No worries, just report it to bugs: https://repl.it/bugs and try putting it in a pygame repl or tkinter repl2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
maybe try putting pygame.quit() at the end, and instead of putting 0, 0. Try putting values. maybe that will work.2 years ago
Trex10
Trex10
shared a Post
2 years ago
1
Hello, I'm having trouble making images in pygame, I define the image fine, but its the screen.blit where I get stuck. I've seen some answers, but whi
plscodeinjava
plscodeinjava
nOooOb9 months ago
RYANTADIPARTHI
RYANTADIPARTHI
Solution after you import pygame, you need to add pygame.init() Then blit it. like this. import pygame pygame.init() display_width = 800 display_height = 600 gameDisplay = pygame.display.setmode((displaywidth,display_height)) pygame.display.set_caption('something') Img = pygame.image.load('something.png') gameDisplay.blit(Img, (x,y)) look here for more info. https://pythonprogramming.net/displaying-images-pygame/ That should work2 years ago