Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You have a clusterfuck of indentation messages before that. Python's error reporting, however retarded it may be, did quite a good job of telling you the origin of the error.
Maybe consider looking at the whole error output ;)
Also how did you manage to do that? I can't reproduce it. It says "Invalid syntax" on "Class" definition :D -
@vintprox Does anybody ever legitimately use REPL apart from entry grade "Python Tutorials"?
It's clearly an inferior experience. -
@3rdWorldPoison I'm python 'programmers' so by definition I'm lazy.
REPL because it means I can test ideas out stream-of-consciousness style instead of bothering with inane and useless things like following standards or good practices! -
@vintprox
It's impossible to shitpost these days. Everyone catches everything right out the gate.
Take your winnings and go. -
eo287539924y@Wisecrack I get you man. It's really tricky to use the console output as a debugging tool. I love it and I hate it. Sometimes what I do is to put the code inside a `buffer.py` file, but a last dummy statement at the end like `True`, put a break point in that dummy statement, and then run it on the debug console because it's so much better and pretty, but so much slower, and then I go back to console output, start hating it again, all in an endless cycle... until I finish the project, and the next one startsstarts... and so it will be for as long as Python exists.
-
What do your class names and variables mean? This looks like decompiled or minified code.
-
@3rdWorldPoison I'm using REPL (IPython though) for calculator stuff or testing whether something is a syntax error
-
@3rdWorldPoison
I don't know, whether Visual Studio has Python support - but if yes, you can obviously use that too. But in general, IDEs are good tools for writing and maintaining code - just don't forget to configure them to your liking.
Related Rants
For fucks sake python.
Reminder to the morons like me still using python:
Notepad++ is not a real IDE and Console output is not a real debugger.
And here we see the absolutely dogshit worthless error output of python:
Says its the fucking return line where the problem is. Besides the problem being between my fucking ears apparently, it took a fucking double take to realize I had capitalized the class keyword.
rant
ffs
python
pantsonheadretarded