TruxtonFileIO tag
Jump to navigation
Jump to search
This creates a tag associated with this file in Truxton.
Syntax
bool tag(tag, reason);
Return value
True if the tag was associated with the file, False on failure.
Sample
import truxton
def main():
t = truxton.create()
file = t.getfileid("5ec2a123-74d6-5da7-0653-4e6800000000")
file.tag("Bomb", "Contains references to TNT")
if __name__ == "__main__":
main()