absolute path to a file

Richard Damon Richard at Damon-Family.org
Sat Aug 17 11:22:45 EDT 2019


On 8/17/19 10:21 AM, Paul St George wrote:
> Yes, it is Blender and the bpy.path.abspath() works!
> And thank you also for the link to the docs. They say:
> Returns the absolute path relative to the current blend file using the
> “//” prefix.
>
> So does Blender have its own Python!!!!???

I don't think it has its own Python, but it sounds like it sort of
extends the file system, and uses a leading // for something special.
That means files that begin with // need to be processes through the
blender library and not be used directly to the OS.

-- 
Richard Damon




More information about the Python-list mailing list