Re: From recovery.js to recoveryjsonlz4

2018-02-06 Thread Cecil Westerhof
breamore...@gmail.com writes: > On Monday, February 5, 2018 at 1:28:16 PM UTC, Cecil Westerhof wrote: >> I have a script to get the number of windows and tabs that firefox >> uses. It always used a file recovery.js, but it changed to >> recovery.jsonlz4. >> >> Looking at the extension I would thi

Re: "None" and "pass"

2018-02-06 Thread alister via Python-list
On Tue, 06 Feb 2018 08:55:35 +1100, Chris Angelico wrote: > On Tue, Feb 6, 2018 at 8:39 AM, Ben Finney > wrote: >> Chris Angelico writes: >> >>> As one special case, I would accept this sort of code: >>> >>> def f(): >>> ... >>> >>> (three dots representing the special value Ellipsis) >>> >>

Re: "None" and "pass"

2018-02-06 Thread Rhodri James
On 06/02/18 10:23, alister via Python-list wrote: On Tue, 06 Feb 2018 08:55:35 +1100, Chris Angelico wrote: On Tue, Feb 6, 2018 at 8:39 AM, Ben Finney wrote: Chris Angelico writes: As one special case, I would accept this sort of code: def f(): ... (three dots representing the speci

RE: libxml2 installation/binding issue with Python 3.6.4

2018-02-06 Thread Priest, Matt
Dieter, I'm sure it's the Python version, I was hoping the "latest" set of the dependencies would get me there. I'll explore stepping that version back and let you know... Thank you, Matt -Original Message- From: Python-list [mailto:python-list-bounces+matt.priest=intel@python.or

Fwd: [Python-Dev] libxml2 installation/binding issue

2018-02-06 Thread Dan Stromberg
Perhaps look over (or use) http://stromberg.dnsalias.org/~strombrg/cpythons/ ? It defaults to building many versions of CPython, but can build just one if you prefer. It knows how to build GTK+ as well, for some newer versions of CPython. -- Forwarded message -- From: Priest, Mat

Does anyone know ni?

2018-02-06 Thread Roel Schroeven
I'm having a look at py-iso8211 from https://sourceforge.net/projects/py-iso8211/ to see if I can get it to work without too much work. It uses a module 'ni', for example in __init__.py: """ ... """ # Make the above more easily available - if you do: # # import ni # ni.ni() # (curren

Re: Does anyone know ni?

2018-02-06 Thread Ian Kelly
It was used for package support and is no longer needed from Python 1.5. http://legacy.python.org/doc/essays/packages.html On Tue, Feb 6, 2018 at 1:27 PM, Roel Schroeven wrote: > I'm having a look at py-iso8211 from > https://sourceforge.net/projects/py-iso8211/ to see if I can get it to work > w

Re: Does anyone know ni?

2018-02-06 Thread Roel Schroeven
Ian Kelly schreef op 6/02/2018 21:43: It was used for package support and is no longer needed from Python 1.5. http://legacy.python.org/doc/essays/packages.html Thanks! -- The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. -- Isaac Asim

Packaging uwsgi flask app for non-programmers?

2018-02-06 Thread Israel Brewster
I have been working on writing an Alexa skill which, as part of it, requires a local web server on the end users machine - the Alexa skill sends commands to this server, which runs them on the local machine. I wrote this local server in Flask, and run it using uwsgi, using a command like: "uwsgi

How to work on a package

2018-02-06 Thread Roel Schroeven
I'm fairly comfortable writing Python code, but I only have experience writing scripts with perhaps a few supporting modules. Now I want to start writing a package, and I'm feeling a bit helpless: I'm not sure how to organize my work. In my way of thinking, I would have a working tree for the

How to set/update value in a xml file using requests in python

2018-02-06 Thread Sum J
My xml file is located in local network : http://192.168.43.109/DevMgmt/NetAppsDyn.xml Below is a part content of above xml I want to update : off I want to set value for 'ResourceUI' and 'Port' field in above xml. I have used below code : data = { 'R

Re: How to work on a package

2018-02-06 Thread dieter
Roel Schroeven writes: > I'm fairly comfortable writing Python code, but I only have experience > writing scripts with perhaps a few supporting modules. Now I want to > start writing a package, and I'm feeling a bit helpless: I'm not sure > how to organize my work. You may have a look at "https:/

Re: How to set/update value in a xml file using requests in python

2018-02-06 Thread dieter
Sum J writes: > My xml file is located in local network : > http://192.168.43.109/DevMgmt/NetAppsDyn.xml > > Below is a part content of above xml I want to update : > > > > > off > > > I want to set value for 'ResourceUI' and 'Port' field in above xml. > I have used below