Re: import locale and print range on same line

2016-01-24 Thread eryk sun
On Sat, Jan 23, 2016 at 8:45 PM, Terry Reedy wrote: > On 1/23/2016 8:58 AM, Chris Angelico wrote: >> On Sun, Jan 24, 2016 at 12:45 AM, Steven D'Aprano >> wrote: >>> [steve@ando ~]$ python -c "for i in range(5): print 'hello world' " >>> >>> hello world >>> hello world >>> hell

Attribute path not in PurePosixPath ?

2016-01-24 Thread Vincent Vande Vyvre
Hi, Refering to the doc https://docs.python.org/3/library/pathlib.html?highlight=pathlib#pathlib.PurePath.path Python 3.4.3 (default, Oct 14 2015, 20:28:29) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or

Re: Attribute path not in PurePosixPath ?

2016-01-24 Thread Vincent Vande Vyvre
Le 24/01/2016 08:58, Vincent Vande Vyvre a écrit : Hi, Refering to the doc https://docs.python.org/3/library/pathlib.html?highlight=pathlib#pathlib.PurePath.path Python 3.4.3 (default, Oct 14 2015, 20:28:29) [GCC

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Chris Angelico
On Sun, Jan 24, 2016 at 8:12 PM, Steve Petrie, P.Eng. wrote: > I know what "upstream" means, in terms of: water flow in a river, or vehicle > flow on a highway, or data flow over a comms link. "upstream" is where a > moving particle was, earlier in time > > But my puzzlement is -- where is "upstre

Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration

2016-01-24 Thread Grant Edwards
On 2016-01-24, Robert James Liguori wrote: > Is there a python library to calculate longitudinal acceleration, > lateral acceleration and normal acceleration? Yes. > Thanks. You're Welcome. -- https://mail.python.org/mailman/listinfo/python-list

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Steve Petrie, P.Eng.
Chris, Thanks for your response -- much appreciated. Please see my remarks embedded below. - Original Message - From: "Chris Angelico" To: "Steve Petrie, P.Eng." Cc: Sent: Saturday, January 23, 2016 10:14 AM Subject: Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Steve Petrie, P.Eng.
- Original Message - From: "Chris Angelico" To: "Steve Petrie, P.Eng." Cc: Sent: Saturday, January 23, 2016 2:56 PM Subject: Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); In case other Windows XP "orphans" w

Re: Calculating longitudinal acceleration, lateral acceleration and normal acceleration

2016-01-24 Thread Pete Dowdell
On 24/01/16 07:27, Robert James Liguori wrote: Is there a python library to calculate longitudinal acceleration, lateral acceleration and normal acceleration? Might be rocket science... pd -- https://mail.python.org/mailman/listinfo/python-list

Please Unsubscribe

2016-01-24 Thread Dave Tan
-- https://mail.python.org/mailman/listinfo/python-list

.format won't display my value with 2 decimal places: Why?

2016-01-24 Thread Michael Sullivan
Hi. I'm very very new to python. I have been working my way through a free python pdf file I found (python3handson.pdf) and I'm having trouble with one of my programs: '''discount.py Exercise 1.14.3.1. * Write a program, discount.py, that prompts the user for an original price and for a di

Re: .format won't display my value with 2 decimal places: Why?

2016-01-24 Thread MRAB
On 2016-01-22 04:57:03, "Michael Sullivan" wrote: Hi. I'm very very new to python. I have been working my way through a free python pdf file I found (python3handson.pdf) and I'm having trouble with one of my programs: '''discount.py Exercise 1.14.3.1. * Write a program, discount.py, that

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Larry Hudson via Python-list
On 01/23/2016 11:43 AM, Steve Petrie, P.Eng. wrote: [snip] I'm not sure what your exact problem is, but I can say that it isn't this; the Unix-style forward slash is perfectly legal under Windows (and it's even legal to mix and match). ChrisA I never knew that the forward slash is legal under

Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3);

2016-01-24 Thread Terry Reedy
On 1/24/2016 5:35 PM, Larry Hudson via Python-list wrote: If the path string is typed directly into Windows where it is parsed by (whatever is the current equivalent of) command.com, forward slashes are NOT accepted. More specifically, / is not accepted in paths to be executed. It seems to be

tkinter newbie question

2016-01-24 Thread KP
See my code below (which works). I'd like to have the 2nd window as a class in a separate unit. How do I code that unit and how do I call it from my first unit? As always, thanks for all help! #!/usr/bin/env python """ """ from tkinter import * from settings import * class window1():