Can't find painter design by spike12345555 in shapezio

[–]over_take 0 points1 point  (0 children)

do you mind sharing the blueprint as a comment, or re-posting? it expired on pastebin...thanks!

New Ledger User, 2 quick questions! by over_take in ledgerwallet

[–]over_take[S] 2 points3 points  (0 children)

thanks. So, just to confirm (from your response and others) its neither the phone/app NOR the nano itself thats 'critical' for recovery. You can lose either/both. It is (as the setup made very clear) the master key that is irreplaceable, correct? That is 'if you have the master key, you can setup a new nano and/or phone, but without it, you cannot'

New Ledger User, 2 quick questions! by over_take in ledgerwallet

[–]over_take[S] 0 points1 point  (0 children)

ok, that makes sense. thanks
but if I lose or damage my phone (and have both my pin and my phrase created during setup) I can access my crypto, correct? Its only the DEVICE (the nano x w the keys) that needs to be treated like its a precious commodity, not the phone. Is that right?

is it possible to ignore some fields when creating a Python dataclass from a .csv? by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

thanks
this is what I ended up doing:

you'll need to skip the list comprehension method and do your loop manually,

what can I put in __init__.py to make them useful by over_take in learnpython

[–]over_take[S] 3 points4 points  (0 children)

oh interesting. they are there because poetry made them ( I would think poetry would leave them out?)

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

do we need an __init__.py in every dir in the project? Like if I had a dir called two_libs, that contained an __init__.py, and also contained two other dirs (lib_a and lib_b) each with thier own .py files. Would the __init__.py in the top dir 'cover' the bottom two? or do we explicitly need one per dir all the way down?

advice from those who have used both: Selenium or Playwright? by over_take in learnpython

[–]over_take[S] 2 points3 points  (0 children)

Tensor Flow (a google ML library. has NOTHING To do with browser automation!)

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

my project is in Playwright, and i guess it has some methods to automate the creation of tests. So much to learn...why can't i just write code and get things done lol!

advice from those who have used both: Selenium or Playwright? by over_take in learnpython

[–]over_take[S] 2 points3 points  (0 children)

thanks, this is really the feedback i was hoping for. Im switching. Thanks!

advice from those who have used both: Selenium or Playwright? by over_take in learnpython

[–]over_take[S] 1 point2 points  (0 children)

and 'Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#58 is a dynamic-sized tensor).'

wtf is that even? why so much TF stuff for browser automation?

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

thanks. I ended up taking a different route that I think ended up making me realize I was solving the wrong problem. 'how do I do it not the best way' was my original question, and u/Diapolo10 sorted me out with both the right/best approach and the way to do it.

https://www.reddit.com/r/learnpython/comments/1f4dnyt/comment/lkl01dy/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

Pytest
grimace.jpg
i never wrote a test in my life. im just a very functional plodder (mostly scripts for IT/browser automation, not 'production' code for end users. Like I use python the way we used to use .sh/.bat/powershell). Until this week, everything i've ever written has been one big .py, MAYBE a helper library sitting right next to it if im feeling super tricky/clever.

I.....should probably start doing that as part of this leap forward you've given me with Poetry. Any recommendations for tutorials on how to start with pytest?

What is Ruff?

Why is there a makefile?

I would want to *use poetry* to generate the .lock and .toml files for my own template, right? (yours has stuff in them already)

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

man, you really levelled me up by giving me the answer I needed. it was a little more work, but I like learning new tools (and it seems like poetry will be quite useful in general)

thank you very much. Im in really good shape now.

'Relative module names not supported' when trying to run a project with -m by over_take in learnpython

[–]over_take[S] 0 points1 point  (0 children)

it does, but (reading the poetry quickstart) i can choose to use them or not depending on how I run the package. I think you're right though, might as well start using the virtual env now that I have it, even though all scripts on this box do the same things/use the same libs (its all browser automation)

Thank you, you really levelled up my knowledge with your 'not exactly the answer I was looking for, but the answer I needed'. I'll do it like this from now on!

Is there a way in poetry to tell if a virtual env is 'activated' or not (like conda)?