You can get basic terms down and shyt but programming will be a chore. Programming is best learned by doing. You can't cram and know it like you can for a math test.
If they expect you to have only a week of training and do anything beyond the most simple of tasks, I would tell them that is ridiculous. If they insist, look to move on because they are setting you up for failure.
But, if you are looking to study beyond the week to improve on your skills on your own, I recommend a udemy course. I had to learn React and I'm doing a course on there now and it's pretty good.
Edit: if they want you to do scripting, that's easier. If you know how to do other scripting like powershell and bash, then it makes sense to only take a week of the most basic of python and then you can just Google anything else you need. What I would do when I had to rewrite functionality in another language, I would write it in the language I'm comfortable with and then with Google and documentation, start to refractor into the desired language. If you know bash, write it in that first and then start transforming it over to python. You will also increase your python skills as you do this as well.