Re: How to turn this Matlab code into python

2022-11-08 Thread Dioumacor FAYE
Merci beaucoup Christian pour le lien. Le mar. 8 nov. 2022 à 17:08, Christian Gollwitzer a écrit : > Am 08.11.22 um 09:01 schrieb Dioumacor FAYE: > >>From datenum to data_mjja=precp(:,ind_mjja); > > I think the code filters data based on calendar dates. I'd guess that > you can do that most easi

Re: What to use for finding as many syntax errors as possible.

2022-11-08 Thread Alex Hall
On Sunday, October 9, 2022 at 12:09:45 PM UTC+2, Antoon Pardon wrote: > I would like a tool that tries to find as many syntax errors as possible > in a python file. I know there is the risk of false positives when a > tool tries to recover from a syntax error and proceeds but I would > prefer th

Re: How to turn this Matlab code into python

2022-11-08 Thread Christian Gollwitzer
Am 08.11.22 um 09:01 schrieb Dioumacor FAYE: From datenum to data_mjja=precp(:,ind_mjja); I think the code filters data based on calendar dates. I'd guess that you can do that most easily with pandas. https://pandas.pydata.org/docs/user_guide/timeseries.html Christian Le lun. 7 no

Re: How to manage python shebang on mixed systems?

2022-11-08 Thread jak
Il 07/11/2022 20:41, Chris Green ha scritto: Schachner, Joseph (US) wrote: Maybe you can't do this, but I would suggest only running on the Python 3 systems. Refuse to jump through hoops for the Python 2 system. It is years out of date. Exactly! That's why I (OP) have only one system where th

Re: What's tkinter doing in \Lib\site-packages\future\moves ?

2022-11-08 Thread DFS
On 11/7/2022 10:48 PM, DFS wrote: 3.9.13 Never mind. User error - I didn't install it in the first place. -- https://mail.python.org/mailman/listinfo/python-list

VisPy 0.12 released

2022-11-08 Thread Lorenzo Gaifas
Hi all, On behalf of the vispy contributors, I'm happy to announce vispy v0.12! Here are the main highlights: - Better attenuated_mip shader for Volume visuals, which scales automatically based on contrast limits - Instanced rendering in gloo, with some examples showcasing how to use it - Allow s

Re: How to turn this Matlab code into python

2022-11-08 Thread Dioumacor FAYE
From datenum to data_mjja=precp(:,ind_mjja); Le lun. 7 nov. 2022 à 21:42, Christian Gollwitzer a écrit : > Am 07.11.22 um 18:12 schrieb Dioumacor FAYE: > > hi everyone > > I wanted to transform this matlab code into python. If anyone can help me > > please let me know. > > load /media/lpaosf/Dio