Re: How to start gnuradio

2018-07-31 Thread Ben Finney
bengt.to...@gmail.com writes: > My gnuradio program does not start in my Mint 17.3 installation. Summary: I believe this is a bug in the package on Mint. (The bug may be inherited from elsewhere, too: maybe in the Debian package, maybe in the PyPI package. That would need more diagnosis to determ

Re: How to start gnuradio

2018-07-31 Thread Ross Wilson
I had a paddle through the manual at https://www.gnuradio.org/doc/doxygen/page_python_blocks.html and apparently some DSP operations use numpy. Ross On Wed, 1 Aug 2018 at 11:56 wrote: > > > After some research I found out that "sudo apt-get install python-numpy" > solved the problem. > > Can an

Re: How to start gnuradio

2018-07-31 Thread bengt . tornq
After some research I found out that "sudo apt-get install python-numpy" solved the problem. Can anyone clarify how python-numpy solves the problem? -- https://mail.python.org/mailman/listinfo/python-list

Confused on git commit tree about Lib/datetime.py

2018-07-31 Thread Jeffrey Zhang
I found a interesting issue when checking the Lib/datetime.py implementation in python3 This patch is introduced by cf86e368ebd17e10f68306ebad314eea31daaa1e [0]. But if you check the github page[0], or using git tag --contains, you will find v2.7.x includes this commit too. $ git tag --contains c

i have add mouse motion feature to turtle

2018-07-31 Thread Coding Kids
i have add mouse motion event to turtle i think it's an small but excellent imporovement and made turtle could create more interesting project for kids any possiblity add this feature to offical version?is so what a exciting things! -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Console Menu

2018-07-31 Thread Juraj Papic via Python-list
Thanks for the links [image: cid:D5DA6341-AA78-4808-9639-F19B8AB3CBE8] *Juraj A. Papic* Arquitecto de Soluciones juraj.pa...@bghtechpartner.com Arias 1639/41. C1429DWA. Bs. As., Argentina. T. +54 11 5080-7400 M. +54 911 3445-6944 Skype juraj.papic www.bghtechpartner.com 2018-07-31 1

Re: unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Peter Otten
Uri Even-Chen wrote: > Do you know what is the problem and why I receive these deprecation > warnings? I poked around a bit and found https://bugs.python.org/issue24134 Perhaps you can make sense of it (I can't). -- https://mail.python.org/mailman/listinfo/python-list

Re: unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Peter Otten
Uri Even-Chen wrote: > Hi, > > We are using unittest.TestCase.assertRaisesRegex in our Django project > (Speedy Net / Speedy Match - https://github.com/urievenchen/speedy-net), > and I always prefer calling Python function parameters by name. So we call > self.assertRaisesRegex with parameters (k

ANN: Wing Python IDE version 6.1 released

2018-07-31 Thread Wingware
Hi, Wingware has just released Wing 6.1 , which adds PEP 8 reformatting, includes a How-To for Windows Subsystem for Linux, supports the Qt5Agg backend for matplotlib, allows configuring a path for code snippets, supports evaluating generator expressions t

unittest.TestCase.assertRaisesRegex throws DeprecationWarning

2018-07-31 Thread Uri Even-Chen
Hi, We are using unittest.TestCase.assertRaisesRegex in our Django project (Speedy Net / Speedy Match - https://github.com/urievenchen/speedy-net), and I always prefer calling Python function parameters by name. So we call self.assertRaisesRegex with parameters (keyword arguments) expected_excepti

Re: Python Console Menu

2018-07-31 Thread Jerry Hill
On Tue, Jul 31, 2018 at 12:31 PM juraj.papic--- via Python-list wrote: > I will check the links thanks for that tips, is there any page where I can > see more examples? I like Doug Hellmann's Python Module of the Week site for in-depth looks at particular modules (including subprocess). If you'

Re: Python Console Menu

2018-07-31 Thread juraj.papic--- via Python-list
El martes, 31 de julio de 2018, 11:56:47 (UTC-3), Tcpip escribió: > Hi all, > > Im new with python, im working on a Python console Menu, I found some > examples on Git, but what I need to understand is how I can call a > subprocess. > > Here is an Example , > > if choice==1: > print

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Chris Angelico
On Wed, Aug 1, 2018 at 1:28 AM, MRAB wrote: > On 2018-07-31 08:40, Robin Becker wrote: >> >> A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings >> for some reportlab code; the >> example boils down to the following >> >> ## >> C:\code\hg-repos\reportlab\tmp>cat tb.p

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread MRAB
On 2018-07-31 08:40, Robin Becker wrote: A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings for some reportlab code; the example boils down to the following ## C:\code\hg-repos\reportlab\tmp>cat tb.py if __name__=='__main__': d={'a':1} d[b'a'] = d['a'

RE: Python Console Menu

2018-07-31 Thread David Raymond
Take a look at the subprocess module for how to "spawn new processes, connect to their input/output/error pipes, and obtain their return codes." https://docs.python.org/2/library/subprocess.html -Original Message- From: Python-list [mailto:python-list-bounces+david.raymond=tomtom@p

Python Console Menu

2018-07-31 Thread Tcpip via Python-list
Hi all, Im new with python, im working on a Python console Menu, I found some examples on Git, but what I need to understand is how I can call a subprocess. Here is an Example , if choice==1: print "Test SSH Connection (check ssh to all hosts)" ## You can add your code or funct

Re: Using Python on a fork-less POSIX-like OS

2018-07-31 Thread Stephan Houben
Op 2018-07-29, Terry Reedy schreef : > multiprocessing module uses 'spawn' rather than 'fork' on Windows and it > has an option to use 'spawn' even on *nix. I presume the latter refers > to posix_spawn. You might want to check the multiprocessing code to see > what *it* is doing 'under the co

Re: Python bug in ArcGIS - Urban Network analysis tool

2018-07-31 Thread Станимира Николова
понеделник, 30 юли 2018 г., 15:19:43 UTC+3, 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 inta

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Peter Otten
Robin Becker wrote: > On 31/07/2018 09:16, Paul Moore wrote: >> On 31 July 2018 at 08:40, Robin Becker wrote: >>> A bitbucket user complains that python 3.6.6 with -Wall -b prints >>> warnings for some reportlab code; the >>> example boils down to the following >>> >>> ## >>> C:\code\hg-r

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

2018-07-31 Thread Chris Green
Michael Torrie wrote: > 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 > abstract

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Paul Moore
On 31 July 2018 at 09:32, Robin Becker wrote: > On 31/07/2018 09:16, Paul Moore wrote: >> >> On 31 July 2018 at 08:40, Robin Becker wrote: >>> >>> A bitbucket user complains that python 3.6.6 with -Wall -b prints >>> warnings >>> for some reportlab code; the >>> example boils down to the followin

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

2018-07-31 Thread Chris Green
Liste guru wrote: > 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/lates

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Robin Becker
On 31/07/2018 09:16, Paul Moore wrote: On 31 July 2018 at 08:40, Robin Becker wrote: A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings for some reportlab code; the example boils down to the following ## C:\code\hg-repos\reportlab\tmp>cat tb.py if __name__=='__m

Re: Are dicts supposed to raise comparison errors

2018-07-31 Thread Paul Moore
On 31 July 2018 at 08:40, Robin Becker wrote: > A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings > for some reportlab code; the > example boils down to the following > > ## > C:\code\hg-repos\reportlab\tmp>cat tb.py > if __name__=='__main__': > d={'a':1} >

Are dicts supposed to raise comparison errors

2018-07-31 Thread Robin Becker
A bitbucket user complains that python 3.6.6 with -Wall -b prints warnings for some reportlab code; the example boils down to the following ## C:\code\hg-repos\reportlab\tmp>cat tb.py if __name__=='__main__': d={'a':1} d[b'a'] = d['a'] ## C:\code\hg-repos\reportlab\tmp>