Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Python beginner
Post: RE: Python beginner
(Jun-25-2018, 10:18 AM)buran Wrote: Sorry, but I would disagree. What you provide is really bad example of comments (or if you want - really good example of bad comments). Check PEP8 about inline co... |
|
Grok_It |
General Coding Help |
14 |
6,192 |
Jun-25-2018, 06:36 PM |
|
|
Thread: Ho to create a bar chart with two specific columns?
Post: RE: Ho to create a bar chart with two specific col...
Do the numbers in vote_average have ',' instead of '.'?
You should also post your errors. |
|
Grok_It |
General Coding Help |
1 |
2,358 |
Jun-24-2018, 06:16 PM |
|
|
Thread: Python beginner
Post: RE: Python beginner
(Jun-24-2018, 05:30 PM)gontajones Wrote: I completely agree with you. But maybe a beginner would read this and ask why the 'month' ('m' in my case) variable exists.
for month in range(months): ... |
|
Grok_It |
General Coding Help |
14 |
6,192 |
Jun-24-2018, 05:37 PM |
|
|
Thread: Python beginner
Post: RE: Python beginner
(Jun-24-2018, 05:08 PM)gontajones Wrote: Quote:Why on earth would you eliminate a range count in favor of a while loop?
Just to be clearer.
for month in range(months):
borrowed *= 1 + in... |
|
Grok_It |
General Coding Help |
14 |
6,192 |
Jun-24-2018, 05:27 PM |
|
|
Thread: Python beginner
Post: RE: Python beginner
(Jun-23-2018, 01:21 PM)gontajones Wrote: So...
def mortgage(borrowed, repayment, interest, time):
print(f"total left after {time} months \n")
while (time > 0):
borrowed = borrow... |
|
Grok_It |
General Coding Help |
14 |
6,192 |
Jun-24-2018, 04:55 PM |
|
|
Thread: Saving
Post: RE: Saving
(Jun-24-2018, 01:18 PM)Panda Wrote: (Jun-24-2018, 01:02 AM)Grok_It Wrote: Try this example
Thank you. This worked
Awesome, glad to hear it.
Watch out keeping pickles too long. If you change the st... |
|
Grok_It |
General Coding Help |
15 |
8,296 |
Jun-24-2018, 02:55 PM |
|
|
Thread: Saving
Post: RE: Saving
|
Grok_It |
General Coding Help |
15 |
8,296 |
Jun-24-2018, 01:02 AM |
|
|
Thread: Saving
Post: RE: Saving
Edited. I see someone recommended pickle
Try removing the brackets from control |
|
Grok_It |
General Coding Help |
15 |
8,296 |
Jun-23-2018, 11:50 PM |
|
|
Thread: Is it possible to find if Mr XXX is registered in yahhoo.fr
Post: RE: Is it possible to find if Mr XXX is registered...
In 2012 Yahoo removed their people search features. I don't believe there is a current way to track down a yahoo email address from a name. |
|
Grok_It |
Web Scraping & Web Development |
1 |
2,134 |
Jun-15-2018, 01:59 PM |
|
|
Thread: Replace null values in Json file
Post: RE: Replace null values in Json file
|
Grok_It |
General Coding Help |
11 |
30,492 |
Jun-10-2018, 06:29 PM |
|
|
Thread: Change on-screen text
Post: RE: Change on-screen text
(Jun-08-2018, 12:21 PM)Panda Wrote: (Jun-07-2018, 09:36 PM)Grok_It Wrote: Are you talking about the text in the shell or command prompt?Yes
I ask because perhaps your application has exceeded the ... |
|
Grok_It |
General Coding Help |
5 |
3,836 |
Jun-08-2018, 03:19 PM |
|
|
Thread: Change on-screen text
Post: RE: Change on-screen text
Are you talking about the text in the shell or command prompt? |
|
Grok_It |
General Coding Help |
5 |
3,836 |
Jun-07-2018, 09:36 PM |
|
|
Thread: Need help Multiprocessing with BeautifulSoup
Post: RE: Need help Multiprocessing with BeautifulSoup
(Jun-07-2018, 05:31 AM)HiImNew Wrote: Figured out a solution. For anyone interested:
# I couldn't figure out how to use global variables for multi-processes, so I just delete every returned value th... |
|
Grok_It |
Web Scraping & Web Development |
4 |
6,007 |
Jun-07-2018, 06:12 PM |
|
|
Thread: Image comparison, a more pythonic method
Post: RE: Image comparison, a more pythonic method
(Jun-07-2018, 01:55 AM)scidam Wrote: You can use numpy to do such comparison, e.g.
import numpy as np
img_a_array = np.array(img_a_pixels)
img_b_array = np.array(img_b_pixels)
difference = (img_a... |
|
Grok_It |
Data Science |
2 |
6,391 |
Jun-07-2018, 02:31 AM |
|
|
Thread: Image comparison, a more pythonic method
Post: Image comparison, a more pythonic method
I'm comparing two screenshots to determine if a kiosk is frozen.
So both images will have the exactly the same size and structure which makes it an apples to apples comparison.
I'm just wondering if t... |
|
Grok_It |
Data Science |
2 |
6,391 |
Jun-06-2018, 04:19 PM |
|
|
Thread: Function for clicking a button within a browser
Post: RE: Function for clicking a button within a browse...
I use pyautogui. It can click on anything on the screen you just need to know where it is. It can also take screenshots and find image elements. You can make images of the numbers and search for those... |
|
Grok_It |
General Coding Help |
6 |
4,480 |
Jun-06-2018, 04:08 PM |