Right, true enough.  Thanks Nathan, and thanks for the link.  PySeq looks
interesting.

On Mon, Dec 8, 2014 at 12:06 PM, Nathan Rusch <nathan_ru...@hotmail.com>
wrote:

>   I don't think you're going to be able to get the source. However,
> getFileNameList is written for very Nuke-specific purposes, and behaves
> strangely in a lot of cases. You'll probably be happier rolling your own.
>
> It doesn't recurse at all, so there's no need to use `os.walk` unless you
> want to extend its base functionality. All you really have to do to
> replicate it is categorize the results of an `os.listdir` call, and most of
> the work required there is just collapsing file sequences into single
> entities. You could probably just use something like PySeq to do that for
> you though: https://rsgalloway.github.io/pyseq/.
>
>
> -Nathan
>
>
>  *From:* Jean-Paul LeDoux <jean.paul.led...@gmail.com>
> *Sent:* Monday, December 08, 2014 11:31 AM
> *To:* nuke-python@support.thefoundry.co.uk
> *Subject:* [Nuke-python] getFileNameList source code? Equivalent out
> there?
>
>  Hello list,
>
> So I wrote an object to represent image file paths within our pipeline.  I
> initially wrote it for the nuke corner of the world, but it has broader
> applications.  Unfortunately, it leans a bit on the nuke function
> "getFileNameList" but I haven't been able to find the source code and
> suspect it's part of the compiled nuke.
>
> Is it possible to get the source code for this function?  Or is anyone
> aware of any code with similar behaviour before I put on my os.walking
> shoes?
>
> Thank you,
>
> Jean-Paul LeDoux
>
> ------------------------------
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to