Closed DevMoore94 closed 9 years ago
Hi, Brandon, hm, I am not sure if it is really necessary to write a progress output file. But another idea would be to just send out an email notification once a ProgressBar or Percentage indicator has finished. If you like do it and don't find it to simple and boring, you are welcome to add such a feature:) -- it should be pretty straight forward using smtplib or so.
E.g., there would be an additional parameter email=None
and if the user provides an email address (string) for this argument, it will send out an email once the progress bar has finished (e.g. a separate method that will be called in the the _finish
method` if the bar has finished.
my_bar = pyprind.ProgBar(email='my_email')
And don't hurry, I am so busy right now that I probably won't even have time to look at it and merge it in the next couple of weeks! It is just such a weird month!
Cheers, Sebastian
I will defiantly implement this. Are you against using Gmail's server? If not we could create a pyprind gmail account that would be responsible for sending the emails.
I think this unfortunately wouldn't work since it should be something that respects the privacy of the user. Ideally, the user would set it up in a way that it sends an email to himself if it is possible. Or there might be special email services just for apps like this.
Not sure if this would be a useful feature or not, just something that kind of popped in my head. Let me know your thoughts.