Last active
March 7, 2025 10:29
Create MPP File in Python. For details: https://kb.aspose.com/tasks/python/create-mpp-file-in-python/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aspose.tasks as tasks | |
# Create a Project file | |
mppProject = tasks.Project() | |
# Add task and sub task | |
task = mppProject.root_task.children.add("Summary1") | |
subtask = task.children.add("Subtask1") | |
# Save output MPP file | |
mppProject.save("CreateMPP.mpp", tasks.saving.SaveFileFormat.MPP) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment