treyhunner, to python
@treyhunner@mastodon.social avatar

If you're trying to write documentation, you probably want a docstring instead of a comment.

Read more 👉 https://trey.io/a5O8qe

villares, to python Portuguese
@villares@pynews.com.br avatar
leanpub, to gpt
@leanpub@mastodon.social avatar

The Generative AI Mastery Bundle https://leanpub.com/b/the-generative-ai-mastery-bundle by Aymen El Amri is the featured bundle on the Leanpub homepage! https://leanpub.com #ebooks #GPT #WritingAndPublishing #Marketing #ComputerProgramming #Python #SoftwareEngineering

desertplains, to python
@desertplains@mastodon.social avatar

I wonder if there's a more efficient way of implementing decimal to conversion in

Without recursion, it's ok, but there will be variable assignments operations, which seems to me as something not so efficient, comparing with recursion...

image/png

desertplains,
@desertplains@mastodon.social avatar

@tshirtman @diazona humm interesting. I hope I'm not abusing from your good will but, would you mind to elaborate a bit more, or even send some article for reference? I got curious with the "arbitrarily large numbers". Tks.

tshirtman,
@tshirtman@mas.to avatar

@desertplains
https://docs.python.org/3/library/stdtypes.html#typesnumeric says "Integers have unlimited precision" which is to mean it can use as much memory as needed to store bigger values (until your operating system refuses to give more memory to your process). it's not like the C int type, for example, which will have minimum and maximum possible values.
@diazona

hugovk, to python
@hugovk@mastodon.social avatar

🇮🇹 "Benvenuti! Questa è la documentazione di Python 3.12.3."

https://docs.python.org/it/3/

The Python docs are now officially available in Italian! 🚀

If you want to help out with a translation, see https://devguide.python.org/documentation/translating/
#Python #docs #Italian #translation

leahawasser, to python
@leahawasser@fosstodon.org avatar

I wrote an overview of @pyOpenSci s second (and my second) experience at https://www.pyopensci.org/blog/recap-pyos-pyconus-2024.html

we had a great time with a record amount of sprinters, open space attendees AND i gave my first talk! I can't wait for next year!

cheukting_ho, to python
@cheukting_ho@fosstodon.org avatar

Hey, do you want to vote in the upcoming @ThePSF elections? Don't forget to affirm your intention to vote (please check your email, including spam). Deadline: June 25th 2024. Not a member yet? Check how you can become a voting member here: https://buff.ly/3X2cLhL

flipsideza, to animation
@flipsideza@fosstodon.org avatar

A post I wrote about the #pipeline I have been working on for the past few years! Its 'flowery' more for execs than tech people ^_^

https://www.linkedin.com/pulse/let-artists-enhancing-creative-process-new-pipeline-fvpwf
#animation #cg #python #animationstudio

Jigsaw_You, to python
@Jigsaw_You@mastodon.nl avatar

NumPy 2.0 is planned to be released on June 16, 2024. 👍

#python #programming #scientificcomputing

https://numpy.org/devdocs/release/2.0.0-notes.html

flypig, to python
@flypig@mastodon.social avatar

The #ResearchEngineering and #ToolsPracticesSystems teams from #TheAlanTuringInstitute wrote up about our experiences at #FOSDEM2024 ... we talk about #OpenResearch, #Python, #HPC and #LinuxOnMobile. Happy memories! #FOSDEM

https://medium.com/

mblayman, to python
@mblayman@mastodon.social avatar

🐍 In this final article of the Pythonic code series, we look at the power available to the #Python ecosystem by using packages from the Python Package Index (a.k.a. PyPI). https://www.mattlayman.com/blog/2017/pythonic-code-leveraging-packages/

upmultimedia, (edited ) to random
@upmultimedia@mastodon.gamedev.place avatar

When programming a function to check if something is allowed, is it a better pattern to start with a True variable and negate it or start with a False variable and confirm it?

#c

cashwasabi,

@upmultimedia There shouldn't be a standard for this. Choose what makes the function more readable/shorter.

pyconau, to python
@pyconau@mastodon.pycon.org.au avatar

🎤 Ready to take your public speaking skills to the next level? PyCon AU has your back!

Whether you're a Student, Educator, Graduate, or Professional, we want YOU! We're seeking talks from first-time or seasoned speakers, and we have a fantastic mentoring program to help your proposal shine.

Read more about it here: pycon.org.au/program/-and-feedback

leanpub, to python
@leanpub@mastodon.social avatar

The course Dirty Data Dojo: Cleaning Data (Excel & Python) by Lee Baker is on sale on Leanpub! Its suggested price is $119.00; get it for $49.50 with this coupon: https://leanpub.com/sh/fwmKxsmd

webknjaz, to python
@webknjaz@mastodon.social avatar

One friend of mine wrote a blog post on his @homeassistant setup:

"Home Assistant helps me survive during missile and drone attacks. Here is how." https://denysdovhan.com/home-assistant-config/config/war/

saving lives IRL y'all!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines