Erik Cederstrand
Erik Cederstrand
No longer using this package. Closing.
I think using BytesIO is perfectly idiomatic, short and readable: ```python from io import BytesIO from sh import cat out = BytesIO() # tmp.out created as: dd if=/dev/random of=tmp.out count=100...
Thanks for the report. I cannot reproduce this, on Ubuntu 20.04. What is the output you see? Also, are you sure the tool is not printing to stderr? You can...
That redirects stdout to stderr, which is the opposite of what you want. Try `sh.blkid(_err_to_out=True)` instead. Also, does this only happen under sudo context? What happens if you run this...
I tried this on Ubuntu 22.04, python 3.10.12, sh 2.0.6, and still cannot reproduce. In your non-working case, does `output` contain the info you expected? Or is it empty?
Your script is missing the `mailbox` argument to DistinguishedFolderId. Additionally, SingleFolderQuerySet requires a full Folder object: ```python folder = SingleFolderQuerySet( account=account, folder=Folder( root=account.root, _distinguished_id=DistinguishedFolderId( id='calendar', mailbox=Mailbox(email_address=account.primary_smtp_address), ) ), ).resolve() print("folder...
You're missing the `Folder(...)` part. Try copying the script exactly as I posted it.
Hi Ram, I don't really have an opinion on whether pandas 2.0 is good or bad. I just start seeing package versions that require pandas >= 2, and if I...
I'm no longer using this package. Closing.
Nope, I'm not using an alternative package.