ANN: distlib 0.3.5 released on PyPI

2022-07-14 Thread Vinay Sajip via Python-list
I've recently released version 0.3.5 of distlib on PyPI [1]. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools. The main changes in this release are as follows: * Fixed #161: Updated test case. * Fixed #164:

Re: calculate diff between dates

2022-07-14 Thread Michael F. Stemper
On 12/07/2022 07.37, נתי שטרן wrote: [snip ugly code that I'm not going to try to understand] I glad for any help There wasn't any question in your post. However, I'm going to guess that there was the implied question of "How does one find the difference between two dates?" >>> import dat

Re: Job vacancies

2022-07-14 Thread Dennis Lee Bieber
On Sun, 10 Jul 2022 18:46:26 +0300, Walid AlMasri declaimed the following: > >I would like to ask if there are any openings that suit my background? >I want to work on python either remotely or at job site Most of the regulars here are just users asking for help with the language, or pr

Fwd: ml on medical images - keras

2022-07-14 Thread נתי שטרן
-- Forwarded message - מאת: נתי שטרן ‪Date: יום א׳, 10 ביולי 2022, 13:01‬ Subject: Re: ml on medical images - keras To: Neuroimaging analysis in Python p.s. all the pictures are in PNG FORMAT ‫בתאריך יום א׳, 10 ביולי 2022 ב-13:01 מאת נתי שטרן <‪nsh...@gmail.com‬‏>:‬ > What's t

message

2022-07-14 Thread Bart Kuijer via Python-list
In the last 10 years of my working life I worked as a freelancer, as a specialist in Microsoft Access, at Interpolis-Tilburg, Rabobank-Zeist, Abn-Amro-Amsterdam and the SVB in Amstelveen, among others. From 1999 onward, I developed an accounting program in Microsoft Access for myself, Boeket,

Re: [Neuroimaging] what's the problem??????

2022-07-14 Thread Dennis Lee Bieber
On Thu, 14 Jul 2022 08:49:39 +0300, ??? declaimed the following: >Instead of numbers, I want to enter as indexes the names of the Index as >being in b variable: > labels = pd.read_csv( >"C:/Users/Administrator/Desktop/64/64/labels_64_dictionary.csv") >a=labels.to_dict() >b=a["Difumo_

what's the problem??????

2022-07-14 Thread נתי שטרן
CODE: for nii in os.listdir("c:/users/administrator/desktop/nii"): from nilearn import plotting from nilearn import datasets atlas = datasets.fetch_atlas_msdl() # Loading atlas image stored in 'maps' atlas_filename = "C:/Users/Administrator/Desktop/64/64/2mm/maps.nii.gz" #

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
Nati, I know you think you are communicating. שטרן >> I want to swap indexes of dict When you say SWAP, do you mean replace the index with something else, or swap the key and value or something entirely else? You have not shared an example of what is in your dictionary, but say it is:

Extract the space group generators from Bilbao Crystallographic Server.

2022-07-14 Thread hongy...@gmail.com
I'm trying to extract the matrix data of "ITA-Setting F d -3 m [origin 1]" listed here [1], and then building an augmented matrix for each of them by adding the last row as "[0, 0, 0, 1]". In short, the following form is the ultimate-desired result: [[[1, 0, 0, 0], [0, 1, 0, 0], [0, 0,1, 0], [

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
That is more detailed, Nati, albeit I may not still understand. You are working on a detailed project you may have some understanding of and getting stuck. But the people you ask for help do not have your info and, worse, your code seems full of blunders based on making assumptions, so readin

RE: [Neuroimaging] what's the problem??????

2022-07-14 Thread avi.e.gross
Dennis, I see Nati sent some more code without explaining again what he wants. Yes, somewhere in this stack of messages he may have said things (that we generally failed to understand) but it would be helpful to summarize WHY he sent us what he did or which lines to look at. If your suggestio

RE: ml on medical images - keras

2022-07-14 Thread avi.e.gross
Nati, You ask what the problem is in that code. I say there I absolutely NO PROBLEM for me in that code. Do you know why? Because even if I want to copy it and make sure I have all the modules it needs, I have no access to the files it opens, and no idea what the output of the images pumped i

Re: Extract the space group generators from Bilbao Crystallographic Server.

2022-07-14 Thread Dan Stromberg
It's good to include what you want to see as output, but it's important to also include what you have as input. It's also good to include what you've coded so far. It's considered good etiquette to give it a try yourself before asking the list. On Thu, Jul 14, 2022 at 1:03 PM hongy...@gmail.com

RE: Extract the space group generators from Bilbao Crystallographic Server.

2022-07-14 Thread avi.e.gross
I guess Dan, that he may not be seeing what he is working on as a list of lists of lists with each terminal sublist being of cardinality 4. Maybe Zhao could look up what methods a list object has that allow you to place additional items, such as a list of 4 numbers, at the beginning or end or in m