Skip to content
Sign UpLog In
Profile icon

J I

@JeremyIrwin
Repls
Community
JeremyIrwin
JeremyIrwin
shared a Post
1 year ago
Auto clicker
is there (or can I make) an autoc clicker that automatically clicks the mouse even when I leave the tab?
TheDNAHero
TheDNAHero
Just have a setInterval the starts once you buy something. It will run until you close the tab. You can make use of localStorage to save dates and stuff to in theory do that, and to continue to use the autoclicker. It wouldn't be too hard.1 year ago
JeremyIrwin
JeremyIrwin
shared a Post
2 years ago
it's saying File "main.py", line 93 global magicmarp_pool ^ SyntaxError: name 'magicmarp_pool' is parameter and global
NotPokemon
Python
Coder100
Coder100
You are using a variable that is already a parameter! Look at the line 92: def init(self, chance, level, fighting, magicmarp_pool): so please rename the variable on line 93 and 94, or just remove the argument on line 92 entirely. Also, on lines 95 to 97 you indented when you should have unindented2 years ago
Geocube101
Geocube101
Variables cannot be both global and a function parameter (which is local) If you would like it to be global then remove the function parameter, though if you need it to be a function parameter (local) then remove the global declaration on line 932 years ago
JeremyIrwin
JeremyIrwin
shared a Post
2 years ago
Line 101 in main.py I want to call a move in moves.py and I don't know how to do that thanks!
NotPokemon
Python
SixBeeps
SixBeeps
You'll have to import the file along with any of its functions. Like this: from moves import * # Imports everything from moves.py Me when it is a Wednesday while(True): puke_fire() `2 years ago
JeremyIrwin
JeremyIrwin
shared a Post
2 years ago
near the end, it says fighting isn't defined (even though it is in a previous function), how do I link the two together? and is there something else t
NotPokemon
Python
Coder100
Coder100
Use global to define variables outside of their function, like this: def fun(): global fighting fighting = True print(fighting) # no error! `2 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
How do you do the thing (like in a hacker typer)where hen you type something it automatically inputs without needing to press enter?
CodeLongAndPros
CodeLongAndPros
In python: from getch import getch, getche() print(getch()) Note that getch() does not echo to the screen, while getche() does.3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
TATBVS There is a virus, stuff happens
Totally Accurate Virus Simulator
Python
mollthecoder
mollthecoder
Disable the timeout between the clears because it makes it look bad2 years ago
Ganesha1
Ganesha1
it's like plague inc, I like this. > make it so console is cleared every time the loop restarts3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
So, the program has a cycle threshold greater than 15, but how does that actually affect the program?
Totally Accurate Virus Simulator
Python
CodeLongAndPros
CodeLongAndPros
It means there are more than 15 possible routes through the program. If you are making a big project, ignore it. If you have a small project (< 100 lines of code), it means you need to refactor.3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
it says cycle threshold reached, I know what that means, but I don't really know how to fix it in this case
Kaiju simulator
Python
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
It crashes your computer, yeah.
crasher
Python
HarleyDyson
HarleyDyson
this wouldnt even crash xp11 months ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
It might do that -IGN
universe ending
Python
helloyanis
helloyanis
It doesnt work, here is why : Instead of year=input() Use this : year=int(input())3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
Can someone help with my quest to make ~ath an actual programming language? (from homestuck) https://www.homestuck.com/story/2002
Vandesm14
Vandesm14
What have you tried so far? We can't do your homework for you.3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
Take this quiz to find out what wig type is right for you, idunno
wig quiz
Python
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
amazing, life changing, memeable, . . . . . . . . .
kira
Python
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
This is Pythonian Bosch, a small project I made, I hope you are entertained
Pythonian Bosch
Python
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
I'm bored, so if you are bored too, ask me a question or give me a suggestion for something to make.
jamsge
jamsge
make a console animation3 years ago
Vandesm14
Vandesm14
Make a basic interpreter or a custom low-level language.3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
It's python but the keywords are typos, so yeah. . .
Python typo language
Python
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
I want to create a language like python but mainly with different keywords, and how do I do that?
Geocube101
Geocube101
I may be able to help with this as I created a transpiler like program to convert a custom language into python (which you can find here). If you have a repl (and are fine opening it up to multiplayer) then I could run you though the steps of how I made mine to help you make yours *`3 years ago
JeremyIrwin
JeremyIrwin
it's called python typo, where all keywords are typo (instead of print it's pront)3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
A cookbook in python. It only currently has 3 recipes though. I tried to add a 'random recipe' feature but it didn't work. If you want to add a recipe
Python cookbook
Python
JeremyIrwin
JeremyIrwin
If anybody wants to suggest additions, I will add them3 years ago
HackermonDev
HackermonDev
error when I put "chocolate cake"3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
You ask for a type of food sensation, and then it gives you the opposite of that. sweet-->sour, salty, bitter, savory sour-->sweet salty-->sweet bitt
RANDO/\/\ F()()|)-1
Python
JeremyIrwin
JeremyIrwin
if you want me to change the opposite of 'salty' to 'bland', ask.3 years ago
JeremyIrwin
JeremyIrwin
shared a Post
3 years ago
inspired by the life changing program by @MrEconomical , my life was changed, I was a new person! so I decided to improve their program so other lives
e version two
Python