Re: NILEARN - WHY THIS CODE THROWS AN ERROR?????

2022-07-08 Thread Chris Angelico
On Sat, 9 Jul 2022 at 10:57, MRAB wrote: > > On 08/07/2022 23:20, Avi Gross via Python-list wrote: > > Nati Stern has asked several questions here, often about relatively > > technical uses of python code that many of us have never used and still is > > not providing more exact info that tends t

Re: NILEARN - WHY THIS CODE THROWS AN ERROR?????

2022-07-08 Thread MRAB
וס -Original Message- From: MRAB To: python-list@python.org Sent: Fri, Jul 8, 2022 4:47 pm Subject: Re: NILEARN - WHY THIS CODE THROWS AN ERROR? On 08/07/2022 14:06, נתי שטרן wrote: fullcode: import nilearn.plotting as plot import os,gzip,io import nibabel as nib path="C

Re: NILEARN - WHY THIS CODE THROWS AN ERROR?????

2022-07-08 Thread Avi Gross via Python-list
4:47 pm Subject: Re: NILEARN - WHY THIS CODE THROWS AN ERROR? On 08/07/2022 14:06, נתי שטרן wrote: > fullcode: > > > > import nilearn.plotting as plot > import os,gzip,io > import nibabel as nib > path="C:/users/administrator/desktop/nii" > path2="

Re: NILEARN - WHY THIS CODE THROWS AN ERROR?????

2022-07-08 Thread MRAB
On 08/07/2022 14:06, נתי שטרן wrote: fullcode: import nilearn.plotting as plot import os,gzip,io import nibabel as nib path="C:/users/administrator/desktop/nii" path2="C:/users/administrator/desktop/nii/out/" for i in os.listdir(path): if(".nii.gz" in i): pass else:

NILEARN - WHY THIS CODE THROWS AN ERROR?????

2022-07-08 Thread נתי שטרן
fullcode: import nilearn.plotting as plot import os,gzip,io import nibabel as nib path="C:/users/administrator/desktop/nii" path2="C:/users/administrator/desktop/nii/out/" for i in os.listdir(path): if(".nii.gz" in i): pass else: if(".nii" in i): img = nib.lo