Re: How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Michael Torrie
On 07/30/2018 11:04 AM, Akkana Peck wrote: > Yes, this is the future, since it lets you use both GTK3 and Python3. Unfortunately the automatically-generated bindings, while fast and complete, are not quite as pythonic as the old PyGTK bindings were. The abstraction layer pygobject provides leaks

Re: Why did logging not undergo PEP8 API change?

2018-07-30 Thread Ben Finney
Skip Montanaro writes: > There was some discussion of the idea (before the thread predictably > wandered off into the weeds). I've not found anything else obviously > related to the topic. Perhaps it was nothing more than that the > threading module had a PEP-8 champion while logging didn't? Som

Re: How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Liste guru
Il 30/07/2018 19:31, Chris Green ha scritto: OK, thanks, where is its home and full API documentation etc.? -- Chris Green·-- https://mail.python.org/mailman/listinfo/python-list On the first page of the official docs, http://pygobject.readthedocs.io/en/latest/, there are the links to the Py

Re: hello from a very excited and totally blind python programmer and game player

2018-07-30 Thread Amirouche Boubekki
Of course I forgot the static page generator program read (or listen) direct text of the link at the code follows https://raw.githubusercontent.com/amirouche/xp-maji/master/maji.py xp is for experience :smallsmile: I am a recovering lisp dev, so all my new programs are small. If you want a pure P

How to start gnuradio

2018-07-30 Thread bengt . tornq
My gnuradio program does not start in my Mint 17.3 installation. When I invoke the command "gnuradio-companion" I get the following message: - Cannot import gnuradio. Is the python path environment variable set correctly? All OS: PYTHONPATH Is the library path enviro

Re: hello from a very excited and totally blind python programmer and game player

2018-07-30 Thread Amirouche Boubekki
Le mar. 24 juil. 2018 à 22:10, Daniel Perry a écrit : > Hi there everyone, my name is Daniel Perry Hello! > and I'm a totally blind new Python user. Ok! > I've only just recently started picking up python and playing with it and > I intend on building some unique audio computer games for

Re: How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Chris Green
Akkana Peck wrote: > Chris Green writes: > > I wrote a Python GUI program a little while ago that uses Python GTK > > with:- > > > > import gtk > > > > I *think* this is probably GTK 2, or something. I can't find the > > proper documentation for this. Is it old/obsolescent? > > Yes, it's

Re: How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Akkana Peck
Chris Green writes: > I wrote a Python GUI program a little while ago that uses Python GTK > with:- > > import gtk > > I *think* this is probably GTK 2, or something. I can't find the > proper documentation for this. Is it old/obsolescent? Yes, it's obsolete, and AFAIK it only works with P

Re: How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Chris Green
Chris Green wrote: > I want to decide which is the 'best' Python GTK to use on my Linux > (xubuntu) systems. There seem to be quite a few versions of Python > GTK bindings out there and I'm confused! > > I wrote a Python GUI program a little while ago that uses Python GTK > with:- > > imp

How to decide (and know) which Python GTK version to use?

2018-07-30 Thread Chris Green
I want to decide which is the 'best' Python GTK to use on my Linux (xubuntu) systems. There seem to be quite a few versions of Python GTK bindings out there and I'm confused! I wrote a Python GUI program a little while ago that uses Python GTK with:- import gtk I *think* this is probably

RE: Python bug in ArcGIS - Urban Network analysis tool

2018-07-30 Thread David Raymond
A note that Arc may have installed its own version of Python, which it is using from within its own tools. For example, I've got a full Python installation in C:\Python27\ArcGIS10.2 which Arc installed on top of a preexisting installation in C:\Python27. So you may need to explicitly run it with

Why did logging not undergo PEP8 API change?

2018-07-30 Thread Skip Montanaro
In the run-up to Python 3, the threading module's API went from a Java-reminiscent set of names to a PEP-9 set of names, so threading.currentThread became threading.current_thread. Also (though they didn't get a change in case), some of the set/get methods in threading.Thread received the property

Re: Python bug in ArcGIS - Urban Network analysis tool

2018-07-30 Thread Andrew MacIntyre
On 30/07/2018 4:02 PM, Станимира Николова wrote: I run Urban network analysis but It shows similar mistake several times. The UNA tool is free plugin that i downloaded, it's not from the default intalled in ArcGIS packed. It ask for integer data. I checked the type of the attributes, it's al

Re: `import somemodule` does not check all paths in `sys.path`

2018-07-30 Thread stefand986
Note that in the `sys.path`variable the path is given as absolute path (I only wrote it relative to `~` in the in my post, but in the script the absolute path is used everywhere). See line 2: ``` ['/home/pyuser/.homeassistant', '/home/pyuser/.homeassistant/deps/lib/python3.7/site-packag