Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for hoverhellâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #281999 | Initial revision | — | over 3 years ago |
Answer | — |
A: Convert .npy files in a directory to images (.png) > fastest and most efficient method (time and memory-wise) Time and memory go against each other in a simple way: amount of jobs divides the time (up to amount of cores, sans the overhead, assuming no I/O bottlenecks e.g. an SSD), and multiplies the peak memory used. > stored in a list named pa... (more) |
— | over 3 years ago |
Edit | Post #281998 | Initial revision | — | over 3 years ago |
Answer | — |
A: How do I get the error message out of a requests exception? > but I don't think I can count on that working There really doesn't seem to be a ready-to-use way to get that message (which feels like a good feature-request). While `ex.args[0].args[-1]` is indeed not robust, you could make an error-processor that uses `isinstance` + `getattr` + ... to handl... (more) |
— | over 3 years ago |