PySheets provides a spreadsheet UI for Python in the browser. Users can load any Python package and JS module and perform exploratory data science, use Pandas, create charts with matplotlib, import Excel sheets, analyze data, and create reports.
Monday, April 29, 2024Google's new round of layoffs affects teams working on Flutter, Dart, and Python. Flutter's co-founder recently left Google, which makes the future of Flutter and Dart more uncertain. The entire US-based Python team has been disbanded, with work potentially shifting to Munich in a cost-cutting move.
Python's datetime module can cause confusion when converting between timestamps and datetime objects due to timezone issues. The time.time() function returns a timestamp relative to epoch (UTC), while datetime.datetime.now() returns a timezone-naive object in the local timezone. This discrepancy can lead to incorrect results when converting timestamps back to datetime objects on systems with non-UTC timezones.
Python's "everything is an object" philosophy slows down the parsing of large codebases with the ast module due to the overhead of converting C structs to Python objects. This conversion results in excessive memory allocations and garbage collection. To address the issue, this developer implemented a Rust extension that processed the ASTs in Rust, only returning the final results to Python, resulting in a 16x speedup and significantly reduced memory pressure. They argue that Python extensions should be designed to be lazy, meaning that they should only create Python objects when explicitly required, and instead keep data in a compact, optimized format within their own language.
The Python Software Foundation (PSF) is a non-profit organization with a mission to promote, protect, and advance the Python programming language and to support and facilitate the growth of a diverse and international community of Python programmers. It is responsible for protecting and supporting the Python language and community, but not the development of CPython itself, which is handled by the Python core team, who are governed by the Python Steering Council. This article looks at how the PSF functions, what life is like as a board member, the kinds of things the board talks about, and more.