Hi Dan,
I guess I wrote my question as pseudo code to be quicker (or lazier?). No, thankfully there are not 19 previous to 20.
I am using os.mkdir to create projectFolder before calling extract package. After reading your comment I did a quick test without making the folder first and you're right it does create the folder while extracting the template. But it still works the same and add the \p20 folder.
In a nutshell, I'm expecting:
X:\Projects\Project1\blankProject.aprx
but what I'm getting is:
X:\Projects\Project1\p20\blankProject.aprx
Thanks 😊