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
jeanpierr...@gmail.com wrote:
On Sun, Jul 22, 2012 at 7:14 PM, Bruce Sherwood
bruce.sherw...@gmail.com wrote:
(2) My hand
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: Binary data
--
http
On Sat, Jul 21, 2012 at 5:47 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sat, 21 Jul 2012 17:10:05 -0600, Bruce Sherwood
bruce.sherw...@gmail.com declaimed the following in
gmane.comp.python.general:
Thanks, but the problem I need to solve does not permit putting a
function like
On Sun, Jul 22, 2012 at 3:48 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sun, 22 Jul 2012 13:04:25 -0600, Bruce Sherwood
bruce.sherw...@gmail.com 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
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 AM, Dieter Maurer die...@handshake.de wrote
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 math import sin
print(sin(3.14159/6
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 d...@davea.name wrote:
Two of the things you mustn't do during an import:
1) start or end any threads
2) import something
On Sat, Jul 21, 2012 at 2:53 PM, Dave Angel d...@davea.name 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, 2012 at 10:26 AM, Dave Angel d
On Sat, Jul 21, 2012 at 4:16 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sat, 21 Jul 2012 10:11:30 -0600, Bruce Sherwood
bruce.sherw...@gmail.com declaimed the following in
gmane.comp.python.general:
---
testABA.py -- execute this file
from ABA import
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
bruce.sherw...@gmail.com wrote:
I'm trying to do something rather tricky, in which a program imports a
module that starts a thread that exec's a (possibly altered
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:
from import_test import *
print('exec this file
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
#
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 in stuff:
...
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
Of course, since the OP was talking Windows... the #! line is
ignored no matter where it was G
Yes, but I use Windows, Mac and Linux so I'm searching for something
universal.
--
http://mail.python.org/mailman/listinfo/python-list
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
():
First draft tests are Windows-based
import platform
assert platform.system() == 'Windows'
class test_paths():
def setUp(self):
self.paths = [
(C:\\),
(C:\\, Users, Bruce Eckel, Downloads,
AtomicScala.zip),
(C:\\, Users, Bruce Eckel, Dropbox
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 ...
--
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,
!
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.govmailto:bruce.na...@kingcounty.gov
--
http://mail.python.org/mailman/listinfo/python-list
Bruce Ferris bferri...@bferris.co.uk added the comment:
The PYTHONIOENCODING=utf-8 setting works great if I have code page 65001 set.
I haven't, however, done a complete console functionality check with that
setting but, thanks for the input -- it solves the current problem I'm
experiencing
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 DIV/DIV around the
tr/td in question...
Curious as to how to accomplish this.
+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
spliced together.
--- Bruce
Follow me: http://www.twitter.com/Vroo http://www.vroospeak.com
--
http://mail.python.org/mailman/listinfo/python-list
Bruce Ferris bferri...@bferris.co.uk added the comment:
Victor, thanks for replying and I've had a quick read of everything that went
on for issue #1602. I think there's some misunderstanding in what I'm saying
here. Maybe this will help clear up what I'm saying...
D:\chcp
Active code
Bruce Ferris bferri...@bferris.co.uk added the comment:
I use code page 65001 because 1) it displays the UTF-8 characters in my text
files with echo filename on the command line, and 2) that's Microsoft's
official (whatever that means) code page for UTF-8, and 3) it works in
cmd.exe.
Setting
Bruce Ferris bferri...@bferris.co.uk added the comment:
I disagree with the it's not really a GPF since it calls Abort.
Consider the following cmd.exe session...
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
D:\chcp 65001
Active
New submission from Bruce Ferris bferri...@bferris.co.uk:
The following scenario GPFs on Windows Vista using cmd.exe...
D:\python
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
^Z
Changes by Bruce Ferris bferri...@bferris.co.uk:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12632
___
___
Python-bugs-list
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
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 br
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
Subject: Re: Newbie help - Programming the Semantic Web with Python
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?
Thanks,
Bruce
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 r...@panix.com wrote:
In article mailman.52.1302022780.9059.python-l...@python.org,
geremy condra debat...@gmail.com
(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
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 misceveryth...@gmail.com wrote:
For a Python script with multiple command line options, what is the
best way to
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 buildroot, I am able
), 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 mon...@joemoney.net wrote:
When i open a file in python, and then print the
contents line by line
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 () eryk...@gmail.com wrote:
On Monday, March 14, 2011 9:45:51 AM UTC-4, eryksun () wrote:
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 seconds usecs/call callserrors syscall
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Thanks for the reassurance, Ned. I would be happy to help, but frankly I don't
know my way around in IDLE very well, and I pretty much tried simply to get
Polo's changes into the hopper. Presumably if you want a view of the separate
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Yes. After installation, you'll see that Python 3.1 is in
/Library/Frameworks/Python.framework/Versions/3.1
Bruce Sherwood
On Tue, Nov 2, 2010 at 1:45 PM, Éric Araujo rep...@bugs.python.org wrote:
Éric Araujo mer...@netwok.org added
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Now I understand what you're getting at; I didn't realize that you were aiming
at the possible distinction between 3 and 3.1. Yes, this is what bothered me
and prompted my original posting. Python 3.1 goes into the same framework
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Thanks for the detailed explanation. What had not occurred to me was to read
the README file that came with the installer. I made the mistake (that may be
made by others) of assuming continuity with installer policy, especially since
New submission from Bruce Sherwood bruce.sherw...@gmail.com:
For Python 2.x on Macs, the installer added PATH code to .profile and switched
/Library/Framework/Python.framework/Versions/Current to point to the newly
installed version of Python. Neither of these actions is carried out
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Correction: distutils.get_python_lib() returns /usr/lib/python3/dist-packages
(which does exist), while distutils.get_python_inc() returns
/usr/include/python3.1. I don't understand the shadowy existence of some
python3 files
New submission from Bruce Sherwood bruce.sherw...@gmail.com:
Using Python 3.1 installed on Ubuntu 10.10 from the package manager,
distutils.get_python_lib() returns the nonexistent location
/usr/local/python3/dist-packages instead of the correct location
/usr/local/python3.1/dist-packages
New submission from Bruce Sherwood bruce.sherw...@gmail.com:
At Guido's request, I've carried out the same update to the IDLE
distributed with Python 2.7 that I submitted for Python 3, to incorporate the
work of Guilherme Polo in the Google Summer of Code 2009. Guido was concerned
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Perhaps I've used misleadingt terminology. What I meant is that I did
do a diff between IDLE 2.7 and the result of Guilherme Polo's work,
but the latter code started from Python 3 code and was modified as
needed for 2.7 (e.g. renaming
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
At Guido's request, I've carried out the same update to the IDLE distributed
with Python 2.7 that I submitted for Python 3, to incorporate the work of
Guilherme Polo in the Google Summer of Code 2009. Guido was concerned
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
I've rebuilt and resubmitted this patch to Issue10079 as requested by Ned
Deily. This issue (10137) can now be labeled a duplicate.
--
___
Python tracker rep...@bugs.python.org
http
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
I found a couple of mistakes in the patch I submitted (places where vidle
should have been idlelib, and which aren't addressed in Ned Deily's patch),
so I've rebuilt the patch starting from the tag r32a3, which I assume is the
version
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Thanks for catching the missing utils.py file. I can explain the
missing/commented statement in IOBinding.py. I found experimentally that if
that statement is present, when you open a file on Windows the first line is
off the top
New submission from Bruce Sherwood bruce.sherw...@gmail.com:
It has just been discovered that at least since Python 2.6 on the Mac, quitting
IDLE does not prompt to save unsaved code, which is then lost. The recently
submitted diff for bringing Guilherme Polo's Google Summer of Code
Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Putting print statements in that part of the world shows that the reason why
the list.remove fails is that while a ColorDelegator.toggle_colorize_event
object is in the list, it has a different memory address than
New submission from Bruce Sherwood bruce.sherw...@gmail.com:
It is proposed to incorporate the work of Guilherme Polo in the 2009
Google Summer of Code into idlelib. Polo's enhancements have been
extensively tested for a year through being included with VPython.
Here is a description from
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 past.
Bruce
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
.
Is this a 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
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
(errorStatus, CollegeID, processTime)
values (%s, %s, from_unixtime(%s) )
On Wed, Aug 11, 2010 at 9:53 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Wed, 11 Aug 2010 08:08:21 -0700, bruce badoug...@gmail.com
declaimed the following
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
On Jul 15, 9:59 am, Tim Golden m...@timgolden.me.uk 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
terminal I manage to line up the second column like
Bruce Frederiksen dangy...@gmail.com added the comment:
No, IDLE compiles the module (with the 'compile' built-in using the 'exec'
option) and then does an 'exec' on the code (in PyShell.py). It has several
lines of code that it runs before this exec to prepare the environment that
the code
Bruce Frederiksen dangy...@gmail.com added the comment:
I have also hit this error. I went to report it but found it already entered
(good news), but not resolved from nearly a year ago (bad news).
The error masked another bug that I had in my program and it took me quite
awhile to figure
New submission from Bruce Frederiksen dangy...@gmail.com:
The python CLI always sets the __file__ variable, whether run as:
$ python foobar.py
or
$ python -m foobar
or
$ python
import foobar # __file__ set in foobar module
The idle program sets the __file__ variable properly when you do
New submission from Bruce Frederiksen dangy...@gmail.com:
I'm getting a TypeError: bad argument type for built-in operation on a
print() with no arguments. This seems to be a problem in both 3.1 and 3.1.2
(haven't tried 3.1.1).
I've narrowed the problem down in a very small demo program
Terry Reedy tjre...@udel.edu 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!
--
George Sakkis george.sak...@gmail.com 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,
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
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
New submission from Bruce vanNorman brucevannor...@gmail.com:
I don't know where this problem truly belongs, but Python did crash.
- I was trying to save my boa project when the event occurred.
- The software versions are correctly identified in the bugreport
--
components: Extension
Bruce vanNorman brucevannor...@gmail.com added the comment:
Roger that, and thanks. I've just started learning Python this summer.
Before I retired I spent 20 years supporting maintaining a rather
specialized programming language that was a component of something
called EIS (Boeing
casebash walkr...@gmail.com 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.
qwe rty hkh00...@gmail.com 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
Colin S. Miller no-spam-thank-...@csmiller.demon.co.uk 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:
Floetry scribe...@yahoo.com wrote in message
news:803a7f06-8e43-4ff5-86a6-9fd9d2eee...@2g2000prl.googlegroups.com...
On Jul 9, 8:33 pm, Bruce C. Baker b...@undisclosedlocation.net
wrote:
scribe...@yahoo.com wrote in message
news:defacf35-6149-485a-8f03-15472d63d
Musatov marty.musa...@gmail.com 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 ...?
--
Jason S. Friedman ja...@powerpull.net 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
scribe...@yahoo.com wrote in message
news:defacf35-6149-485a-8f03-15472d63d...@a39g2000pre.googlegroups.com...
ka-snip
Oh, puh-LEEZ, Martin! A two-year-old wouldn't be fooled by this!
--
http://mail.python.org/mailman/listinfo/python-list
, 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
On May 3, 7:37 am, Matt Nordhoff mnordh...@mattnordhoff.com wrote:
Uncle Bruce wrote:
snip
--
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
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 supporting
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
On Mar 7, 6:52 pm, Xah Lee xah...@gmail.com 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
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
: 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/Crawler Questions..
bruce wrote:
hi phillip...
thanks for taking
: 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 given classlist site..
the
scripts work.
the issue that one faces
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 understand the situation you're trying to describe. From
what I can tell, you're saying that the target site displays
, 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 irrelevant to the issue i'm trying to solve at
this time.
Not if we're to understand the situation
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
+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 off track. Ok, maybe way off track!
But I don't have
:
Subject: Re: file locking...
On Sun, 1 Mar 2009 10:00:54 -0800, bruce bedoug...@earthlink.net
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 of files... think of the FIFO, first in,
first out
[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 mailman.1004.1235929208.11746.python-l...@python.org, bruce
wrote:
using any kind of file locking
-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'm trying to resolve
]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 wig...@wiggly.org wrote:
bruce wrote:
Hi.
Got a bit of a question/issue that I'm trying to resolve. I'm asking
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 bedoug...@earthlink.net
escribió:
the issue that i'm looking at is analogous to a FIFO, where i have lots
of
files being shoved in a dir from different
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
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
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
101 - 200 of 420 matches
Mail list logo