On 06Sep2019 22:48, Ralf M. wrote:
Recently I wrote a quick and dirty script to do some counting and
statistics. When I re-read it a bit later I noticed that I had been
using two different ways to create two-dimensional (default-)dicts.
Now I'm wondering whether one of them is "better" or more
Recently I wrote a quick and dirty script to do some counting and
statistics. When I re-read it a bit later I noticed that I had been
using two different ways to create two-dimensional (default-)dicts. Now
I'm wondering whether one of them is "better" or more pythonic than the
other.
What I d
On Friday, 6 September 2019 20:15:40 UTC+2, MRAB wrote:
> On 2019-09-06 18:11, Spencer Du wrote:
> > Hi
> >
> > I want to print yes in gui.py but it does not get printed because of the
> > json. How do I fix this. Execute embedded.py and then gui.py to test.
> >
> > def on_message(client, userd
On Friday, 6 September 2019 20:15:40 UTC+2, MRAB wrote:
> On 2019-09-06 18:11, Spencer Du wrote:
> > Hi
> >
> > I want to print yes in gui.py but it does not get printed because of the
> > json. How do I fix this. Execute embedded.py and then gui.py to test.
> >
> > def on_message(client, userd
On Friday, 6 September 2019 20:15:40 UTC+2, MRAB wrote:
> On 2019-09-06 18:11, Spencer Du wrote:
> > Hi
> >
> > I want to print yes in gui.py but it does not get printed because of the
> > json. How do I fix this. Execute embedded.py and then gui.py to test.
> >
> > def on_message(client, userd
On 2019-09-06 18:11, Spencer Du wrote:
Hi
I want to print yes in gui.py but it does not get printed because of the json.
How do I fix this. Execute embedded.py and then gui.py to test.
def on_message(client, userdata, msg):
print("message recieved= " + msg.payload.decode())
# p
Hi
I want to print yes in gui.py but it does not get printed because of the json.
How do I fix this. Execute embedded.py and then gui.py to test.
embedded.py
import paho.mqtt.client as mqtt
from mqtt import *
client = mqtt.Client()
client.connect("broker.hivemq.com",1883,60)
client.on_connec
Thanks for the answer. That site provides wheels for installing the Python
libtiff package - great if "pip install libtiff" does not work out well.
Besides that package, you'll need to have a 64-bits DLL on your system for it
to work. That's the DLL I'm looking for.
--
https://mail.python.org/
On 2019-09-06 14:05, Dobedani wrote:
Hi there!
I'm using Python package libtiff on Windows (version 0.4.2) - see also
https://github.com/pearu/pylibtiff. For this package to work well, it requires
you to have a libtiff.dll in your PATH. For 32-bits I got my DLL here:
http://gnuwin32.sourceforg
On Thu, Sep 5, 2019 at 5:49 AM Saba Kauser
wrote:
> Hello Experts,
>
> I am looking for ways available to protect the python source code from
> being available to users for write/modify.
> Is it a good idea to think that python source code can be protected?
>
> I am aware that there are ways avai
Hi there!
I'm using Python package libtiff on Windows (version 0.4.2) - see also
https://github.com/pearu/pylibtiff. For this package to work well, it requires
you to have a libtiff.dll in your PATH. For 32-bits I got my DLL here:
http://gnuwin32.sourceforge.net/packages/tiff.htm (version 3.8.2)
11 matches
Mail list logo