Re: Your IDE's?

2019-08-16 Thread Hongyi Zhao
On Fri, 16 Aug 2019 16:10:51 -0700, Paul Rubin wrote: > Does Microsoft have another product that is similar to Atom? What is > it? > Just wondering. I use Emacs myself. vscode: https://code.visualstudio.com/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Your IDE's?

2019-08-16 Thread Abdur-Rahmaan Janhangeer
XD John Doe, seems like an anonymous survey. I use sublime text, with linter + anaconda exec when needed. It also has an in-built run mode if you want to use it. The main advantage for me is that it is light. I used many IDEs before settling on this one. Abdur-Rahmaan Janhangeer http://www.python

Re: absolute path to a file

2019-08-16 Thread Gregory Ewing
On Sat, Aug 17, 2019 at 2:27 AM Paul St George wrote: BUT does not work with | print('test2:',os.path.realpath(n.image.filepath))| This returns only |/image01.tif| What does n.image.filepath look like on its own? If it starts with a leading slash, then os.path.realpath will think it's alread

ANN: DIPY 1.0.0 - a historic release

2019-08-16 Thread Eleftherios Garyfallidis
We are excited to announce a new major and historic release of Diffusion Imaging in Python (DIPY). DIPY 1.0.0 is out! Please cite using the following DOI: 10.3389/fninf.2014.8 DIPY 1.0.0 (Monday, 5 August 2019) This release received contribution

Re: absolute path to a file

2019-08-16 Thread Chris Angelico
On Sat, Aug 17, 2019 at 5:28 AM Paul St George wrote: > > On 16/08/2019 18:37, Chris Angelico wrote: > > On Sat, Aug 17, 2019 at 2:27 AM Paul St George > > wrote: > >> BUT does not work with > >> | print('test2:',os.path.realpath(n.image.filepath))| > >> > >> This returns only > >> |/image01.tif

Re: absolute path to a file

2019-08-16 Thread Paul St George
On 16/08/2019 18:37, Chris Angelico wrote: On Sat, Aug 17, 2019 at 2:27 AM Paul St George wrote: BUT does not work with | print('test2:',os.path.realpath(n.image.filepath))| This returns only |/image01.tif| Notes: Chris, I only mention the extra leading slash on my Mac in case anyone wonders

Re: Re: absolute path to a file

2019-08-16 Thread Chris Angelico
On Sat, Aug 17, 2019 at 2:27 AM Paul St George wrote: > BUT does not work with > | print('test2:',os.path.realpath(n.image.filepath))| > > This returns only > |/image01.tif| > > > Notes: > Chris, I only mention the extra leading slash on my Mac in case anyone > wonders why it is there. Python puts

Re: Re: absolute path to a file

2019-08-16 Thread Paul St George
Thank you Manfred and Cameron! I think the problem may lie within syntax rather than vocabulary. The code works in one place but not where I use it in my script*. Cameron’s suggestion works when I try | print('test1:', os.path.realpath(bpy.data.filepath))| This returns: |/Users/Lion/Desktop/t

Re: Your IDE's?

2019-08-16 Thread Pankaj Jangid
Ben Finney writes: > John Doe writes: > >> What is your favorite Python IDE? > > Maybe the Atom editor will get there some day, though for now I hear > many complaints that with many plug-ins active it's just too slow when > doing the kind of complex tasks we expect of a programmer's editor like