New answers tagged python-3.x
2
votes
Beginner python program to get data from string
My review will focus on the parsing logic.
months_of_year and days_of_week should be deleted. ...
2
votes
3
votes
Accepted
3
votes
Create Frame Widget with Pygame
I have just read the code and made no attempt to run it, so this is a high level overview but some things are visually obvious.
DRY (do not repeat yourself)
In function ...
2
votes
Python 3 tkinter calculator
It's a small note, but let's take this:
self.number_buttons = []
And this:
...
1
vote
Python 3 tkinter calculator
Portability
I get syntax errors due to illegal indentation:
def bind_keys(self):
"""
Binds events to keyboard button presses.
"""
The ...
3
votes
Catch the turtle - Python
Overall, this looks good! Here are my suggestions, which are a bit more specific to the turtle library than the existing review:
Use onkeypress rather than ...
0
votes
Calculate the median value of combining two sorted lists
Let's break the merging of two lists out into a function. And for fun, let's have the function return an iterator rather than eagerly working on both lists.
...
1
vote
Python project to scrape webpages and build text datasets for ML purposes
Returning None
If we look at download_text there is an opportunity.
...
Top 50 recent answers are included
Related Tags
python-3.x × 5347python × 5187
beginner × 821
performance × 643
programming-challenge × 448
algorithm × 324
object-oriented × 277
web-scraping × 205
game × 204
numpy × 177
pandas × 155
time-limit-exceeded × 144
tkinter × 140
strings × 136
reinventing-the-wheel × 106
parsing × 87
tic-tac-toe × 84
beautifulsoup × 82
console × 81
random × 80
csv × 79
file-system × 75
file × 74
mathematics × 74
hash-map × 73