Showing results 1451-1460 of >1,538 (page 146)
https://mail.python.org/pipermail/python-ideas/2012-May/015005.html

# [Python-ideas] Should range() == range(0)? Terry Reedy tjreedy at udel.edu Mon May 7 04:20:35 CEST 2012 - Previous message: [Python-ideas] Should range() == range(0)? - Next message: [Python-ideas] Should range() == range(0)? - Messages sorted by: - [ date ] - [ thread ] - [ subject ] - [ author ] On 5/6/2012 8:46 PM, Steven D'Aprano wrote: > Terry Reedy wrote: >> It is a general principle that if a built-in class C has a unique (up >> to equality) null object, then C() returns that null object

https://chadaustin.me/2009/05/visualizing-python-import-dependencies/

In a large Python program such as IMVU, startup time is dominated by Python module imports. Take these warm timings

https://note.nkmk.me/en/python-list-comprehension/

In Python, you can create a new list using list comprehensions. It's simpler than using the for loop. 5. Data Structures - List Comprehensions — Python 3.11.3 documentation 6. Expressions — Python 3

https://www.masteringperl.org/tag/python/

Skip to content Mastering Perl Menu Tag: python Benchmarking the non-iterative, closed-form solution for Fibonacci numbers Paul Hankin came up with a formula to calculate a Fibonacci numbers without recursively (or iteratively) generating prior ones. Don’t get too excited: his non-iterative, closed-form solution in O(n²). That means it’s slow when n is big. I was curious how well this would do in Perl. It’s very fast in Python and dog slow in Perl. 🐇 🐇 🐇 🐇 🐇 Continue reading

https://modpython.org/pipermail/mod_python/2005-February/017331.html

[mod_python] Force reload? Graham Dumpleton grahamd at dscpl.com.au Thu Feb 3 23:22:22 EST 2005 Previous message: [mod_python] Custom handler thread safety Next message: [mod_python] Force reload? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Shawn Harrison wrote .. > I'm curious about this. I just whacked up the following function over > lunch today, following my own advice, and tested it a bit just now. The > function seems to work just fine in all the use cases (though I didn't > do form

https://www.web-developpeur.com/en/library/fluent-python/

Fluent Python by Luciano Ramalho: the data model, closures, generators, the GIL in 10 points. The ideas that make Python pythonic, rated 8.2/10

https://codingnetworker.com/categories/python-script-examples/

Coding Networker Blog Experiences, Projects and Thought's from yet another Coding Networker Menu Python Script Examples Some random python scripts that I’ve created during my learning trail. These scripts focuses primarily on use-cases for Network Engineers. All examples are available on the python script examples GitHub repository . Reliable Config Generation with Python 2018-07-02 Generating configuration files is quite simple, but how to ensure that the result of a configuration template is useful

https://pythonprogramming.net/sql-database-python-part-1-inserting-database/

Python Programming tutorials from beginner to advanced on a massive variety of topics. All video and text tutorials are free

https://twisted.org/pipermail/twisted-python/2005-September/044002.html

[Twisted-Python] jelly tracebacks Brian Warner warner at lothar.com Sat Sep 24 18:43:59 MDT 2005 Previous message (by thread): [Twisted-Python] jelly tracebacks Next message (by thread): [Twisted-Python] application shutdown and control-C Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > I just had a grueling experience debugging some > unjellying problem. I wonder, why not make jelly > tracebacks more useful by adding the details of the PB > message that gave rise to them (i.e. which method

https://boredzo.org/blog/archives/category/programming/python

Idle Time The personal weblog of Peter Hosey. All posts written by me with my own mind and hands—no “AI” used in the writing of this blog. Archive for the 'Python' Category A language-contrast exercise Sunday, March 31st, 2013 Python’s str type has a translate method that, given a second string representing a translation table, returns a new string in which characters in the first string are looked up at their ordinal positions in the translation table and replaced with the characters found at those

‹ Prev Next ›