josephernest

Results 138 comments of josephernest

I haven't found it yet @carandraug. Do you know if some Python libraries already interface this Zeiss microscope?

Hi @coldes Thanks for your comments! I'll definitely use 3, good idea. Question: what is the purpose of Apple specific lines (``), what does it do on Mac/iPhone? Same question...

@coldes Feel free to do a pull request with all these things, it seems useful! PS: what does `` do?

Thanks @alanjones2! I just discovered [Plotly.react](https://plotly.com/javascript/plotlyjs-function-reference/#plotlyreact) too! (BTW about "react" does Plotly/Dash use ReactJS or something like this internally to do the AJAX, or did they recode such a system...

> In the meantime, this module is a single file - I suggest just importing it into your codebase directly. Oh this is perfect, I love single-file libraries for this...

Nice version, thanks for sharing!

Thanks for your answer. > You can tell bottle to be `quiet=True` Even with `quiet=True`, then the script `pythonw test.py` still does not work: ``` import bottle app = bottle.Bottle()...

PS: the really interesting application would be to log in a file the uncaught exceptions in routes: ``` import logging, sys, traceback logging.basicConfig(filename='test.log', filemode='a', format='%(asctime)s %(levelname)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.DEBUG)...

Thanks @defnull, I read the code and I now understand that "request logging" is out of scope of bottle. Here is a nice way to do it: [python bottle always...

Thanks @defnull. The following code seems to work, is it what you were thinking about? PS: I posted a question about this here: https://stackoverflow.com/questions/74130588/redirect-python-bottle-stderr-stdout-to-logging-logger-or-more-generally-usin ``` import logging, sys logging.basicConfig(filename='test4.log', filemode='a',...