this post was submitted on 23 Aug 2024
0 points (50.0% liked)

Programming

0 readers
2 users here now

A magazine created for the discussion of computer programming-related topics.

Rules

Please keep submissions on topic and of high quality. No image posts, no memes, no politics. Keep the magazine focused on programming topics not general computing topics. Direct links to app demos (unrelated to programming) will be removed. No surveys.

founded 1 year ago
 

Two things are driving me mad about Python...

  1. Repeatedly getting "TabError: inconsistent use of tabs and spaces in indentation" which may have something to do with my editor...

  2. Consistently having issues installing modules. It seems to fail most of the time. I don't know if it's a homebrew thing or something else stupid I am doing.

#python #programming

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 weeks ago (1 children)

@[email protected]
Python's choice to use whitespace for blocks is an absolutely unforgivable one.

[–] [email protected] 0 points 3 weeks ago (1 children)

@atzanteol @rasterweb Indents as syntax does mean you’ll have trouble hacking at a Python script in a random text editor but it also means I have never have to worry about where I put closing brackets to try to make things look pretty.

[–] [email protected] 0 points 3 weeks ago (1 children)

@jim @atzanteol I come from the land of Perl! I seem to have more issues with white space, tabs,and spaces than I do with brackets and semicolons.

[–] [email protected] 1 points 3 weeks ago

@[email protected] @[email protected]

Yeah - braces and semicolons are simply not an issue.