The documentation for the Azure Machine Learning Python script module describes using a ZIP file containing code as a resource, but I don't see how to create and upload such a ZIP file in the first place.
How do get my custom Python code into Azure Machine Learning for use as a ZIP resource?
Just upload it as a dataset. Reference. (search for it, as it is not on the first page).
Reference on how to upload the dataset.