I have a code that i have made that appends a file then uploades the output of the appending to my websites database. In the code i have 2 def statements that i would like to put into modules. I was wondering if omeone could tell me a simple way to do this because i have searched online and keep finding different ways of doing it and none make sence to me. Any help will be greatly appriciated thank you.