Observations on the List - "Be More Kind"

2018-10-05 Thread Bruce Coram
to recognise that you are being played.  The intemperate tone of some of the exchanges damages the reputation of the List. Life is hard enough without us adding to it.  Try silence as a response. Listen to Frank Turner's latest album: "Be More Kind".   That is not a plug to buy t

Re: Python to do CDC on XML files

2016-03-23 Thread Bruce Kirk
I agree, the challenge is the volume of the data to compare is 13. Million records. So it needs to be very fast Sent from my iPad > On Mar 23, 2016, at 4:47 PM, Bob Gailer wrote: > > > On Mar 23, 2016 4:20 PM, "Bruce Kirk" wrote: > > > > Does anyone know

Python to do CDC on XML files

2016-03-23 Thread Bruce Kirk
Does anyone know of any existing projects on how to generate a change data capture on 2 very large xml files. The xml structures are the same, it is the data within the files that may differ. I need to take a XML file from yesterday and compare it to the XML file produced today and not which X

How does one distribute Tkinter or Qt GUI apps Developed in Python

2015-12-16 Thread Bruce Whealton
so hard for the non-technical, average users. I would want to package in some way so that when launched, it installs whatever is needed on the end user's computer. How is this done? Are there common practices for this? Thanks, Bruce -- https://mail.python.org/mailman/listinfo/python-list

Re: try/exception - error block

2014-08-03 Thread bruce
Hi Alan. Yep, the err file in the exception block gets created. and the weird thing is it matches the time of the abrtd information in the /var/log/messages log.. Just nothing in the file! On Sun, Aug 3, 2014 at 4:01 PM, Alan Gauld wrote: > On 03/08/14 18:52, bruce wrote: > >>

Re: try/exception - error block

2014-08-03 Thread bruce
eption!!! > > but thanks for the information on posting test code! Don't email me privately - respond to the list :) Also, please don't top-post. ChrisA On Sun, Aug 3, 2014 at 10:29 AM, bruce wrote: > Hi. > > I have a long running process, it generates calls to a separate py &

try/exception - error block

2014-08-03 Thread bruce
Hi. I have a long running process, it generates calls to a separate py app. The py app appears to generate errors, as indicated in the /var/log/messages file for the abrtd daemon.. The errors are intermittent. So, to quickly capture all possible exceptions/errors, I decided to wrap the entire "ma

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Monday, July 28, 2014 11:28:40 AM UTC-4, Steven D'Aprano wrote: > On Mon, 28 Jul 2014 03:39:48 -0700, Bruce Whealton wrote: Stephen, I went to my Ubuntu box inside vmware and added a #!/usr/bin/env python2.7 to the top. Then I made the file executable and it ran the code p

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Friday, July 25, 2014 11:25:15 PM UTC-4, Chris Angelico wrote: > On Sat, Jul 26, 2014 at 10:06 AM, Bruce Whealton > Chris, In response to your comments below, I'm comfortable changing this to use python 3. > As others have said, this is something that changed in Python 3.

Re: Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-28 Thread Bruce Whealton
On Friday, July 25, 2014 9:28:32 PM UTC-4, Steven D'Aprano wrote: > On Fri, 25 Jul 2014 17:06:17 -0700, Bruce Whealton wrote: Steven, See below please. The explanation did help. > > > OK, Eclipse with PyDev doesn't like this first line, with the function: > > >

Prob. Code Downloaded for Programming the Semantic Web (python code)

2014-07-25 Thread Bruce Whealton
e, thus it is strange that I am getting stuck here. Thanks, Bruce -- https://mail.python.org/mailman/listinfo/python-list

Strange Error with pip install.

2014-07-25 Thread Bruce Whealton
ngo stack. Does anyone have any suggestions about this problem I am having using pip install inside Windows (Windows 8, if that matters)? Thanks in advance, Bruce -- https://mail.python.org/mailman/listinfo/python-list

[no subject]

2014-03-18 Thread Nathan Bruce
Hi I was wondering how much your oxycontins are for what mg and quantity. Also do you guys sell dilaudid? Thank you -- https://mail.python.org/mailman/listinfo/python-list

find matching contiguous text

2013-11-22 Thread bruce
Hi. I have a xpath test that generates the text/html between two xpath functions, basically a chunk of HTML between two dom elements. However, it's slow. As a test, I'd like to compare the speed if I get all the HTML following a given element, and then get all the HTML preceding a given element..

Re: splitting file/content into lines based on regex termination

2013-11-07 Thread bruce
print "m = "+m # # #sys.exit() for m in dat2: if m: print "m = "+m #sys.exit() sys.exit() return the test data is pasted to -->>> http://bpaste.net/show/kYzBUIfhc5023phOVmcu/ thanks !! On Thu, Nov 7, 2013 at 1:13 PM, MRAB wrote: &g

Re: splitting file/content into lines based on regex termination

2013-11-07 Thread bruce
#x27;d have the results of the "compile/regex process" to be added to the split lines thoughts/comments?? thanks On Thu, Nov 7, 2013 at 12:15 PM, bruce wrote: > hi. > > got a test file with the sample content listed below: > > the content is one long string, and needs

splitting file/content into lines based on regex termination

2013-11-07 Thread bruce
hi. got a test file with the sample content listed below: the content is one long string, and needs to be split into separate lines I'm thinking the pattern to split on should be a kind of regex like:: #45 / 58#0# or #9 / 58#0 but i have no idea how to make this happen!! if i read the content i

trying to strip out non ascii.. or rather convert non ascii

2013-10-26 Thread bruce
hi.. getting some files via curl, and want to convert them from what i'm guessing to be unicode. I'd like to convert a string like this:: Alcántar, Iliana to:: Alcantar, Iliana where I convert the " á " to " a" which appears to be a shift of 128, but I'm not sure how to accomplish this.. I've

web2py - running on fedora

2013-08-30 Thread bruce
e existing webapps (php apps) don't get screwed up. Thanks -bruce -- http://mail.python.org/mailman/listinfo/python-list

crawling/parsing a webpage based on dynamic javascript

2013-08-18 Thread bruce
Hi. Looking at using python/cerely/twisted to test in parsing a test site. Also looking at being able to parse a site created using dynamic javascript. I've got test apps to parse a site, but I'm interested in getting a better understanding of using multi-thread/multi-processing approaches to spi

Re: looking for a new router

2013-07-09 Thread Kumita Bruce
rvice, tell them what you're needing, and support local > business with your custom. That'll be more helpful to you than asking > on a mailing list that's about Python. :) > > ChrisA > -- > http://mail.python.org/mailman/listinfo/python-list > -- Cheers, Bruce -- http://mail.python.org/mailman/listinfo/python-list

Re: Atoms, Identifiers, and Primaries

2013-04-17 Thread Bruce McGoveran
trying to ask. In general terms, I am trying to understand how Python evalutes the expression x and y in this context. For my sanity's sake (and, perhaps, for yours) I will stop there. I send thanks in advance for any thoughts you have on my questions. On Tuesday, April 16, 2013 10:57:25

Atoms, Identifiers, and Primaries

2013-04-16 Thread Bruce McGoveran
questions. I appreciate in advance any thoughts the group can offer. The relevant documentation link is: http://docs.python.org/2/reference/expressions.html#expressions Thanks, Bruce -- http://mail.python.org/mailman/listinfo/python-list

Re: Understanding Boolean Expressions

2013-04-16 Thread Bruce McGoveran
Thank you all for thoughts. I'm just about to post another question about atoms and primaries. If you have a moment to look it over, I would appreciate your thoughts. Many thanks in advance. On Tuesday, April 16, 2013 6:19:25 PM UTC-4, Bruce McGoveran wrote: > Hello. I am new to th

Understanding Boolean Expressions

2013-04-16 Thread Bruce McGoveran
Hello. I am new to this group. I've done a search for the topic about which I'm posting, and while I have found some threads that are relevant, I haven't found anything exactly on point that I can understand. So, I'm taking the liberty of asking about something that may be obvious to many rea

RE: help with simple print statement!

2012-08-24 Thread Bruce Krayenhoff
Thank-you all, it works now! Best Wishes, Bruce C: 604-441-5791 <https://www.google.com/calendar/embed?src=ecuiatvm07anmj3ch314if3gns%40grou p.calendar.google.com&ctz=America/Vancouver> My Availability From: python-list-bounces+wbrucek=gmail@python.org [mailto:p

Re: A thread import problem

2012-07-23 Thread Bruce Sherwood
hose of you who have made suggestions in this forum that fed into finding a solution. I'll put in a big plug for wxPython (wxpython.org), which is a great way to do cross-platform GUI development with Python. Bruce Sherwood userpoll.py Description: Binary data wxpoll.py Description:

Re: A thread import problem

2012-07-23 Thread Bruce Sherwood
Thanks much for the useful suggestion, and also thanks for your sympathy and understanding of my plight! Bruce Sherwood On Sun, Jul 22, 2012 at 11:50 PM, Devin Jeanpierre wrote: > On Sun, Jul 22, 2012 at 7:14 PM, Bruce Sherwood > wrote: >> (2) My hand is forced by Apple no longe

Re: A thread import problem

2012-07-22 Thread Bruce Sherwood
On Sun, Jul 22, 2012 at 3:48 PM, Dennis Lee Bieber wrote: > On Sun, 22 Jul 2012 13:04:25 -0600, Bruce Sherwood > declaimed the following in > gmane.comp.python.general: > > >> Another way of saying this is that I'm not building an app, in which >> case I would

Re: A thread import problem

2012-07-22 Thread Bruce Sherwood
On Sat, Jul 21, 2012 at 5:47 PM, Dennis Lee Bieber wrote: > On Sat, 21 Jul 2012 17:10:05 -0600, Bruce Sherwood > declaimed the following in > gmane.comp.python.general: > > >> Thanks, but the problem I need to solve does not permit putting a >> function like runn

Re: A thread import problem

2012-07-21 Thread Bruce Sherwood
On Sat, Jul 21, 2012 at 4:16 PM, Dennis Lee Bieber wrote: > On Sat, 21 Jul 2012 10:11:30 -0600, Bruce Sherwood > declaimed the following in > gmane.comp.python.general: > > >> >> --- >> testABA.py -- execute this file >> >

Re: A thread import problem

2012-07-21 Thread Bruce Sherwood
On Sat, Jul 21, 2012 at 2:53 PM, Dave Angel wrote: > On 07/21/2012 04:36 PM, Bruce Sherwood wrote: >> Thanks much for this clear statement. I hadn't managed to find any >> documentation on this specific issue. >> >> Bruce Sherwood >> >> On Sat, Jul 21,

Re: A thread import problem

2012-07-21 Thread Bruce Sherwood
Thanks much for this clear statement. I hadn't managed to find any documentation on this specific issue. Bruce Sherwood On Sat, Jul 21, 2012 at 10:26 AM, Dave Angel wrote: > Two of the things you mustn't do during an import: > > 1) start or end any threads > 2) import so

Re: A thread import problem

2012-07-21 Thread Bruce Sherwood
l be able to tell me that I'm doing something wrong! Incidentally, a simple test is to execute the file ABA.py, in which case everything works. Bruce Sherwood --- testABA.py -- execute this file from ABA import * print('exec testABA') from

Re: A thread import problem

2012-07-21 Thread Bruce Sherwood
e to have A import B and B import A, though now that you describe this (if that's indeed what you mean) it makes sense. The original instance of A won't get past its initial import statement because the main loop won't return to it. Bruce Sherwood On Sat, Jul 21, 2012 at 2:32

Re: A thread import problem

2012-07-20 Thread Bruce Sherwood
the challenge is to have the visual module set up the Cocoa environment, with the user's program running in a secondary thread. Any ideas? Bruce Sherwood On Wed, Jul 18, 2012 at 5:03 PM, Bruce Sherwood wrote: > I'm trying to do something rather tricky, in which a program imports a >

A thread import problem

2012-07-18 Thread Bruce Sherwood
blem. I've tried with no success various versions of the exec statement, with respect to its global and local environment. Can anyone explain why the math import statement causes a problem? Thanks for any advice you can give. Bruce Sherwood --- The main program: fr

Re: Inheriting from OrderedDict causes problem

2012-02-22 Thread Bruce Eckel
On Feb 22, 10:10 am, Peter Otten <__pete...@web.de> wrote: > Looks like invoking OrderedDict.__init__() is necessary: > > >>> from collections import OrderedDict > >>> class X(OrderedDict): > > ...     def __init__(self, stuff): > ...             super(X, self).__init__() > ...             for k, v

Inheriting from OrderedDict causes problem

2012-02-22 Thread Bruce Eckel
Notice that both classes are identical, except that one inherits from dict (and works) and the other inherits from OrderedDict and fails. Has anyone seen this before? Thanks. import collections class Y(dict): def __init__(self, stuff): for k, v in stuff: self[k] = v # Thi

Re: Python code file prototype

2012-02-17 Thread Bruce Eckel
>         Of course, since the OP was talking Windows... the #! line is > ignored no matter where it was Yes, but I use Windows, Mac and Linux so I'm searching for something universal. -- http://mail.python.org/mailman/listinfo/python-list

Python code file prototype

2012-02-17 Thread Bruce Eckel
I finally figured out how to set up the Windows explorer's right-click "new" so that it will create Python files. Here's how: http://superuser.com/questions/34704/windows-7-add-an-item-to-new-context-menu There's an option when you do this to insert default file contents, so I began searching the

Re: Automatic Type Conversion to String

2012-02-15 Thread Bruce Eckel
> Could it be that you missed the fact that strings are immutable? That > means that you can't change the content of the object once it is > initialized. In particular, it means that you e.g. have to override > __new__ instead of __init__, because the content is already fixed when > the latter is c

Re: Automatic Type Conversion to String

2012-02-13 Thread Bruce Eckel
I'm willing to subclass str, but when I tried it before it became a little confusing -- I think mostly because anytime I assigned to self it seemed like it converted the whole object to a str rather than a Path. I suspect I don't know the proper idiom for doing this -- any hints? Thanks ... --

Automatic Type Conversion to String

2012-02-13 Thread Bruce Eckel
oes this path exist? So you can say "if path:" """ return bool(os.path.exists(self.path)) """ Nose tests. To run, you must first install nose: pip install nose Then: nosetests path.py """ def test_platform(): "

generating unique set of dicts from a list of dicts

2012-01-10 Thread bruce
trying to figure out how to generate a unique set of dicts from a json/list of dicts. initial list ::: [{"pStart1a": {"termVal":"1122","termMenu":"CLASS_SRCH_WRK2_STRM","instVal":"OSUSI", "instMenu":"CLASS_SRCH_WRK2_INSTITUTION","goBtn":"CLASS_SRCH_WRK2_SSR_PB_SRCH", "pagechk":"CLASS_SRCH_WRK2_SS

pythoncom on Windows Server 2008

2011-11-29 Thread Nairn, Bruce
ions would be appreciated! Bruce Nairn King County Wastewater Treatment Division 201 S Jackson St., KSC-NR-0503 Seattle, WA, 98104-3855 206-263-3693 email: bruce.na...@kingcounty.gov<mailto:bruce.na...@kingcounty.gov> -- http://mail.python.org/mailman/listinfo/python-list

libxml2dom quesiton

2011-09-14 Thread bruce
Hi. Test question. Trying to see how to insert a test node into an existing dom tree. For the test, it has a TR/TD with a td[@class="foo"] that has an associated TR.. Trying to figure out how out how to insert a "" around the tr/td in question... Curious as to how to accomplish this. Thoughts/p

Re: [Python-ideas] allow line break at operators

2011-08-11 Thread Bruce Leban
ments that have a different meaning when spliced together. --- Bruce Follow me: http://www.twitter.com/Vroo http://www.vroospeak.com -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] allow line break at operators

2011-08-11 Thread Bruce Leban
is not valid today without parens or \ regardless of indentation. I'm +0 on this. I'd use it but does it really add enough convenience? --- Bruce Follow me: http://www.twitter.com/Vroo http://www.vroospeak.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie help - Programming the Semantic Web with Python

2011-07-16 Thread Bruce Whealton
those included modules would have to get compiled with the rest of the code for it to work, right? Bruce -Original Message- From: Chris Angelico Sent: Saturday, July 09, 2011 10:10 PM To: python-list@python.org Subject: Re: Newbie help - Programming the Semantic Web with Python On Sun, Jul

Re: Newbie help - Programming the Semantic Web with Python

2011-07-11 Thread Bruce Whealton
I'll paste a link to where the code exists. Could someone help me figure it out please. The code is here on the site: http://semprog.com/content/the-book/ I wonder if I can also try it out from the IDLE interactive session. Thanks, Bruce On Sun, Jul 10, 2011 at 11:32 AM, Bruce Whealton

Re: Newbie help - Programming the Semantic Web with Python

2011-07-10 Thread Bruce Whealton
n the web, this might be a good way to learn. I don't know if I should look for Python applications, or if I'll have more luck looking for Python Libraries. Thanks, Bruce -Original Message- From: Andrew Berg Sent: Saturday, July 09, 2011 10:44 PM To: comp.lang.python Subje

Newbie help - Programming the Semantic Web with Python

2011-07-09 Thread Bruce Whealton
IDLE, I can just use >>>from simplegraph import SimpleGraph That means it is going to look for a file named simplegraph.py but where will it be looking? I guess I would have to have it in the same folder as the python interpreter or one of the PATH directories, right? Than

Re: How to program in Python to run system commands in 1000s of servers

2011-04-06 Thread bruce bushby
Hi Roy Two things you can look at: func https://fedorahosted.org/func/ mcollective http://docs.puppetlabs.com/mcollective/ On Wed, Apr 6, 2011 at 2:24 AM, Roy Smith wrote: > In article , > geremy condra wrote: > > > On Tue, Apr 5, 2011 at 7:51 AM, Babu wrote: > > > > > > Here is my pr

python 2.7.1 "serial" vs "pyserial"

2011-03-25 Thread bruce bushby
lots of scripts "import serial" and then "ser.readline(size=None, eol=chr(13))" . whereas I can only "ser.readline()" without any keywords or arguments. Thanks Bruce -- http://mail.python.org/mailman/listinfo/python-list

readline module (python: symbol 'tgetnum': can't resolve symbol)

2011-03-23 Thread bruce bushby
Hi I'm hoping the list could give me some insight into how python behaves when it has been compiled with "readline". I sent the following email to the uClibc list which describes my problem, any tips or pointers would be much appreciated! Thanks Bruce Using buildroo

Re: Validating Command Line Options

2011-03-23 Thread bruce bushby
optparse? http://docs.python.org/library/optparse.html if options.a and options.b: parser.error("options -a and -b are mutually exclusive") On Wed, Mar 23, 2011 at 2:10 PM, T wrote: > For a Python script with multiple command line options, what is the > best way to go about validating th

Re: file print extra spaces

2011-03-22 Thread bruce bushby
on I forget the exact syntax, something like "print(line)," to prevent the carriage return from "print", but ideally you should clean up the line if it's contaminated without unexpected characters. Bruce On Wed, Mar 23, 2011 at 1:33 AM, monkeys paw wrote: > Whe

Re: organizing many python scripts, in a large corporate environment.

2011-03-14 Thread bruce bushby
I'm probably going off on a tangent here..but has anybody seen any efforts to allow python to "import modules via a socket" ...rather then just a "dir path" ? On Mon, Mar 14, 2011 at 7:56 PM, eryksun () wrote: > On Monday, March 14, 2011 9:45:51 AM UTC-4, eryksun () wrote: > > > > If you

embedded python 2.7.1 slow startup

2011-03-08 Thread bruce bushby
hey're responsible for 40% of my scripts execution time. I was wondering if there is a way to prevent python from attempting to open files I know are not there? Thanks Bruce # strace -ce trace=open ./fib.py 1 1 2 3 5 8 13 21 34 55 89 144 % time se

Re: Having problem with subclass

2010-09-30 Thread Bruce Pearson
Try: import A class Bclass(A.Aclass) ...rest of code On 1/10/2010 9:54 AM, tekion wrote: All, I have file name A.py with a class name Aclass. I have a file name B.py with sub class of Aclass, like import A class Bclass(Aclass) ...rest of code When I test it, calling B.py, I am getting: class

Re: Clarification of notation

2010-09-30 Thread Bruce W.
So, this kind of notation would be different: args[0][2] verses args[[0][2]] the latter is multidimensional. Can you think of example of using this type of list? I don't know why this had me a bit confused. I've got to get into programming more... I had done more in the pa

Clarification of notation

2010-09-29 Thread Bruce Whealton
nesting of two lists inside a a third list? I know that it would suggest that some of the arguments are optional, so perhaps if there are 2 items the first is the sub, and the second is start? Or did I read that backwards? Thanks, Bruce -- http://mail.python.org/mailman/listinfo/python-list

Re: mysqldb - parameter issue

2010-08-11 Thread bruce
c.. i didn't see anything that discussed this... thanks >ins = """insert into functionError_TBL >(errorStatus, CollegeID, processTime) >values (%s, %s, from_unixtime(%s) )""" > On We

mysqldb - parameter issue

2010-08-11 Thread bruce
hi... using python v2.6, using the mysqldb lib the test tbl looks like: DROP TABLE IF EXISTS `functionError_TBL`; CREATE TABLE `functionError_TBL` ( `parentFunction` varchar(100) NOT NULL default '', `currentFunction` varchar(100) NOT NULL default '', `parentFunctionID` int(10) NOT NULL def

Re: whitespace in a word doc

2010-07-15 Thread Bruce
On Jul 15, 9:59 am, Tim Golden wrote: > On 15/07/2010 08:45, Bruce wrote: > > > > > > > I'm trying to create a word doc using win32com. I don't get the same > > whitespace as when printing the same stuff in the dos window. At the > > termi

whitespace in a word doc

2010-07-15 Thread Bruce
I'm trying to create a word doc using win32com. I don't get the same whitespace as when printing the same stuff in the dos window. At the terminal I manage to line up the second column like apples 5 pears7 I do this by adding whitespace characters to the strings in the first

Re: Your beloved python features

2010-02-06 Thread Bruce C. Baker
"Terry Reedy" wrote in message news:mailman.1929.1265328905.28905.python-l...@python.org... > Iterators, and in particular, generators. > A killer feature. > > Terry Jan Reedy > Neither unique to Python. And then're the other killer "features" superfluous ":"s and rigid formatting! -- http

Re: Your beloved python features

2010-02-05 Thread Bruce C. Baker
"George Sakkis" wrote in message news:de06116c-e77c-47c4-982d-62b48bca5...@j31g2000yqa.googlegroups.com... I'll give the benefit of doubt and assume you're joking rather than trolling. George * Not trolling, my friend! GvR got it

python - fetching, post, cookie question

2009-12-21 Thread bruce
hi... the following sample is an attempt to fetch two subsequent pages from a sameple site. (it's public) the script attempts to implement a request, using the POST method, as well as as cookies. Testing using LiveHttpHeaders/Firefox indicates that the app uses post/cookies, and it doesn't work if

[no subject]

2009-12-21 Thread bruce
hi... the following sample is an attempt to fetch two subsequent pages from a sameple site. (it's public) the script attempts to implement a request, using the POST method, as well as as cookies. Testing using LiveHttpHeaders/Firefox indicates that the app uses post/cookies, and it doesn't work if

Re: Why does this group have so much spam?

2009-08-29 Thread Bruce C. Baker
"casebash" wrote in message news:7294bf8b-9819-4b6d-92b2-afc1c8042...@x6g2000prc.googlegroups.com... > So much of it could be removed even by simple keyword filtering. Assuming this is a serious question: 1. comp.lang.python has relatively little spam, compared to others. 2. The spam posters

Re: What python can NOT do?

2009-08-28 Thread Bruce C. Baker
"qwe rty" wrote in message news:00a36f89-52dd-4d90-a455-cee6a0c9d...@q5g2000yqh.googlegroups.com... >i know that an interpreted language like python can't be used to make > an operating system or system drivers. > > what else can NOT be done in python? what are the limitations of the > language?

Re: python doc available in emacs info format?

2009-08-17 Thread Bruce Stephens
"Colin S. Miller" writes: [...] > Ubuntu maintains a package search site, it is on > http://packages.ubuntu.com/ > > However, there seems to be no files named > python.*info (regexp) And yet there are info files in python2.5-doc: .

Re: AP -- MeAmI.org Paces Google

2009-07-10 Thread Bruce C. Baker
"Musatov" wrote in message news:fe9969b0-3c6a-49f7-8f38-0ed89dc9a...@x6g2000prc.googlegroups.com... [snip-a-rooney] > violator." Google could not be reached for comment. Possibly because they were laughing so hard they couldn't hear their cell phones ringing ...? -- http://mail.python.org

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Bruce C. Baker
"Floetry" wrote in message news:803a7f06-8e43-4ff5-86a6-9fd9d2eee...@2g2000prl.googlegroups.com... On Jul 9, 8:33 pm, "Bruce C. Baker" wrote: > wrote in message > > news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com... > > > > Oh,

Re: AP -- MeAmI.org Paces Google

2009-07-09 Thread Bruce C. Baker
wrote in message news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com... Oh, puh-LEEZ, Martin! A two-year-old wouldn't be fooled by this! -- http://mail.python.org/mailman/listinfo/python-list

Re: language analysis to enforce code standards

2009-07-09 Thread Bruce C. Baker
"Jason S. Friedman" wrote in message news:mailman.2927.1247192026.8015.python-l...@python.org... > Hello, I administer the Informatica ETL tool at my company. Part of that > role involves creating and enforcing standards. I want the Informatica > developers to add comments to certain key obj

Re: Use of Unicode in Python 2.5 source code literals

2009-05-03 Thread Uncle Bruce
On May 3, 7:37 am, Matt Nordhoff wrote: > Uncle Bruce wrote: > -- I think I've figured it out! What I was trying to do was to enter the literal strings directly into the IDLE interpreter. The IDLE interpreter will not accept high codepoints directly. However, when I put a defined

Use of Unicode in Python 2.5 source code literals

2009-05-03 Thread Uncle Bruce
ers in source code literals in Python 2.5.4? Also, in the Windows version of Python, how can I tell if it was compiled to support 16 bits of Unicode or 32 bits of Unicode? Bruce in Toronto -- http://mail.python.org/mailman/listinfo/python-list

RE: Open source web crawler with mysql integration

2009-04-10 Thread bruce
phillip... lots of code is opened source "as is"!!! when you get right down to it, a good deal of "open source" code from sourceforge/hotscritps/freshmeat/etc.. is pretty poor, but it is open sourced. you could simply toss your code out into the open source pool, and not be worried about support

RE: is this possible (getting info off web page)

2009-04-09 Thread bruce
Hi Esmail. I've not looked at the site. however, i can give you some general pointers that might help you in solving your issue. first off, try to accomplish your goal, using curl, or one of the other cmdline apps that fetch page data. this allows you to quickly nail down any issues that might oc

Re: Ban Xah Lee

2009-03-20 Thread Bruce C. Miller
On Mar 7, 6:52 pm, Xah Lee wrote: > Of interest: > > • Why Can't You Be Normal? Though I doubt this will do any good, I'll offer some advice that hasn't been mentioned here and solved a lot of the problems I've had early in life with resistance to overly-emotional negative reactions to my opinion

RE: Parsing/Crawler Questions - solution

2009-03-07 Thread bruce
and this solution will somehow allow a user to create a web parsing/scraping app for parising links, and javascript from a web page? -Original Message- From: python-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Beha

RE: Parsing/Crawler Questions - solution

2009-03-05 Thread bruce
@python.org]on Behalf Of John Nagle Sent: Thursday, March 05, 2009 10:54 AM To: python-list@python.org Subject: Re: Parsing/Crawler Questions - solution Philip Semanchuk wrote: > On Mar 5, 2009, at 12:31 PM, bruce wrote: > >> hi.. >> >> the url i'm focusing on is irrele

RE: Parsing/Crawler Questions - solution

2009-03-05 Thread bruce
ject: Re: Parsing/Crawler Questions - solution Philip Semanchuk wrote: > On Mar 5, 2009, at 12:31 PM, bruce wrote: > >> hi.. >> >> the url i'm focusing on is irrelevant to the issue i'm trying to solve at >> this time. > > Not if we're to unde

RE: Parsing/Crawler Questions..

2009-03-05 Thread bruce
on.org]on Behalf Of John Nagle Sent: Thursday, March 05, 2009 8:38 AM To: python-list@python.org Subject: Re: Parsing/Crawler Questions.. bruce wrote: > hi john.. > > You're missing the issue, so a little clarification... > > I've got a number of test parsers that point to a g

RE: Parsing/Crawler Questions..

2009-03-05 Thread bruce
parsing functions... Thanks.. -Original Message- From: python-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of John Nagle Sent: Wednesday, March 04, 2009 10:23 PM To: python-list@python.org Subject: Re: Parsing/

RE: Parsing/Crawler Questions..

2009-03-04 Thread bruce
.@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of Philip Semanchuk Sent: Wednesday, March 04, 2009 6:15 PM To: python-list (General) Subject: Re: Parsing/Crawler Questions.. On Mar 4, 2009, at 4:44 PM, bruce wrote: > Hi... > > Sorry that this is a bit of

Parsing/Crawler Questions..

2009-03-04 Thread bruce
Hi... Sorry that this is a bit off track. Ok, maybe way off track! But I don't have anyone to bounce this off of.. I'm working on a crawling project, crawling a college website, to extract course/class information. I've built a quick test app in python to crawl the site. I crawl at the top level

RE: file locking...

2009-03-03 Thread bruce
March 01, 2009 11:41 AM To: undisclosed-recipients: Subject: Re: file locking... On Sun, 1 Mar 2009 10:00:54 -0800, "bruce" declaimed the following in comp.lang.python: > > Except in my situation.. the client has no knowledge of the filenaming > situation, and i might have 1000s

RE: file locking...

2009-03-02 Thread bruce
python-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of Lawrence D'Oliveiro Sent: Monday, March 02, 2009 12:29 AM To: python-list@python.org Subject: RE: file locking... In message , bruce wrote: > using any kind of file lo

RE: file locking...

2009-03-01 Thread bruce
.org]on Behalf Of Gabriel Genellina Sent: Sunday, March 01, 2009 9:50 AM To: python-list@python.org Subject: Re: file locking... En Sun, 01 Mar 2009 15:39:56 -0200, bruce escribió: > the issue that i'm looking at is analogous to a FIFO, where i have lots > of > files being shoved in a dir

RE: file locking...

2009-03-01 Thread bruce
@python.org]on Behalf Of Nigel Rantor Sent: Sunday, March 01, 2009 2:00 AM To: koranthala Cc: python-list@python.org Subject: Re: file locking... koranthala wrote: > On Mar 1, 2:28 pm, Nigel Rantor wrote: >> bruce wrote: >>> Hi. >>> Got a bit of a question/is

RE: file locking...

2009-03-01 Thread bruce
-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of MRAB Sent: Sunday, March 01, 2009 8:04 AM To: python-list@python.org Subject: Re: file locking... bruce wrote: > Hi. > > Got a bit of a question/issue that I'

file locking...

2009-02-28 Thread bruce
Hi. Got a bit of a question/issue that I'm trying to resolve. I'm asking this of a few groups so bear with me. I'm considering a situation where I have multiple processes running, and each process is going to access a number of files in a dir. Each process accesses a unique group of files, and th

pythojn/xpath question...

2009-02-16 Thread bruce
hi... using libxml2dom as the xpath lib i've got a situation where i can have: foo=a.xpath( /html/body/table[2]/tr[45]/td) and i can get 11 as the number of returned td elements for the 45th row... this is as it should be. however, if i do: foo=a.xpath( /html/body/table[2]/tr) and then try

testing xml against xpather with firefox

2009-02-15 Thread bruce
ather function works as expected. i've posted all the code/output/XPather xpath to pastebin to save space.. i can send everything i have to whoever can help!! http://pastebin.com/m26acf804 thanks! -bruce -- http://mail.python.org/mailman/listinfo/python-list

RE: Could you recommend job schedulling solution?

2009-02-11 Thread bruce
hi... not sure exactly what you're looking for, but "condor" has a robust job scheduling architecture for dealing with grid/distributed setups over multiple systems.. give us more information, and there might be other suggestions! -Original Message- From: python-list-bounces+bedouglas=e

RE: PYTHON HTTP POST WORKING EXAMPLE NEEDED

2009-01-23 Thread bruce
hey didn't get the initial post/ just what is the original poster looking for?? -Original Message- From: python-list-bounces+bedouglas=earthlink@python.org [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf Of r Sent: Friday, January 23, 2009 5:03 PM To: py

  1   2   3   4   >