#๐ Cant get my python to work, keeps erroring
20 messages ยท Page 1 of 1 (latest)
@quasi field
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
!paste
#import time
#import pyautogui
#import keyboard
#import asyncio
public class test {
void static public main (String[] args) {
while (1) {
if (keyboard.is_pressed("pagedown")) {
pyautogui.keyDown("ctrl");
pyautogui.keyDown("v");
pyautogui.keyUp("v");
pyautogui.keyUp("ctrl");
pyautogui.press("enter");
time.sleep(0.5);
continue;
}
else {
continue;
}
}
}
}
why my python not work?
psvm in python, the heck?
this looks like you're trying to write py as java syntax
nah its python
I bet it isn't
then everythings wrong
Im using the kotlin lib wih the cpp wrapper in python
This is not in fact python
yeah this post is a joke
this is like some code some kid asked for help with a while back
https://paste.pythondiscord.com/47VQ
imports are python styled
classes and objects are java styled
while(1) that's illegal java syntax
and camel case 
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.