On 10/4/2019 9:01 AM, Hongyi Zhao wrote:
Hi,
See this file:
https://github.com/hongyi-zhao/dotbot/blob/master/dotbot/messenger/
messenger.py
It has the following codes:
from ..util.singleton import Singleton
from ..util.compat import with_metaclass
from .color import Color
from .level import L
Ian Pilcher writes:
> I am working my way through writing a C extension, and I've realized
> that I need to log a few messages from the C code.
Have a look at "cython".
It significantly facilitates the realisation of C extensions,
drastically reduces risks to make something wrong
and makes it ve
Geoff Bache writes:
> ...
> We are running Python embedded in our C++ product and are now experiencing
> crashes (access violation reading 0xff on Windows) in the Python
> garbage collector.
Errors like this are very difficult to analyse. The main reason:
the memory corruption is likely f
On 10/4/19 8:59 AM, Daniel wrote:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
What operating system? Are you using a graphical UI toolkit or is this a
command-line program you're making?
--
https://mail.python.org/mailman/
On 2019-10-04, Daniel wrote:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
os.popen('lpr','w').write('Hello World\n')
That's a bit old-school -- you should probably use subprocess.Popen
instead.
--
https://mail.pyt
I am working my way through writing a C extension, and I've realized
that I need to log a few messages from the C code.
Ideally, I would pass my existing Logging.logger object into my C
function and use PyObject_CallMethod to call the appropriate method on
it (info, debug, etc.).
PyArg_ParseTupl
On 2019-10-04 20:32, Geoff Bache wrote:
Hi all,
We are running Python embedded in our C++ product and are now experiencing
crashes (access violation reading 0xff on Windows) in the Python
garbage collector.
We got this on Python 3.6.4 originally, but I can reproduce it with both
Python
On Sat, Oct 5, 2019 at 5:38 AM Geoff Bache wrote:
>
> Hi all,
>
> We are running Python embedded in our C++ product and are now experiencing
> crashes (access violation reading 0xff on Windows) in the Python
> garbage collector.
>
> We got this on Python 3.6.4 originally, but I can reprodu
Hi all,
We are running Python embedded in our C++ product and are now experiencing
crashes (access violation reading 0xff on Windows) in the Python
garbage collector.
We got this on Python 3.6.4 originally, but I can reproduce it with both
Python 3.6.8 and Python 3.7.4.
The chances of pr
How to do a code to print to paper? please post here a "Hello World"
code to be printed on paper with an inkjet.
Thanks
Daniel
---
Este email foi escaneado pelo Avast antivĂrus.
https://www.avast.com/antivirus
--
https://mail.python.org/mailman/listinfo/python-list
Daniel writes:
> How to do a code to print to paper? please post here a "Hello World"
> code to be printed on paper with an inkjet.
> Thanks
> Daniel
It depends on the Operating System. Python doesn't have a standard,
system-independent way to print to paper.
On most Unix-like systems (like my
> On 2 Oct 2019, at 23:58, DL Neil via Python-list
> wrote:
>
> In my mind, I'm wondering if it will come to that (having 'got past' the
> original observation/issue, I'm concerned by .rename()'s silent errors, for
> example). However, that 'outside' research, eg StackOverflow, shows that
> On 3 Oct 2019, at 13:04, Richard Damon wrote:
>
> I am not sure that Concrete is really the right term here, but the
> beginning of the documentation for Pathlib does sort of define what it
> means here:
There is a need to describe three ideas.
The PurePath
The OS Specific PurePath's, Wind
On 2019-10-04, Hongyi Zhao wrote:
> See this file:
> https://github.com/hongyi-zhao/dotbot/blob/master/dotbot/messenger/
> messenger.py
>
> It has the following codes:
>
> from ..util.singleton import Singleton
> from ..util.compat import with_metaclass
> from .color import Color
> from .level imp
Hi,
See this file:
https://github.com/hongyi-zhao/dotbot/blob/master/dotbot/messenger/
messenger.py
It has the following codes:
from ..util.singleton import Singleton
from ..util.compat import with_metaclass
from .color import Color
from .level import Level
I just cannot figure out why they usi
On Fri, 4 Oct 2019 at 19:02, Hongyi Zhao wrote:
>
> Could you please give me some more hints on:
>
> a &= b
$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> a = 15
>>> b = 3
>>> c =
On Fri, Oct 4, 2019 at 5:01 AM Hongyi Zhao wrote:
>
> Hi,
>
> Could you please give me some more hints on:
>
> a &= b
>
> It's very difficult for me to understand.
> --
> https://mail.python.org/mailman/listinfo/python-list
& is bitwise And. a &= b is equivalent to a = a & b
--
Joel Goldstick
Hi,
Could you please give me some more hints on:
a &= b
It's very difficult for me to understand.
--
https://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo