Re: How to get the current set LOG_MASK in Python's syslog module?

2022-09-22 Thread Richard Moseley
According to documentation syslog.setlogmask returns the current mask so save the value to reset later on. Oldval = syslog.setlogmask(newmask) This sets oldval to original mask. On Thu, 22 Sep 2022, 14:32 , wrote: > X-Post: https://stackoverflow.com/q/73814924/4865723 > > Hello, > > I'm aware

Re: Installing python3 packages using pip

2019-08-08 Thread Richard Moseley
f possible always create a new 'venv' and install the packages in there instead of the system, it avoids polluting the environment and makes it easier to tidy up unwanted packages at a later stage. Hope this helps, Richard Moseley. On Thu, 8 Aug 2019 at 16:03, Rich Shepard wrote:

Re: Cannot get any Python commands to work

2017-06-12 Thread Richard Moseley
I believe that you need to be using this as a command rather a module from within python, in other words try executing easy_install from the command line, or try using pip which is now preferred method of installing new third-party packages. You may need to add '-3.6' or '-36' if you have multiple

Re: Namedtuple problem #32.11.d

2017-06-06 Thread Richard Moseley
On 06/06/17 13:29, Neil Cerutti wrote: On 2017-06-06, Deborah Swanson wrote: I have a list of namedtuples: [{Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='') . . . {Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='')] In the first section of code, I process so

Test to see if message is bounced

2017-06-01 Thread Richard Moseley
n.net" which has now been deactivated. Richard Moseley -- https://mail.python.org/mailman/listinfo/python-list

Incorrect detection of futimesns/futimes in 3.3.0b1

2012-07-19 Thread RICHARD MOSELEY
I upgrade the source code to the latest version? Richard Moseley -- http://mail.python.org/mailman/listinfo/python-list

Use of internal ctypes objects

2012-06-15 Thread RICHARD MOSELEY
f isinstance(func_info, tuple): real_func.argtypes = func_info else: real_func.restype = func_info self._func[name] = func_info = real_func return func_info Thank you in advance, Richard Moseley -- http://mail.python.org/mailman/listinfo/python-list