Even easier... Share the file from Pythonista and then select the share action Import with Dropbox. (You may need to enable that action the first time.)