Giter VIP home page Giter VIP logo

pddgnimi's People

Contributors

nooblag avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

dgo2dance

pddgnimi's Issues

Build config file on first-run.

Perhaps add changes to build a config file on first run of the script. So the user is asked basic setup questions, which could also incorporate desired changes of #1 where the mailserver will be tested first, and if working, a config file built with those settings. It would be also desirable to encrypt some entries, such as SMTP password.

Maybe this would be helpful?

Script crashes if SMTP password changed.

If SMTP auth password is changed on the remote server, the script crashes because it's using the old login stored in the config file. Could add a check here to catch this condition and perhaps offer option to update config file?

files: Problem with relative paths

If script is run not in current working directory, we get stuff like:

Traceback (most recent call last):
  File "/home/n/Projects/pddgnimi/pddgnimi.py", line 146, in <module>
    style = open("style.css", "r")
FileNotFoundError: [Errno 2] No such file or directory: 'style.css'

and output.html saved wherever, etc.

Need to introduce code to either cd to where script resides, or specify its path in refs to files.

Need to refactor for virtual environment.

Currently, script does not run in virtual environment, and hence we may have issues with import versioning, etc. Should rewrite so script builds and configures virtual environment on first run, and then work out how to invoke cron inside it, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.