readme.md updated from https://stackedit.io/

This commit is contained in:
MikeTheWatchGuy 2019-01-17 00:11:23 -05:00
parent be79bb4e0f
commit e0c3aa3fb8
1 changed files with 24 additions and 17 deletions

View File

@ -751,11 +751,31 @@ This is a typpical call
### PopupAnimated
![ring](https://user-images.githubusercontent.com/13696193/51296743-6ee4ad00-19eb-11e9-91f5-cd8086ad1b50.gif)
The animated Popup enables you to easily display a "loading" style animation specified through a GIF file that is either stored in a file or a base64 variable.
```python
def PopupAnimated(image_source,
message=None,
background_color=None,
text_color=None,
font=None,
no_titlebar=True,
grab_anywhere=True,
keep_on_top=True,
location=(None, None),
alpha_channel=.8,
time_between_frames=0)
```
image_source - The GIF file specified as a string filename or a base64 variable
message - optional text message to be displayed under the animation
background_color - the backgrouned color to use for the window and all of the other parts of the window
font - font to use for the optional text
# Progress Meters!
We all have loops in our code. 'Isn't it joyful waiting, watching a counter scrolling past in a text window? How about one line of code to get a progress meter, that contains statistics about your code?
@ -4973,20 +4993,7 @@ Here are the steps to run that application
Install howdoi:
pip install howdoi
Test your install:
python -m howdoi howdoi.py
To run it:
Python HowDoI.py
The pip command is all there is to the setup.
The way HowDoI works is that it uses your search term to look through stack overflow posts. It finds the best answer, gets the code from the answer, and presents it as a response. It gives you the correct answer OFTEN. It's a miracle that it work SO well.
For Python questions, I simply start my query with 'Python'. Let's say you forgot how to reverse a list in Python. When you run HowDoI and ask this question, this is what you'll see.
![howdoiwithhistory](https://user-images.githubusercontent.com/13696193/45064009-5fd61180-b07f-11e8-8ead-eb0d1ff3a6be.jpg)
In the hands of a competent programmer, this tool is **amazing**. It's a must-try kind of program that has completely changed my
python -m
<!--stackedit_data:
eyJoaXN0b3J5IjpbLTM5Mjc2ODkzMiwtMTE0ODQ5MDYyM119
eyJoaXN0b3J5IjpbLTM4NTI1MjcyNSwtMTE0ODQ5MDYyM119
-->