Python Forum
Script for automated task help - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Script for automated task help (/thread-2583.html)



Script for automated task help - darkitecture - Mar-26-2017

Hi all 

first I would like to say thank you to metulburr for putting together all those learning resources in one place, your awesome. 

I plan on writing a script which will need to retrieve jpgs from a folder and attach them to an email and send to my own email. I figured this task would be perfect for a python project. My question is were should in start. Thank you


RE: Script for automated task help - Larz60+ - Mar-26-2017

Start by drawing out a simple plan of the elementary steps that need to be done in order to accomplish your goals.
Then write code for step 1


RE: Script for automated task help - micseydel - Mar-26-2017

You should start with whatever you know you can do, or whatever is easiest fill the gaps as you go along. Listing the JPGs in a folder sounds like a good place to start.