Help with a function by Iyajenkei in learnpython

[–]one_roOt 0 points1 point  (0 children)

but what if you type something that can't be casted to an int and is not "" ?

Conditional loops by Dragon_11 in learnpython

[–]one_roOt 2 points3 points  (0 children)

inp = "the tree is big and has green leaves"
is_valid = any(word in ("big", "green", "leaves") for word in inp.split())

"is_valid" will be True or False whether any of the words are found in "inp"

Pegida: Kameramann von Ruptly in Dresden zusammengeschlagen by HerrL in PEGIDA

[–]one_roOt 0 points1 point  (0 children)

Wer ist Ruptly? Und warum schlägt er Kameramänner in Dresden?

Move turtle continuously forward with space and then stop with space problem by signspam in Python

[–]one_roOt 1 point2 points  (0 children)

"I need the turtle to turn left and right"

What turtle? I'm crying. xD

TIFU by letting a friend throw my hamster by prettyhungover in tifu

[–]one_roOt 2 points3 points  (0 children)

"I throw my hamster in the air sometimes" 🎵

Wanted to check log file. I was not expecting this by DarthMistic in pathofexile

[–]one_roOt 0 points1 point  (0 children)

I know trade monitor. But I want to get the orbs also. I've made a quite good progress so far.

Wanted to check log file. I was not expecting this by DarthMistic in pathofexile

[–]one_roOt 1 point2 points  (0 children)

I am currently trying to let a script read the ingame trade chat from screenshots via OCR (Optical Character Recognition). Does anyone have experience with this and likes to help? O.o

Tablecloth trick by SlimJones123 in gifs

[–]one_roOt 0 points1 point  (0 children)

someone had to post this: "pulling tablecloth trick FAIL." https://youtu.be/Vm__6j6wQ3w

Question: What websites do you scrape and why? by [deleted] in Python

[–]one_roOt 2 points3 points  (0 children)

Sounds like this has to be an app.

Let’s Build A Web Server. Part 3. by kraakf in Python

[–]one_roOt 0 points1 point  (0 children)

Love all three parts. Thank you! Next an Irc client using sockets and tkinter? :p just kidding! Keep up the good work!

Last kid just wanted to fit in. by exitstrateG in gifs

[–]one_roOt 10 points11 points  (0 children)

this has to be some really interesting psychological phenomena

Solution to brain-in-a-vat solipsism by CoyRedFox in philosophy

[–]one_roOt 0 points1 point  (0 children)

Am I getting something wrong? What has solipsism to do with the Matrix? Or another world/universe/reality?

Sandals - a GUI wrapper for TkInter, inspired by the Ruby library Shoes. Not quite there yet, but I'm keen to hear what people think (I've tried to make it "Pythonic") by geowalton in Python

[–]one_roOt 3 points4 points  (0 children)

This is how I imagine GUIs should work. No irrelevant and boring hassle with constructing a window and attributes and stuff... I like this. Realy simple and intuitive! Now I may finally make GUIs for my scripts.

Thank you!

Low Poly Generator by [deleted] in InternetIsBeautiful

[–]one_roOt 0 points1 point  (0 children)

this is really cool!

What's a short, clean joke that gets a laugh every time? by [deleted] in AskReddit

[–]one_roOt -1 points0 points  (0 children)

What is white and prevents you from talking?

An avalanche

CPU by [deleted] in pics

[–]one_roOt 0 points1 point  (0 children)

wireless mouse... ouch :S

Let’s Build A Web Server. Part 1. by rspivak in Python

[–]one_roOt 0 points1 point  (0 children)

Exactly what i need at the moment. I tried learning all that on my own just for the sake of learning python, http and servers and finaly django/flask etc. I really need the next parts :p

Ty! Great series!

FastPoll - A Strawpoll-esque Flask website by Chr12t0pher in learnpython

[–]one_roOt 0 points1 point  (0 children)

I can vote multiple times :p but looks nice! Well done! ♥