|
Going to have to 2nd that request for Eve stories. Was it something goons were doing? And I can't learn from videos alone, but I think they're good supplements for well written articles. I am a newbie but find tutorials or written lessons with "challenges" that make you implement small portions on your own the best for learning. That said I snagged the humble bundle and can't wait to dig into some of the books.
|
# ¿ May 3, 2019 06:37 |
|
|
# ¿ May 12, 2024 03:50 |
|
Do any python message board exist where people post threads with their own tutorials? Or have these all moved in to blogs or lovely website? I miss that about the old web... the discussions around the tutorials always had good info.
|
# ¿ May 3, 2019 16:04 |
|
punished milkman posted:Anyone have any package suggestions for extracting tables of data from image files (.png/.jpg) ? I tried using Tesseract/pytesseract and while it's doing a great job of detecting the text, the tabular aspect of it is totally lost and I couldn't find a straight forward path to processing tables with it. I've used Camelot with PDFs before, and it worked OK (at best), but I'm hoping to use something else this time around. Can you extract the information into a tuple and create a table in something like pandas?
|
# ¿ May 10, 2019 17:54 |
|
That is a great question. I wonder the same thing. Like when I write a program that sends an email... do I split the code that sends an email into another object? Do I write the code in a functional style and then make all of the functions a method in my class?
|
# ¿ May 28, 2019 01:45 |
|
Datacamp helped me with pandas quite a bit years ago. It's like free code camp style learning but it costs like $30 a month.
|
# ¿ Dec 14, 2021 13:54 |
|
From my quick search it looks like you can reconnect to a browser session using selenium. You'd have to get the session information from the existing Firefox window, patch it into the reconnect function and then go from there. Have you explored this yet? Not sure what is involved in getting the existing session information.
|
# ¿ Jan 1, 2022 16:06 |
|
I was looking at this: https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session it looks like an older answer, hopefully that works for what you're looking to do Edit* looks like it's doing the same thing as above
|
# ¿ Jan 1, 2022 17:33 |
|
Maybe ask them about what they think advanced python features are. That could give you a good reference point on their experience so can explore follow up questions.
|
# ¿ Feb 9, 2022 17:40 |
|
yeah just post it
|
# ¿ Feb 18, 2022 00:37 |
|
My first instinct is that NewThing can't be a subclass of Thing because the signatures are different. Hiding a required param in **kwargs is just a sneaky workaround like you've said. I'd probably inspect your input within the events loop and either feed it to Thing or NewThing depending on what it goes to.
|
# ¿ Mar 29, 2023 18:13 |
|
IMO I wouldn't change the function signature of NewThing.update() if it's going to be a subclass of Thing. Changing it means you can't use NewThing in place of Thing without changing the way things are written. NewThing wouldnt conform to the metaclass either. I'd be skeptical of using **kwargs as a way to pass in your new param1since in reality it sounds like it would be required in NewThing and its confusing to the user without it being explicit. You'd have to know how NewThing.update() works to know you actually need to pass that in. If Im understanding correctly maybe NewThing would be better off as a new type which is composed of Thing instead of inheriting it. Then I'd probably do this: SporkOfTruth posted:
Another idea is inheriting Thing and overriding update to add param1_event as a parameter with a default value of None and doing different things depending on whether param1_event is passed in or not. edit* oh boy I don't know how code snippets work a dingus fucked around with this message at 21:54 on Mar 29, 2023 |
# ¿ Mar 29, 2023 21:51 |
|
I'll also give Fluent Python a great endorsement. I read it when I was a late beginner and felt like it made me an intermediate just by how it connected so many dots. It was something I referenced often and still would if I were doing python full time. If anyone knows the same type of book for JS/TS I'm all ears!
|
# ¿ Apr 11, 2023 16:52 |
|
What do you do if a post fails? Can you retry without altering the state of the model? Will you have to start all over again? Sucks that you have to send it row-by-row. Our QA team did something similar to test a chat bot we were developing
|
# ¿ Jun 13, 2023 02:49 |
|
What does login_user() look like?
|
# ¿ Sep 2, 2023 19:47 |
|
|
# ¿ May 12, 2024 03:50 |
|
Notebooks live in their own world of bad code and data science, where you prove something out with a notebook and then you throw it away.
|
# ¿ Feb 28, 2024 00:21 |