-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Python Deep Learning - Third Edition ($39.99 Value) — Free, in exchange for your Email
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 1 view
-
Python Real-World Projects ($36.99 Value) FREE eBook download offer ends Jan 2
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 3 views
-
Python for Security and Networking - Third Edition ($39.99 Value) FREE download
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 3 views
-
Python Machine Learning ($24.00 Value) eBook FREE for a Limited Time
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 2 views
-
Microsoft launches the experimental Python Editor from Excel Labs
By John Callaham,
- microsoft
- microsoft excel
- (and 4 more)
- 2 replies
- 3 views
-
Question
Gerowen
I wrote this mainly just as an exercise for myself, but also as a tool to quickly figure out how much of a load a particular power source can handle, or how big a power source I need to run a particular device, whether that be one of my CB radios, a sound system, etc.
Anyway, I just thought I would share it with you guys. I know there's websites that do the same thing, but I wrote it as an exercise for myself and thought I'd share it, and also because sometimes I'm out at somebody else's house with no internet or cell phone service, and it'd be nifty to be able to use this little program in conjunction with my multimeter to do some quick calculations.
Note: It is a python file, so you have to have Python 3 installed to run it (will probably work under Python 2 if you just delete Line 1 that specifies Python 3), and if you also happen to have the colorama library installed it'll highlight the desired output in green for you. Colorama is available in the Ubuntu package manager, or from their website. (URL is in the program) Should be cross platform across Linux, Windows, OSX, pretty much anything you can put Python on.
Link: https://dl.dropboxusercontent.com/u/6017319/Scripts/powercalc.py
Screenshot
Link to comment
Share on other sites
2 answers to this question
Recommended Posts