sorted by: new top controversial old
[-] xurxia@mander.xyz 2 points 3 weeks ago

I have used CircuitPython in some projects, especially with my children. Python was easier for them than C. For small projects (domestic sensor, remote control car,...) there is no difference in performance. For those use cases that are more demanding and squeeze the possibilities of the SoC to the maximum, obviously, it is not worth it. Taking this into account, I think it is an alternative for many DIY projects that are being done out there

[-] xurxia@mander.xyz 1 points 6 months ago

There are free IoT cloud solutions to send and receive data and that work with MQTT protocol for this purpose.

[-] xurxia@mander.xyz 1 points 7 months ago

I don't use conda actually (I did in the past), but I think you could try:

conda shell.bash activate project0

You must see the paths and config used to activate the environment. Check all is fine.

Source: https://docs.conda.io/projects/conda/en/latest/dev-guide/deep-dives/activation.html

[-] xurxia@mander.xyz 1 points 7 months ago

What command did you use to activate project0?

[-] xurxia@mander.xyz 3 points 8 months ago

Yes, you can. Python has Email package to manage email through STMP protocol. I use it daily in my scripts. Attached link is a tutorial of Real Python:

https://realpython.com/python-send-email/

[-] xurxia@mander.xyz 2 points 9 months ago

Yes, the idea is use in the future Output.status as a way to route to different pages depending of the model result. For example, when /list endpoint is called I could return 1 to show the feed list, and 2 to render a page with a message and suggestions when the feed list is empty. The same with negative numbers but for errors.

10
submitted 9 months ago by xurxia@mander.xyz to c/python@programming.dev

I have developed a project in #python to follow #RSS feeds and send an email with daily news. It is more an excuse to practice python, git and design patterns than a real project, but feel free to use it if you find it useful. Suggestions, opinions and feedback are welcome.

https://github.com/xurxia/newswave

[-] xurxia@mander.xyz 2 points 9 months ago

Fluent Python is another good book to learn Python. It is very clear and it has a lot of examples.

[-] xurxia@mander.xyz 3 points 11 months ago

Thanks! I will try it. I was an user of this sw but recently I have moved to Pyto as it has more libraries (OpenCV, etc), pip support and a newer Python version. Pythonista has its pros too.

[-] xurxia@mander.xyz 15 points 1 year ago* (last edited 1 year ago)

After preview it will be a paid subscription additional to Office365, the same strategy as Office Copilot. I hate this policy of pay for a product then still paid for more functionalities... at the end of the year you will have paid a lot.

Microsoft says Python in Excel will be included in a Microsoft 365 subscription during the preview, but “some functionality will be restricted without a paid license” after the preview ends.

[-] xurxia@mander.xyz 9 points 1 year ago

I fully agree with the post. Except for a fast prototyping or a short personal script where it could be not necessary, type hint is a must. The subject is not only to guarantee that the program now runs without errors, but it will be still working right in the future too, even after a developer (either the original or other) make changes to the code.

xurxia

joined 1 year ago