sdk for python example require
sdk for python example require
I want to use Python code to call the SDK of Everything 1.5. Are there any Python code examples available for this? I need to retrieve the creation time and modification time of files from the search results. Additionally, for docx documents, I also want to get the total editing time of the document. How can I do this?
Re: sdk for python example require
Please check the Python example in the SDK.
For now, please check the Everything 1.5 SDK.
You will need to request the total editing time property with:
Everything3_AddSearchPropertyRequest(EVERYTHING3_PROPERTY_ID_TOTAL_EDITING_TIME);
Enumerate results by calling:
Everything3_GetResultFullPathName(result_list,result_index,buf,sizeof(buf));
and
total_editing_time = Everything3_GetResultPropertyUINT64(result_list,result_index,EVERYTHING3_PROPERTY_ID_TOTAL_EDITING_TIME);
I don't have Python examples for the Everything 1.5 SDK yet.Additionally, for docx documents, I also want to get the total editing time of the document. How can I do this?
For now, please check the Everything 1.5 SDK.
You will need to request the total editing time property with:
Everything3_AddSearchPropertyRequest(EVERYTHING3_PROPERTY_ID_TOTAL_EDITING_TIME);
Enumerate results by calling:
Everything3_GetResultFullPathName(result_list,result_index,buf,sizeof(buf));
and
total_editing_time = Everything3_GetResultPropertyUINT64(result_list,result_index,EVERYTHING3_PROPERTY_ID_TOTAL_EDITING_TIME);