readme.md updated from https://stackedit.io/
This commit is contained in:
parent
be79bb4e0f
commit
e0c3aa3fb8
37
readme.md
37
readme.md
|
@ -752,7 +752,27 @@ 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
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
-->
|
Loading…
Reference in New Issue