Java

Dedicated to the discussion of the Java programming language a...
Jul 18, 2017 10:41
Thanks for the UML tip, I didn't know that, thank you
Jul 18, 2017 10:41
I know
Jul 18, 2017 10:41
Jul 18, 2017 10:38
I mean, I'm actually using Linux, I'm a freeware and opensource-lover :D
Jul 18, 2017 10:36
@Julo0sS lol, if it's too much, I can't do it with my brain :D ;D
Jul 18, 2017 10:35
Is there a way to make an overview of the code? Like a scheme? To understand the connections and operations in the code?
 

Android

Don't say hi. Don't ask questions. Don't have fun. Don't do an...
May 7, 2017 18:59
Too many cat pics lol ;D
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Apr 2, 2017 18:34
solved, thanks :) will google and do a looooot of research.......................
Apr 2, 2017 17:46
@AndrasDeak But as you should see, the documentation is outdated (version 2.4 whereas the uptodate version is 3.1). For example what I'm looking for is accessing the upright integer of the SURF class. -> docs.opencv.org/2.4/modules/nonfree/doc/… In my version it is not accessible with surf.upright anymore. Also SURF() changed to xfeatures2d.SURF_create().
Apr 2, 2017 16:34
Or WHERE the hell is the documentation for pyth-opencv? I have only found an outdated tutorial.
Apr 2, 2017 16:17
How do I debug a difficult problem with an undocumented api like opencv?
Mar 10, 2017 06:38
I have to program something to scan a circle code (like qr code but in a circle). What learning resources would you recommend me?
Mar 8, 2017 19:50
Why can't python print which element it means, instead of printing 'int' object
Mar 8, 2017 19:46
What's wrong?
Mar 8, 2017 19:46
I wrote print(sum(int(i) for i in pix[i, j-1])) # pix is a list -> Python responds with TypeError: 'int' object is not iterable
Mar 7, 2017 14:50
cbg
Mar 5, 2017 22:11
I'll shutdown, Thanks anyway :( :(
Mar 5, 2017 22:08
@davidism So what is this chat for? Just talking about anything besides python?
Mar 5, 2017 22:04
from selenium.common.exceptions import *
Mar 5, 2017 22:01
From this and it should run after timeout
Mar 5, 2017 22:01
selenium.common.exceptions.TimeoutException: Message: Error loading page, timed out (checkLoad)
Mar 5, 2017 21:59
?
Mar 5, 2017 21:59
except WebDriverException(TimeoutException):
TypeError: catching classes that do not inherit from BaseException is not allowed
Mar 5, 2017 21:55
after importing them?
Mar 5, 2017 21:55
ok. like except WebdriverException(Timeout): ??
Mar 5, 2017 21:52
from selenium.common.exceptions import *
Mar 5, 2017 21:52
No, oops from class I think
Mar 5, 2017 21:52
expected_conditions?
Mar 5, 2017 21:51
from selenium.webdriver.support import expected_conditions
Mar 5, 2017 21:51
I'm trying to except all selenium exceptions.^
Mar 5, 2017 21:50
No, I cannot :(
Mar 5, 2017 21:49
Can I wildcard exceptions? selenium-python.readthedocs.io/…
Mar 5, 2017 21:47
OK,thanks, the last thing I have to do is add something to the except:
Mar 5, 2017 21:43
def something: def something: etc
Mar 5, 2017 21:42
Can I do a function inside a function?
Mar 5, 2017 21:42
You're right :)
Mar 5, 2017 21:41
@Brandin I also thought about that
Mar 5, 2017 21:39
for something: try: Huge code block except: ...
Mar 5, 2017 21:39
It works, but doesn't look good
Mar 5, 2017 21:39
It should just continue
Mar 5, 2017 21:34
for i in file: run, try, print (TEST), except print "Oh, no wasn't able to print" continue endfor
Mar 5, 2017 21:33
Pseudo Code would be:
Mar 5, 2017 21:31
I mean I just want to catch an exception in a for-loop, and if this happens the loop should start from the beginning
Mar 5, 2017 21:28
@AndrasDeak what's your solution? Can you help me?
Mar 5, 2017 21:25
??
Mar 5, 2017 21:25
yes, do I have to set the whole file in a try: except: block (-> looks unclear, confusing..)
Mar 5, 2017 21:22
correct, but for the whole file
Mar 5, 2017 21:21
How can I define for the whole program what to do if it stops caused by an exception?
Mar 5, 2017 15:58
@Brandin I try to reduce the page load and internet traffic usage
Mar 5, 2017 15:54
@Brandin I give up.. It doesn't make sense.. :(