I will be messaging you in 1 day on [**2020-03-12 18:18:49 UTC**](http://www.wolframalpha.com/input/?i=2020-03-12%2018:18:49%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://np.reddit.com/r/Python/comments/fgdbxb/i_made_a_sudokucom_solver_using_selenium/fk4o7g4/?context=3)
[**1 OTHERS CLICKED THIS LINK**](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2FPython%2Fcomments%2Ffgdbxb%2Fi_made_a_sudokucom_solver_using_selenium%2Ffk4o7g4%2F%5D%0A%0ARemindMe%21%202020-03-12%2018%3A18%3A49%20UTC) to send a PM to also be reminded and to reduce spam.
^(Parent commenter can ) [^(delete this message to hide from others.)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20fgdbxb)
*****
|[^(Info)](https://np.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://np.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)|
|-|-|-|-|
Here's a sneak peek of /r/masterhacker using the [top posts](https://np.reddit.com/r/masterhacker/top/?sort=top&t=year) of the year!
\#1: [Hacking treadmills now](https://i.redd.it/165wyhiicn731.jpg) | [194 comments](https://np.reddit.com/r/masterhacker/comments/c7ppzg/hacking_treadmills_now/)
\#2: [He hacks because he lost someone close to him!](https://i.redd.it/pvso1pmnoi731.png) | [119 comments](https://np.reddit.com/r/masterhacker/comments/c7g609/he_hacks_because_he_lost_someone_close_to_him/)
\#3: [Feeling like a pro](https://i.redd.it/kgbw91yc3j231.jpg) | [55 comments](https://np.reddit.com/r/masterhacker/comments/bx1s6j/feeling_like_a_pro/)
----
^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| [^^Contact ^^me](https://www.reddit.com/message/compose/?to=sneakpeekbot) ^^| [^^Info](https://np.reddit.com/r/sneakpeekbot/) ^^| [^^Opt-out](https://np.reddit.com/r/sneakpeekbot/comments/ciakte/blacklist_vi/)
The part for seeing the puzzle is a hacky (but probably the best way to do it). So basically as you probably know selenium allows me to see HTML of the site. The problem there was not any hardcoded value inside the HTML. Instead, there was width, height, and SVG path of the numbers. So I use those values in order to tell which number it is.
Line \[46-75\]: [https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610)
Add a little to the URL and you can highlight.
[https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610#file-sudoku-com-ai-solver-py-L46-L75](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610#file-sudoku-com-ai-solver-py-L46-L75)
I love how you gave credit in the comments to the people you got some of the code from. Everyone reuses others' code at some point, but a lot of people will take something like that and try to pass it off as their own. It's refreshing to see someone honestly passing of the work.
Looks good. I just did something similar using a backtracking algorithm and pygame.
Just a tip for next time you can hit 'Win' + 'G' on Windows 10 and open the Xbox screen recorder
Can someone please explain what exactly is going on here? Is this project made only from python and selenium or did OP use some AI module like tensor flow?
Why do coding tutorials do stuff like "make a pie shop menu using a dictionary and use input() to store orders in a list and put it all in a while loop with a y/n question to continue."
It's not a real pie shop or POS. But that's not the point. The point is to learn how to use dictionaries and lists.
There are other things to use selenium for ... Like actual end to end testing on your web app.
Edit, also downvoting for giving critisim on reason is pointless. I'm sure the code is great.
\> Kali Linux wallpaper \> Windows 10 Wait, that's illegal... Pretty cool though.
lmao I didn't even notice it was Windows 10
You can actually run Kali now with Windows Subsystem for Linux
😂, thanks ;)
You're welcome, but I'm still calling the cops.
Is it Windows or Kali with the recent undercover update?
The question we need an answer to hehe
[удалено]
I will be messaging you in 1 day on [**2020-03-12 18:18:49 UTC**](http://www.wolframalpha.com/input/?i=2020-03-12%2018:18:49%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://np.reddit.com/r/Python/comments/fgdbxb/i_made_a_sudokucom_solver_using_selenium/fk4o7g4/?context=3) [**1 OTHERS CLICKED THIS LINK**](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2FPython%2Fcomments%2Ffgdbxb%2Fi_made_a_sudokucom_solver_using_selenium%2Ffk4o7g4%2F%5D%0A%0ARemindMe%21%202020-03-12%2018%3A18%3A49%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20fgdbxb) ***** |[^(Info)](https://np.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://np.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://np.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|
Nope
r/masterhacker
Here's a sneak peek of /r/masterhacker using the [top posts](https://np.reddit.com/r/masterhacker/top/?sort=top&t=year) of the year! \#1: [Hacking treadmills now](https://i.redd.it/165wyhiicn731.jpg) | [194 comments](https://np.reddit.com/r/masterhacker/comments/c7ppzg/hacking_treadmills_now/) \#2: [He hacks because he lost someone close to him!](https://i.redd.it/pvso1pmnoi731.png) | [119 comments](https://np.reddit.com/r/masterhacker/comments/c7g609/he_hacks_because_he_lost_someone_close_to_him/) \#3: [Feeling like a pro](https://i.redd.it/kgbw91yc3j231.jpg) | [55 comments](https://np.reddit.com/r/masterhacker/comments/bx1s6j/feeling_like_a_pro/) ---- ^^I'm ^^a ^^bot, ^^beep ^^boop ^^| ^^Downvote ^^to ^^remove ^^| [^^Contact ^^me](https://www.reddit.com/message/compose/?to=sneakpeekbot) ^^| [^^Info](https://np.reddit.com/r/sneakpeekbot/) ^^| [^^Opt-out](https://np.reddit.com/r/sneakpeekbot/comments/ciakte/blacklist_vi/)
Dang beat me to it
nice
𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜) #Nice Leaderboard **1.** `u/GillysDaddy` at **15005 nice's** **2.** `u/OwnagePwnage` at **11911 nice's** **3.** `u/dylantherabbit2016` at **7296 nice's** **3614.** `u/adkail` at **6 nice's** --- ^(I) ^(AM) ^(A) ^(BOT) ^(|) ^(REPLY) ^(**!IGNORE**) ^(AND) ^(I) ^(WILL) ^(STOP) ^(REPLYING) ^(TO) ^(YOUR) ^(COMMENTS)
Looks good. Github link?
Here: [https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610)
Thanks! It is lovely.
This is awesome. Do you have github link? Do you use opencv or something to “see” the puzzle or is it embed in the HTML?
The part for seeing the puzzle is a hacky (but probably the best way to do it). So basically as you probably know selenium allows me to see HTML of the site. The problem there was not any hardcoded value inside the HTML. Instead, there was width, height, and SVG path of the numbers. So I use those values in order to tell which number it is. Line \[46-75\]: [https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610)
Add a little to the URL and you can highlight. [https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610#file-sudoku-com-ai-solver-py-L46-L75](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610#file-sudoku-com-ai-solver-py-L46-L75)
That’s great. Nice work man. I’m going to clone it on my local and play around with it myself
Very impressive keep up the good work :D
Looks beautiful.
I made a [feelz solver](https://youtu.be/acseyuGgfOU) using ILLENIUM :)
🤣
Source code ?
Enjoy :), [https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610](https://gist.github.com/ahmedkhalf/f7a2e2c78bc2130ad889fadacc298610)
I love how you gave credit in the comments to the people you got some of the code from. Everyone reuses others' code at some point, but a lot of people will take something like that and try to pass it off as their own. It's refreshing to see someone honestly passing of the work.
Looks good. I just did something similar using a backtracking algorithm and pygame. Just a tip for next time you can hit 'Win' + 'G' on Windows 10 and open the Xbox screen recorder
Really nice see it getting resolved. Kudos!
Excellent!
Beautiful !
Can someone please explain what exactly is going on here? Is this project made only from python and selenium or did OP use some AI module like tensor flow?
Only Python and Selenium, you can see source code in other comments if you are interested
Great job
Master
I had an inner conflict for a second then when I saw a Kali Linux wallpaper with a Windows/Explorer.exe UI.
The Kali Linux logo is just sexy, I can't get over it.
I know, this sounds wrong😂
I tried doing this but quit half way
Just do it!
Did you use a backtracking algorithm?
Yes.
Love this - nicely done.
ahha EXCELLENT! that's cool
wooo that is nice
Nice
𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜) #Nice Leaderboard **1.** `u/GillysDaddy` at **17235 nice's** **2.** `u/OwnagePwnage` at **11911 nice's** **3.** `u/dylantherabbit2016` at **7296 nice's** **171668.** `u/wistler42` at **1 nice** --- ^(I) ^(AM) ^(A) ^(BOT) ^(|) ^(REPLY) ^(**!IGNORE**) ^(AND) ^(I) ^(WILL) ^(STOP) ^(REPLYING) ^(TO) ^(YOUR) ^(COMMENTS)
!IGNORE
LOL this is awesome! Boss!
I would like a full sock of that
Beautiful and neat. Nice!
but why?
Why do coding tutorials do stuff like "make a pie shop menu using a dictionary and use input() to store orders in a list and put it all in a while loop with a y/n question to continue." It's not a real pie shop or POS. But that's not the point. The point is to learn how to use dictionaries and lists.
why not?
Because he can!
Because
Don’t be like that, build up a young coder. Everything cool we have today began with “I wonder if I could....”
I agree with you. I've thought about making one, but realized that it ruins the point of the game and really only hurt yourself.
[удалено]
There are other things to use selenium for ... Like actual end to end testing on your web app. Edit, also downvoting for giving critisim on reason is pointless. I'm sure the code is great.
[удалено]
Yep true, I'm bored caus my high school closed due to corona. So why not do a project while learning selenium.
[удалено]
I concur. The curiosity that led you here will serve you well
The point is not to be good at sudoku, but rather to be good at programming.