Showing results 4571-4580 of >4,648 (page 458)
https://codefying.com/2016/10/09/pythons-gotchas/

Here is the thing - I am a big fan of Python programming language. Now that there is an Intel distribution of Python, I don't think I ever want to write in any other language again... Having said that, Python has its moments. Most of the examples below are based on Fluent Python book by

https://twisted.org/pipermail/twisted-python/2008-April/049799.html

[Twisted-Python] Other ways to integrate foreign event loops? Nathan nathan.stocks at gmail.com Tue Apr 1 16:08:35 MDT 2008 Previous message (by thread): [Twisted-Python] Other ways to integrate foreign event loops? Next message (by thread): [Twisted-Python] Re: Other ways to integrate foreign event loops? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Mon, Mar 31, 2008 at 8:17 PM, < glyph at divmod.com > wrote: > Twisted's job is to run the main loop; it's best just to let it do that

https://docs.python.org/release/2.6/c-api/module.html

# Module Objects ¶ There are only a few functions special to module objects. - PyTypeObject PyModule_Type ¶ This instance of PyTypeObject represents the Python module type. This is exposed to Python programs as types.ModuleType. - int PyModule_Check( PyObject *p) ¶ Return true if p is a module object, or a subtype of a module object. Changed in version 2.2: Allowed subtypes to be accepted. - int PyModule_CheckExact( PyObject *p) ¶ Return true if p is a module object, but not a subtype of PyModule_Ty

https://eli.thegreenplace.net/2010/01/22/weighted-random-generation-in-python

Toggle navigation Eli Bendersky's website Weighted random generation in Python January 22, 2010 at 14:15 Tags Python Update (02.09.2013): This article was written with Python 2.6 in mind; in Python 3.2 a new itertools.accumulate function was added; it provides a fast way to build an accumulated list and can be used for efficiently approaching this problem. See comments below for more information. A problem I frequently run into is to randomly select an element from some kind of container, with the chances o

https://purplecarrot.co.uk/post/archive/2015-12-03-verifying-tls-certificates-in-python/

All too often people I see Python code using the requests module to query an API that just bypass TLS verification (i.e it sets verify=False in the requests

https://memotut.com/en/56070d886782748cd5a9/

Python, pandas

https://gandenberger.org/posts/2025-05-14_grpc_python_imports/index.html

Blog TIL: Fixing gRPC Python Imports til grpc python software-engineering Author Greg Gandenberger Published May 14, 2025 Problem I was reacquainting myself with gRPC by creating a basic “Hello, world!” project when I ran into a problem: I wanted to put the generated code files in their own generated_grpc directory, but then imports within those files failed: ModuleNotFoundError: No module named 'helloworld_pb2' It turns out that protobuf simply does not generate correct imports in this situation

https://py.checkio.org/blog/10-common-beginner-mistakes-in-python/

Successful Operation! Your data is up-to-date and ready for use! Failed Attempt! Something went wrong. The field is required! /vote/blog/post/213/up/1/ /vote/blog/post/213/down/1/ /vote/blog/post/213/clear/1/ 10 common beginner mistakes in Python Python is an easy language to learn. And there are many self-taught programmers who don't really go with the best practices from the start. Very often during the development process and when viewing the solutions of our users in CheckiO we are faced with a

https://machinelearningmastery.com/learn-vectorized-thinking-in-python-through-examples/

# Learn Vectorized Thinking in Python Through Examples By Bala Priya C on August 17, 2026 in Practical Machine Learning 0 In this article, you will learn how to think in terms of vectorized operations using NumPy, replacing slow Python loops with efficient array-level computations. Topics we will cover include: - Why Python loops are slow for numeric data and how NumPy’s C-backed engine addresses this. - How to apply element-wise operations, boolean masking, and broadcasting to eliminate common loop pat

https://www.inngest.com/docs/reference/python/guides/pydantic

Use Pydantic models for type-safe event data and step outputs in Inngest Python functions. Automatic validation and serialization for structured payloads

‹ Prev Next ›