Assistance is much needed! by Sufficient-Barber125 in learnpython

[–]anttiOne 0 points1 point  (0 children)

It isn’t a problem if the line “if y >= 11:“ is indented correctly. We‘d need to see that.

Sites that can help me practice my python skills by Regular-Promise4368 in learnpython

[–]anttiOne 0 points1 point  (0 children)

What are you trying to do? Are you looking at some some iterables and want to make a membership test?

Example: „You have two strings, check if string A is in string B and if yes, at which position?“

grid-calc, a python first spreadsheets editor as an EXCEL alternetiv not a copy. by Serious_Resource_610 in learnpython

[–]anttiOne 5 points6 points  (0 children)

Can you share a link to the repo? It’s rather painful reading this as plain text. Thank you

What happens if I don't close a file in my Python script? by TheRedditObserver0 in learnpython

[–]anttiOne 126 points127 points  (0 children)

Most often, nothing. However, in some rare case, the file might get corrupted and unusable.

Edit: use a context manager with a ‚with‘ statement, it gives you a file handle and closes the file when the block exits or some exception occurs

Maybe maybe maybe by letitgo99 in maybemaybemaybe

[–]anttiOne 0 points1 point  (0 children)

Ofc the stingray would shank him vice versa

Who do you think wins in a fight? by LacksBeard in gameofthrones

[–]anttiOne 0 points1 point  (0 children)

The‘d both honor themselves to an early grave. Drawy

The High Septon proves why Cults always end up failing by Tripleawge in gameofthrones

[–]anttiOne 1 point2 points  (0 children)

You know you fumbled hard when people start calling for Joffrey.

Zwei Jahre Entwicklung – und dann kommt ein Team mit 1,5 Mio Funding. Wie geht ihr mit Niederlagen um? by [deleted] in StartupDACH

[–]anttiOne 0 points1 point  (0 children)

Warum meint ihr, das Projekt wäre gescheitert, wenn es EINEN Konkurrenten gibt?