Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where does python debug output go?
#4
The object returned from get_property() is apparently a Gio.File, which is some sort of abstraction of a file.

get_path() returns nothing useful (though Google AI help said it returned a readable path). get_uri() produced the folder in the URI form file:\\\c:\.... Since I need the folder path to build full paths to files from, all I could do was remove the scheme prefix using string replace(). I'm certain that isn't the way to do it, and it definitely isn't cross platform, but I haven't found anything better yet. Would be good if there was a method something like get_readable_name(), get_fullpath() or similar, but if there is I haven't found it yet.
Reply


Messages In This Thread
RE: Where does python debug output go? - by nmw01223 - 3 hours ago

Forum Jump: