I am trying to delete duplicates but the job just finishes with an exit code 0

2017-11-06 Thread tysondogerz
I am trying to delete duplicates but the job just finishes with an exit code 0 and does not delete any duplicates. The duplicates for the data always exist in Column F and I am desiring to delete the entire row B-I Any ideas? import openpyxl wb1 = openpyxl.load_workbook('C:/dwad/SWWA.xlsx')

Re: Easiest way to access C module in Python

2017-11-06 Thread Christian Gollwitzer
Am 07.11.17 um 02:59 schrieb Grant Edwards: On 2017-11-06, John Pote wrote: I have successfully used Python to perform unit and integration tests in the past and I'd like to do the same for some C modules I'm working with at work. There seem to be a number of ways of doing this but being busy

Re: Easiest way to access C module in Python

2017-11-06 Thread Chris Angelico
On Tue, Nov 7, 2017 at 12:52 PM, bartc wrote: > On 07/11/2017 00:58, Chris Angelico wrote: >> >> On Tue, Nov 7, 2017 at 10:43 AM, John Pote >> wrote: >>> >>> Hi all, >>> I have successfully used Python to perform unit and integration tests in >>> the >>> past and I'd like to do the same for some

Re: Easiest way to access C module in Python

2017-11-06 Thread Grant Edwards
On 2017-11-06, John Pote wrote: > I have successfully used Python to perform unit and integration tests in > the past and I'd like to do the same for some C modules I'm working with > at work. There seem to be a number of ways of doing this but being busy > at work and home I looking for the a

Re: Easiest way to access C module in Python

2017-11-06 Thread bartc
On 07/11/2017 00:58, Chris Angelico wrote: On Tue, Nov 7, 2017 at 10:43 AM, John Pote wrote: Hi all, I have successfully used Python to perform unit and integration tests in the past and I'd like to do the same for some C modules I'm working with at work. There seem to be a number of ways of do

Re: Easiest way to access C module in Python

2017-11-06 Thread Bill
John Pote wrote: Hi all, I have successfully used Python to perform unit and integration tests in the past and I'd like to do the same for some C modules I'm working with at work. There seem to be a number of ways of doing this but being busy at work and home I looking for the approach with th

Re: Easiest way to access C module in Python

2017-11-06 Thread Chris Angelico
On Tue, Nov 7, 2017 at 10:43 AM, John Pote wrote: > Hi all, > I have successfully used Python to perform unit and integration tests in the > past and I'd like to do the same for some C modules I'm working with at > work. There seem to be a number of ways of doing this but being busy at work > and

Easiest way to access C module in Python

2017-11-06 Thread John Pote
Hi all, I have successfully used Python to perform unit and integration tests in the past and I'd like to do the same for some C modules I'm working with at work. There seem to be a number of ways of doing this but being busy at work and home I looking for the approach with the least learning c

Incomplete description using sqlite3

2017-11-06 Thread Skip Montanaro
I'm using sqlite3 (2.6.0, SQLite version 3.13.0, Python 2.7.13) and was hoping to introspect the types of a table using the cursor's description attribute. PEP 249 states: "The first two items (name and type_code) are mandatory..." I tried this query: conn = sqlite3("/some/existing/database") curs

Re: Python Mailing list moderators

2017-11-06 Thread Peter Pearson
On Sun, 5 Nov 2017 17:28:05 -0500, Terry Reedy wrote: > On 11/5/2017 4:14 PM, Cameron Simpson wrote: >> On 05Nov2017 13:09, Στέφανος Σωφρονίου >> wrote: >>> Folks, >>> More and more nonsense are coming in and I find it really difficult to >>> follow any new post that may come and I have to eith

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Random832
I haven't read over every message in the thread, so sorry if this has been suggested before, but how about "if not break:" and "if not except:" as synonyms for the current 'else' clause? They're already keywords, and this sequence of keywords has no current meaning. -- https://mail.python.org/mail

Re: replacing 'else' with 'then' in 'for' and 'try'

2017-11-06 Thread ROGER GRAYDON CHRISTMAN
Just a little two-cent opinion from the peanut gallery: I've been following all the discussion on this go by, sometimes getting a bit heated at times, and just sitting nice and safe and secure in my little ivory tower, where I simply tell my students to not use 'break'. As a stodgy educator,

DJANGO app loose path from batch file

2017-11-06 Thread Xristos Xristoou
I try to learn more about Django celery and rabbitmq to create some async tasks and I have some question. Some programs can provide PYTHON API to can some development to use modules from this program in python. one most way to take that PYTHON API from this program is to use batch file like this

Re: FW: Reading a remove csv file

2017-11-06 Thread Thomas Jollans
On 2017-11-03 00:40, Stefan Ram wrote: > I knew I reïnvented something. Maybe it was »map«. Quite. If you really need that one-argument callable, you can curry map() with functools.partial. Also, that tréma is highly unorthodox. -- Thomas Jollans -- https://mail.python.org/mailman/listinfo/py

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Ned Batchelder
On 11/6/17 8:05 AM, Jon Ribbens wrote: On 2017-11-06, Chris Angelico wrote: If you start with the assumption that "intuitively obvious" doesn't actually mean "intuitively obvious" but actually means something completely different, then your statement definitely means something non-contradictory

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Chris Angelico
On Tue, Nov 7, 2017 at 12:05 AM, Jon Ribbens wrote: > On 2017-11-06, Chris Angelico wrote: >> If you start with the assumption that "intuitively obvious" doesn't >> actually mean "intuitively obvious" but actually means something >> completely different, then your statement definitely means somet

Re: solutions manual, test bank for Industrial Organizational Psychology 4e Paul Levy, contact direct by email at studentshelp(at)hotmail(dot)com

2017-11-06 Thread tb . sm . text
for any test bank or solutions manual please contact :tbsmtext(at)gmail(dot)com -- https://mail.python.org/mailman/listinfo/python-list

Re: solutions manual, test bank for Psychological Testing Principles, Applications, and Issues, 9e Robert Kaplan, Dennis Saccuzzo, contact direct by email at studentshelp(at)hotmail(dot)com

2017-11-06 Thread tb . sm . text
for any test bank or solutions manual please contact :tbsmtext(at)gmail(dot)com -- https://mail.python.org/mailman/listinfo/python-list

Re: Read Firefox sqlite files with Python

2017-11-06 Thread Rustom Mody
On Monday, November 6, 2017 at 8:42:29 AM UTC+5:30, Steve D'Aprano wrote: > On Mon, 6 Nov 2017 12:39 am, Paul Moore wrote: > > > On 5 November 2017 at 01:22, Steve D'Aprano wrote: > >> On Sun, 5 Nov 2017 04:32 am, Steve D'Aprano wrote: > >> > >>> I'm trying to dump a Firefox IndexDB sqlite file to

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Jon Ribbens
On 2017-11-06, Chris Angelico wrote: > If you start with the assumption that "intuitively obvious" doesn't > actually mean "intuitively obvious" but actually means something > completely different, then your statement definitely means something > non-contradictory. But if you start with the assump

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Chris Angelico
On Mon, Nov 6, 2017 at 10:34 PM, Jon Ribbens wrote: > On 2017-11-06, Ben Finney wrote: >> Jon Ribbens writes: >>> On 2017-11-05, Ben Finney wrote: >>> > Jon Ribbens writes: >>> >> I've provided you with a way of thinking about 'for...else' that makes >>> >> its purpose and meaning intuitively

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread bartc
On 06/11/2017 02:28, Steve D'Aprano wrote: On Sat, 4 Nov 2017 03:57 pm, Michael Torrie wrote: Can you be more specific? What are some of these "many" ways of aborting a loop? Help a guy out here. Aside from more exotic methods such as os.abort, os._exit and signal handlers, the common ways

Re: replacing `else` with `then` in `for` and `try`

2017-11-06 Thread Jon Ribbens
On 2017-11-06, Ben Finney wrote: > Jon Ribbens writes: >> On 2017-11-05, Ben Finney wrote: >> > Jon Ribbens writes: >> >> I've provided you with a way of thinking about 'for...else' that makes >> >> its purpose and meaning intuitively obvious. >> > >> > I've read that sentence several times, an