Showing results 9281-9290 of >9,361 (page 929)
https://gitlab.esrf.fr/limagroup/Lima-tango-python/-/commit/5d4ccd864e72670fde52383b53f4015ebc712fee

python tango server for Lima

https://eli.thegreenplace.net/2009/07/31/listing-all-serial-ports-on-windows-with-python

Toggle navigation Eli Bendersky's website Listing all serial ports on Windows with Python July 31, 2009 at 07:41 Tags Python , Serial port There are several methods for getting a list of all serial (COM) ports on a Windows machine. Here I want to focus on one that seems to work very well on the computers I tried, and incidentally it's also the simplest to implement. Digging into the registry The list of serial ports on the machine appears under the HARDWARE\\DEVICEMAP\\SERIALCOMM key in the Windows registry

https://hashnode.com/posts/transactional-outbox-pattern-python/6a3ec8d70271891a0385b4c3

Discussion on "The Transactional Outbox Pattern in Python: Solving the Dual-Write Problem". There's a particular kind of bug I've learned to be afraid of. It doesn't throw an exception. It doesn't show up in your tests. It passes code review, ships on a Friday, and works perfectly for three

http://blog.lexspoon.org/2012/07/evan-farrer-converts-code-from-python.html

Lex Spoon I'm Lex Spoon, a software enthusiast living in Atlanta, GA. I write on Substack and on my home page in addition to here. Sunday, July 8, 2012 Evan Farrer Converts Code from Python to Haskell Evan Farrer has an interesting post up where he converts some code from Python to Haskell. Kudos to Farrer for empirically studying a language design question. Here is his summary: The results of this experiment indicate that unit testing is not an adequate replacement for static typing for defect detection. W

http://xion.io/post/code/python-get-lambda-code.html

…or: The Most Hideous Hack I’ve (Almost) Done In callee, the argument matcher library for Python that I released recently, there is this lovely TODO note for a seemingly simple feature. When using the Matching construct with a simple lambda predicate: mock_foo.assert_called_with(Matching(lambda x: x % 2 == 0)) it would be great to see its code in the error message if the assertion fails. Right now it’s just going to say something like <Matching <function <lambda> at 0x7f5d8a06eb18>>. Provided you don

https://belderbos.dev/blog/build-finite-state-machine-python/

Learn how finite state machines work by building one from scratch in Python. Guards, hooks, history tracking, and when to reach for a library instead

https://mail.python.org/pipermail/python-dev/2016-September/146136.html

Random832 random832 at fastmail.com Sat Sep 3 18:10:06 EDT 2016 On Sat, Sep 3, 2016, at 08:08, Martin Panter wrote: > On 1 September 2016 at 19:36, Ethan Furman < ethan at stoneleaf.us > wrote: > > Deprecation of current "zero-initialised sequence" behaviour without removal > > ---------------------------------------------------------------------------- > > > > Currently, the ``bytes`` and ``bytearray`` constructors accept an integer > > argument and interpret it as meaning to create a zero-initialised se

https://gitlab.orekit.org/orekit-labs/python-wrapper/-/blob/master/README.md

The Orekit python wrapper allows using Orekit from a python environment. It was developed by SSC and provided to the Orekit project

https://wrongsideofmemphis.com/2010/03/01/store-standard-output-on-a-variable-in-python/

This is a great, hacky trick to get the standard output ( and others like standard error and standard input) in Python You can "redirect" the standard error changing the sys.stdout module with your own StringIO object. So, you can do something like Easy and very useful! EDITED: Updated to make it work for

https://www.ragestorm.net/blogs/?cat=9&paged=2

## Archive for the ‘Python’ Category Newer Entries » ### Plugins’ Headache Sunday, June 10th, 2007 As I was writing a plugin, or to be more accurate, an extension module for Python in C/Win32; I had mysterious crashings here and there. Using a JIT I saw that the crash is in malloc/free so I looked at the stack and saw where’s the problem at (function scope). So far so good, piece of cake. Isolating the problematic code, yet I still didn’t fully understand why it happens, I ran it on a new clean

‹ Prev Next ›