Re: Heap Implementation

2016-02-01 Thread Steven D'Aprano
On Tuesday 02 February 2016 06:32, Sven R. Kunze wrote: > On 31.01.2016 02:48, Steven D'Aprano wrote: >> On Sunday 31 January 2016 09:47, Sven R. Kunze wrote: >> >>> @all >>> What's the best/standardized tool in Python to perform benchmarking? >> timeit > Thanks, Steven. > > Maybe, I am doing it

Re: Python Calculator

2016-02-01 Thread Steven D'Aprano
Hi Ryan, and welcome! On Tuesday 02 February 2016 06:30, Ryan Young wrote: > I am new to Python but have known Java for a few years now. With python, > so far, so good! I created a simple calculator to calculate the total cost > of a meal. My variables were tip tax total and order. I am confused

Re: Heap Implementation

2016-02-01 Thread srinivas devaki
On Feb 1, 2016 10:54 PM, "Sven R. Kunze" wrote: > > Maybe I didn't express myself well. Would you prefer the sweeping approach in terms of efficiency over how I implemented xheap currently? > complexity wise your approach is the best one of all that I have seen till now > Without running some be

Sr Python Developer job opening- SA, TX

2016-02-01 Thread nathanladuca
Let me know if interested... Day to Day: - Write and execute automated test scripts using a pre-defined framework - Writes positive and negative smoke and regression test scripts to test product functionality and integration with dependencies - Tests API's, user interfaces, web services and/or w

Re: ts.plot() pandas: No plot!

2016-02-01 Thread Paulo da Silva
Às 14:18 de 01-02-2016, Jason Swails escreveu: > On Sun, Jan 31, 2016 at 9:08 PM, Paulo da Silva < > p_s_d_a_s_i_l_v_a...@netcabo.pt> wrote: > >> Às 01:43 de 01-02-2016, Mark Lawrence escreveu: >>> On 01/02/2016 00:46, Paulo da Silva wrote: ... > > ​What you saw ts.plot() return was the matplotl

Re: Python Calculator

2016-02-01 Thread Zachary Ware
Hi Ryan, On Mon, Feb 1, 2016 at 1:30 PM, Ryan Young wrote: > I am new to Python but have known Java for a few years now. With python, so > far, so good! I created a simple calculator to calculate the total cost of > a meal. My variables were tip tax total and order. I am confused about how > to p

Python Calculator

2016-02-01 Thread Ryan Young
I am new to Python but have known Java for a few years now. With python, so far, so good! I created a simple calculator to calculate the total cost of a meal. My variables were tip tax total and order. I am confused about how to put in a new 'order' because when i reset the order variable to a diff

Re: Heap Implementation

2016-02-01 Thread Sven R. Kunze
On 31.01.2016 02:48, Steven D'Aprano wrote: On Sunday 31 January 2016 09:47, Sven R. Kunze wrote: @all What's the best/standardized tool in Python to perform benchmarking? timeit Thanks, Steven. Maybe, I am doing it wrong but I get some weird results: >>> min(timeit.Timer('for _ in range(10

Re: x=something, y=somethinelse and z=crud all likely to fail - how do i wrap them up

2016-02-01 Thread Vincent Davis
On Sat, Jan 30, 2016 at 9:58 PM, Veek. M wrote: > Is there some other nice way to wrap this stuff up? > I can't do: > try: > x= > y= > z= > except: > I happend to Have just been doing the something similar. You can put x,y,x in a list and loop over it. In my case a dict was better. See the

Re: Heap Implementation

2016-02-01 Thread Sven R. Kunze
On 31.01.2016 05:59, srinivas devaki wrote: @Sven actually you are not sweeping at all, as i remember from my last post what i meant by sweeping is periodically deleting the elements which were marked as popped items. Exactly. Maybe I didn't express myself well. Would you prefer the sweeping

Re: ts.plot() pandas: No plot!

2016-02-01 Thread Jason Swails
On Sun, Jan 31, 2016 at 9:08 PM, Paulo da Silva < p_s_d_a_s_i_l_v_a...@netcabo.pt> wrote: > Às 01:43 de 01-02-2016, Mark Lawrence escreveu: > > On 01/02/2016 00:46, Paulo da Silva wrote: > ... > > >> > > > > Is it as simple as adding a call to ts.show() ? > > > Thanks for the clue! > Not so simple

Re: Error : 0x80070570 file or directory is corrupted or unavailable

2016-02-01 Thread Oscar Benjamin
On 31 January 2016 at 07:26, archi dsouza wrote: > I was trying to install Python.exe in windows 8.1. But got error mention in > subject line. find attached log file. This particular error message has been reported here before: https://mail.python.org/pipermail/python-list/2015-September/697456.