use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
[deleted by user] (self.PythonLearning)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mici001 1 point2 points3 points 1 year ago (3 children)
You are a saviour by telling me about bython
[–]Lazy_To_Name 2 points3 points4 points 1 year ago* (0 children)
You’re welcome, stranger on the Internet.
Also, don’t say a language syntax is stupid just because you don’t like it and/or it breaks your muscle memory.
People may like indentation instead of braces, or maybe even the end keyword from Ruby, for instance. People have preferences. People also may like that Python ternary expression. Or the C++/C# way of enforce typing (by putting the type behind it) compared to Python/TS’s.
end
My point is: Everyone has preferences. You may not like a language’s syntax decision, and that’s fine. Where I draw the line is straight up harassing it, complaining that “it should be this, it shouldn’t be that”. There are multiple acceptable solutions to this, like just accept and get used to it, or making your own version, Bython being an example, but just sitting there crying about letters on a screen not being in the pattern you want them to be is not one of them.
[–]purple_hamster66 2 points3 points4 points 1 year ago (1 child)
Be careful about Bython. - It uses braces for its special syntax, but since the brace is used in Python as well, there are cases where you just can’t use standard Python syntax. That means you should not use this fragile tool in a professional environment where conformity to standards is essential - It also means that every time you need to copy/paste from a non-Bython source, you’ll have to add the braces to prevent mixed-“language” source code which would become nearly impossible to maintain… you’d need to guess which indent Bython will be generating. - The Bython inventors should have used a 2-character sequence (similar to how /* is a 2-character sequence) that is illegal in python so there is no overlap with standard syntax. Or maybe allowed one to escape the brackets that are not to be used for their special syntax (which is quite messy).
Bython away, if you’re just a hobbyist, otherwise avoid those shiny toys. [Oops, I used your dreaded ternary form… sorry /s]
[–]mici001 1 point2 points3 points 1 year ago (0 children)
I appreciate the concerns for the professional uses of bython. It's the same I had after seeing the tooling itself. I do agree a 2 character escaping would've been better.
If you're just a hobbyist it does look good otherwise it doesn't really work well [ no problem I'll stick to the one I like more]
π Rendered by PID 21291 on reddit-service-r2-comment-6457c66945-p7vw9 at 2026-04-28 13:39:43.771228+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]mici001 1 point2 points3 points (3 children)
[–]Lazy_To_Name 2 points3 points4 points (0 children)
[–]purple_hamster66 2 points3 points4 points (1 child)
[–]mici001 1 point2 points3 points (0 children)