Current Events > This is by far the most annoying thing about Python

Topic List
Page List: 1
Sativa_Rose
10/06/17 9:37:38 AM
#1:


Vge1As0

It's claiming that my indentations are off where that squiggly red line is -.-
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
ooger
10/07/17 12:48:32 PM
#2:


use tab. git good.
---
"ooger is not a man, he's a phenomenon." - Helpall
... Copied to Clipboard!
Sativa_Rose
10/07/17 12:49:53 PM
#3:


Oh I ended up using the -tt thing to fix it, but still this is dumb. My least favorite thing about python is that some genius thought indentation would be better than { }, but I strongly prefer my good old { }s.
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
Deadpool_18
10/07/17 12:50:50 PM
#4:


Oh, youre a tech savvy dude. I was about to make a case for keeping pythons as chill pets.
---
We're whalers on the moon, we carry a harpoon, but there ain't no whales, so we tell tall tales, and sing our whaling tune.
... Copied to Clipboard!
ooger
10/07/17 12:50:52 PM
#5:


Then use C.
---
"ooger is not a man, he's a phenomenon." - Helpall
... Copied to Clipboard!
Sativa_Rose
10/07/17 12:51:52 PM
#6:


ooger posted...
Then use C.


I'm working on a system for my employer that is already in Python.
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
ooger
10/07/17 12:54:36 PM
#7:


I'm sure your employer appreciates you posting some of the source code online.
---
"ooger is not a man, he's a phenomenon." - Helpall
... Copied to Clipboard!
KnightofShikari
10/07/17 12:55:33 PM
#8:


what with your weird spacing though. sometimes there's a space around the '=' and sometimes not. sometimes there's a space before the ':' in the if sometimes not. make it uniform man!

and seriously have your editor make 1 tab = 4 spaces
---
... Copied to Clipboard!
Sativa_Rose
10/07/17 12:56:15 PM
#9:


Yes, I am sure you're going to reverse engineer our entire system from a tiny snippet of code mostly related to finding the difference between two timestamps and printing it out ;)
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
Sativa_Rose
10/07/17 12:57:05 PM
#10:


KnightofShikari posted...
what with your weird spacing though. sometimes there's a space around the '=' and sometimes not. sometimes there's a space before the ':' in the if sometimes not. make it uniform man!

and seriously have your editor make 1 tab = 4 spaces


I think a lot of it was that this contained code written by two different people, I never put the space before the :, that looks weird, but when it was already there I didn't change it.
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
divot1338
10/07/17 1:01:05 PM
#11:


Everyone knows that spaces are superior to tab for indenting code anyway.
---
Moustache twirling villian
https://i.imgur.com/U3lt3H4.jpg- Kerbey
... Copied to Clipboard!
Deadpool_18
10/07/17 1:06:50 PM
#12:


ooger posted...
I'm sure your employer appreciates you posting some of the source code online.


You gonna turn him in, big guy?
---
We're whalers on the moon, we carry a harpoon, but there ain't no whales, so we tell tall tales, and sing our whaling tune.
... Copied to Clipboard!
ooger
10/07/17 1:21:01 PM
#13:


Deadpool_18 posted...
ooger posted...
I'm sure your employer appreciates you posting some of the source code online.


You gonna turn him in, big guy?


Whoa there little guy. Clam it down kiddo.
---
"ooger is not a man, he's a phenomenon." - Helpall
... Copied to Clipboard!
Rexdragon125
10/07/17 1:25:58 PM
#14:


*Pukes from the syntactically significant whitespace*
... Copied to Clipboard!
Sativa_Rose
10/07/17 1:43:37 PM
#15:


Rexdragon125 posted...
*Pukes from the syntactically significant whitespace*


Don't worry, it's all pretty and fixed now :)
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
Deadpool_18
10/07/17 1:44:38 PM
#16:


ooger posted...
Deadpool_18 posted...
ooger posted...
I'm sure your employer appreciates you posting some of the source code online.


You gonna turn him in, big guy?


Whoa there little guy. Clam it down kiddo.


Youre little. Im big.
---
We're whalers on the moon, we carry a harpoon, but there ain't no whales, so we tell tall tales, and sing our whaling tune.
... Copied to Clipboard!
Sativa_Rose
10/07/17 5:06:26 PM
#17:


I finished this big thing I was working on before the end of work Friday but I guess everyone went off and had already left so I have to wait until Monday to find out what happens next
---
I may not go down in history, but I will go down on your sister.
... Copied to Clipboard!
mtkennerly
10/07/17 5:26:49 PM
#18:


If you haven't already, give PyCharm a try. It's a really nice, free IDE. It would have made your error clearer, but it also makes it really hard to do the error in the first place with smart formatting (I had to copy/paste tabs from another app to forcibly replicate the issue since it was automatically correcting): IZqhtb4

Sativa_Rose posted...
Oh I ended up using the -tt thing to fix it, but still this is dumb. My least favorite thing about python is that some genius thought indentation would be better than { }, but I strongly prefer my good old { }s.


To each their own, but I've never really understood why it's so divisive. Code with braces is gonna be indented anyway, so to me it honestly doesn't look that different most of the time.
... Copied to Clipboard!
ooger
10/07/17 7:04:57 PM
#19:


Deadpool_18 posted...
ooger posted...
Deadpool_18 posted...
ooger posted...
I'm sure your employer appreciates you posting some of the source code online.


You gonna turn him in, big guy?


Whoa there little guy. Clam it down kiddo.


Youre little. Im big.

Sure you are.
---
"ooger is not a man, he's a phenomenon." - Helpall
... Copied to Clipboard!
Topic List
Page List: 1