RE: Any college offering Python short term course?

2005-11-21 Thread bruce
/large selection... it appears that some of the classes are taught by adjunct/part-time faculty, and they're not that easy to get to... if anybody knows of user-groups that also have this kind of talent, i'd appreciate it as well... send responses to the list as well!!! thanks -bruce -Original

Re: How to clear screen in Python interactive shell mode?

2005-09-16 Thread bruce
elif os.name in (nt, dos, ce): # emacs/Windows What`s the right statement here? -- http://mail.python.org/mailman/listinfo/python-list

python guru.. for a short conversation regarding bittorrent..

2005-10-02 Thread bruce
been responsive, so i figured i'd try here... if there's anyone here that i could talk with (phone) who's knowledgable about these areas, i'd appreciate it. i'm trying to get a much better understanding of the actual underlying app. thanks -bruce [EMAIL PROTECTED] -- http://mail.python.org

RE: Dealing with marketing types...

2005-06-11 Thread bruce
guy come after you... things get resolved in a much more equitable manner when the concerned parties are reasonably equal... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of tom Sent: Saturday, June 11, 2005 9:51 AM To: python-list@python.org Subject

RE: Dealing with marketing types...

2005-06-12 Thread bruce
just out of curiosity.. where'd you read the 150,000-200,000 servers... i've never seen guesses that high.. i've seen somewhere as high as possible 100K... but the author stated that he was purely guessing... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

amazon web services/api...

2005-08-07 Thread bruce
hi... has anybody ever played/successfully with the amazon- web services/api? i'm trying to figure out how i can use the browsenodeid to generate ISBN information for a book. the examples i've seen on various sites haven't been much help yet. thanks -bruce [EMAIL PROTECTED] -- http

fsm - revert to previous state (newbie)

2005-08-16 Thread bruce
Hi all, I`m working on a fsm that looks up its transitions in some dictionaries. I`ve defined a default transition to an error_state that is launched when there is no match of input_symbol, state etc in other dicts. The error state just prints out that user_input was not defined. After this I

possible python/linux/gnome issue!!

2005-02-25 Thread bruce
ideas/thoughts/etc.. would be appreciated... this is rather frustrating... thanks -bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

python upgrade process...

2005-03-04 Thread bruce
... however. if you suggest that these tools would be the best approach, would these tools actually get all required dependencies/etc... thanks.. bruce -- http://mail.python.org/mailman/listinfo/python-list

python/mod_python conflicts...

2005-03-05 Thread bruce
... thanks -bruce -- http://mail.python.org/mailman/listinfo/python-list

python/linux guru needed.. now!!!!

2005-03-05 Thread bruce
as to how to resolve it... if you are a guru with python/mod_python/linux then i'd like to talk with you... searching through google/mailing lists/etc... is getting me nowhere!! thanks bruce -- http://mail.python.org/mailman/listinfo/python-list

RE: Working on a log in script to my webpage

2005-03-08 Thread bruce
pete... simply use google and search for php scripts login user authentication mysql session etc... these terms will give you lots of examples... you could also look at some of the bulletin board/forum apps that are open source to se what they use. or, you could also look through the code for

RE: How to create stuffit files on Linux?

2005-03-15 Thread bruce
, or use google to get a better feel for what it provdes.. -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Noah Sent: Tuesday, March 15, 2005 2:03 PM To: python-list@python.org Subject: How to create stuffit files on Linux? I need to create Stuffit

python/svn issues....

2005-04-12 Thread bruce
bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

RE: python/svn issues....

2005-04-12 Thread bruce
be getting the db_create symbol... i'll try to build berkeley db by hand and see what i get... if you could try the 'nm' command against your berkely.. i'd appreciate you letting me know what you get.. thanks bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf

python guru... ViewCVS

2005-04-13 Thread bruce
it appears that the web page can't print the print statements... any thoughts/ideas/help would be greatly appreciated... thanks bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

trying to parse a file...

2005-04-17 Thread bruce
correctly... can anybody tell me what i need to do? basically, i'd like to continually add to the svn_root: block with an additional line as required. also, can someone tell me what i'd need to do, if i wanted to remove a line of text from the 'svn_root' block if i had a given 'test_x:' thanks bruce

trying to parse a file...

2005-04-18 Thread bruce
correctly... can anybody tell me what i need to do? basically, i'd like to continually add to the svn_root: block with an additional line as required. also, can someone tell me what i'd need to do, if i wanted to remove a line of text from the 'svn_root' block if i had a given 'test_x:' thanks bruce

internet explorer/firefox plugin/toolbar

2005-04-23 Thread bruce
it be done in python??? searching google didn't really turn up anything for the IE side of things... any comments/assistance/etc would be useful... thanks bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

RE: BitKeeper for Python?

2005-05-01 Thread bruce
the sourceforge.org site/app... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jp Calderone Sent: Sunday, May 01, 2005 1:26 PM To: python-list@python.org Subject: Re: BitKeeper for Python? On Sun, 01 May 2005 20:16:40 GMT, John Smith [EMAIL PROTECTED] wrote: 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

RE: file locking...

2009-03-01 Thread bruce
-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

RE: file locking...

2009-03-01 Thread bruce
]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

RE: file locking...

2009-03-01 Thread bruce
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

RE: file locking...

2009-03-02 Thread bruce
[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

RE: file locking...

2009-03-03 Thread bruce
: 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

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

RE: Parsing/Crawler Questions..

2009-03-04 Thread bruce
+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

RE: Parsing/Crawler Questions..

2009-03-05 Thread bruce
: 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

RE: Parsing/Crawler Questions..

2009-03-05 Thread bruce
: 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

RE: Parsing/Crawler Questions - solution

2009-03-05 Thread bruce
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

RE: Parsing/Crawler Questions - solution

2009-03-05 Thread bruce
, 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

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

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

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 supporting

parsing a site/page that uses/calls javascript functions...

2008-09-28 Thread bruce
is to run a parsing/crawling over a number of pages that utilize javascript.. Pointers, thoughts, comments, etc will be greatly appreciated. Thanks!!! -bruce -- http://mail.python.org/mailman/listinfo/python-list

App Question.

2008-10-14 Thread bruce
Hi list!! Got a question, and I can't find a good answer for, so I figured i'd post here. I'm working on a project that involves a number of smaller apps to be developed, and run. In order to build this overall application, I'm trying to find a web based app that I can use to manage the entire

python screen scraping/parsing

2008-06-13 Thread bruce
are most welcome... also, i'm willing to send a small amount via paypal!! -bruce -- http://mail.python.org/mailman/listinfo/python-list

RE: python screen scraping/parsing

2008-06-13 Thread bruce
Subject: Re: python screen scraping/parsing On 13 Jun, 20:10, bruce [EMAIL PROTECTED] wrote: url =http://www.pricegrabber.com/rating_summary.php/page=1; [...] tr = /html/body/[EMAIL PROTECTED]'pgSiteContainer']/[EMAIL PROTECTED]'pgPageContent']/table[2]/tbo dy/tr[4] tr_=d.xpath

python/ruby question..

2008-06-18 Thread bruce
hi... can someone point me to where/how i would go about calling a ruby app from a python app, and having the python app being able to get a returned value from the ruby script. something like test.py a = os.exec(testruby.rb) testruby.py foo = 9 return foo i know this doesn't work... but

RE: python/ruby question..

2008-06-19 Thread bruce
Of Paul McGuire Sent: Thursday, June 19, 2008 6:27 PM To: python-list@python.org Subject: Re: python/ruby question.. On Jun 18, 10:33 pm, bruce [EMAIL PROTECTED] wrote: hi... can someone point me to where/how i would go about calling a ruby app from a python app, and having the python app being able

sqlobject issue/question...

2007-12-28 Thread bruce
hi i'm playing around, researching sqlobject, and i notice that it appears to require the use of id in each tbl it handles in the database. if i already have a db schema, and it doesn't use 'id' as an auto-generated field, does that mean that i can't use/implement sqlobject. is there a way

sqlobject question...

2007-12-29 Thread bruce
hi... this continues my investigation of python/sqlobject, as it relates to the need to have an id, which is auto-generated. per various sites/docs on sqlobject, it appears that you can override the id, by doing something similar to the following: def foo(SQLObject): def _init(self, id,

db question

2008-07-20 Thread bruce
Hi... simple test mysql cmd - select * from foo where dog like %small%; sql =select * from foo where dog like %%%s%% c.execute(sql, (var,)) the above doesn't work, and I can't seem to figure out how to display/print out the sql as i't actually been excuted, so I can see where the issue is.

db question

2008-07-20 Thread bruce
update... in using the mysql_query log function, i get the following query being registered: select * from foo where dog like %'small'% so.. if i can figure out how to get rid of the ' inside the % the query should/will work... thanks Hi... simple test mysql cmd - select * from foo where

Trying to solve a python/mechanize error 500 http error

2008-07-21 Thread bruce
i'm getting the following error: mechanize._response.httperror_seek_wrapper: HTTP Error 500: i'm running python 5.1 and mechanize 0.1.7b I have no idea as to what I have to change/modify/include to handle this issue. The link that I'm testing is at the bottom of the page. When I insert

Trying to solve a python/mechanize error 500 http error

2008-07-21 Thread bruce
i'm getting the following error: mechanize._response.httperror_seek_wrapper: HTTP Error 500: i'm running python 5.1 and mechanize 0.1.7b I have no idea as to what I have to change/modify/include to handle this issue. The link that I'm testing is at the bottom of the page. When I insert

parsing form with a website question...

2008-08-14 Thread bruce
Hi guys... Got a question that I figured I'd ask before I reinvent the wheel. A basic website has a form, or multiple forms. within the form, there might be multiple elements (lists/select statements, etc...). each item would have a varname, which would in turn be used as part of the form

list/tuple/dict question

2008-08-17 Thread bruce
hi guys/gals... got a basic question that i can't get my hands around. i'm trying to programatically create/use a list/tuple (or whatever the right phrase in pyton is!!) basically, something like: foo = [] foo.append('cat') foo.append('dog') foo[1] = [] (and in this case, i really want to

RE: list/tuple/dict question

2008-08-17 Thread bruce
@python.org Subject: Re: list/tuple/dict question bruce wrote: a dict doesn't seem to work, as it is essentially a series of key/values, which isn't exactly what i want... so what do you think a variable namespace is? as usual, Python works best if you use it to write Python program

xpath questions...

2008-08-23 Thread bruce
Hi... playing around with xpath and the html dom... i've got a sample: html body form action='foo' name='cat' /form /body /html i can create a test xpath: //form/[action and get the form stuff... i'm curious, is there a way to select an attribute, only if another attribute in the

RE: xpath questions...

2008-08-23 Thread bruce
questions... bruce wrote: playing around with xpath and the html dom... are you sure this question belongs on a Python forum? /F -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

RE: xpath questions...

2008-08-23 Thread bruce
].textContent print htesttt =,t1[0].toString() sys.exit() thanks!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fredrik Lundh Sent: Saturday, August 23, 2008 5:58 AM To: python-list@python.org Subject: Re: xpath questions... bruce wrote

RE: xpath questions...

2008-08-23 Thread bruce
... bruce wrote: Regarding the xpath question I've posed, some have said that it shouldn't be here on the mailing list. Give that I'm writing the test scripts/apps in python, using the python libs, where else should it be posted? I mean, I could post the entire sample script so you can see

python/xpath issue..

2008-08-25 Thread bruce
hey guys... got a weird, hopefully simple issue. the following sample bit of script is stripped down, and simply gets the form node from the specified site schedule.psu.edu. the problem i run into is that the dom/xpath from the libxml2dom works, and i get the dom object everytime i run the app,

RE: python/xpath issue..

2008-08-25 Thread bruce
never mind... it was an issue with the targeted site... it's sending screwed up html the times when i get an err... thanks though! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bruce Sent: Monday, August 25, 2008 4:49 AM To: python-list@python.org

python - firefox dom/xpath question/issue

2008-08-25 Thread bruce
Hi. Got a test web page, that basically has two html tags in it. Examining the page via Firefox/Dom Inspector, I can create a test xpath query /html/body/form which gets the target form for the test. The issue comes when I examine the page's source html. It looks like: html body /body /html

libxml2dom - parsing maligned html

2008-08-26 Thread bruce
Hi... I'm using quick test with libxml2dom === import libxml2dom aa=libxml2dom.parseString(foo) ff=libxml2dom.toString(aa) print ff === -- when i start, foo is: html body /body /html html body . . . /body /html

RE: libxml2dom - parsing maligned html

2008-08-26 Thread bruce
all the required data. any thoughts on the pros/cons of this kind of approach to scraping data... thanks -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Boddie Sent: Tuesday, August 26, 2008 8:48 AM To: python-list@python.org Subject: Re

[no subject]

2008-08-29 Thread bruce
Hi. I'm using mechanize to parse a page/site that uses the meta http-equiv tag in order to perform a refresh/redirect of the page. I've tried a number of settings, and read different posts on various threads, but seem to be missing something. the test.html page is the page that the url returns,

python/mechanize - redirect/refresh question

2008-08-29 Thread bruce
Hi. I'm using mechanize to parse a page/site that uses the meta http-equiv tag in order to perform a refresh/redirect of the page. I've tried a number of settings, and read different posts on various threads, but seem to be missing something. the test.html page is the page that the url returns,

RE: [wwwsearch-general] (no subject)

2008-08-29 Thread bruce
@python.org Subject: Re: [wwwsearch-general] (no subject) On Fri, 29 Aug 2008, bruce wrote: [...] does the page (test.html) need to be completely valid html? No, but there are certainly (poorly-defined) limitations. I haven't tried to understand your script or the HTML, but did you try this: br

parsing A in a string..

2008-08-31 Thread bruce
Hi. a pretty simple question, i'm guessing. i have a text/html string that looks like: (AE) the issue i have is that when i parse it using xpath/node/toString, i get the following ...(AE;). note the semicolon ;. I've tried to use the encoding function of toString with no luck..

RE: parsing A in a string..

2008-08-31 Thread bruce
] [mailto:[EMAIL PROTECTED] Behalf Of Fredrik Lundh Sent: Sunday, August 31, 2008 1:10 PM To: python-list@python.org Subject: Re: parsing A in a string.. bruce wrote: a pretty simple question, i'm guessing. i have a text/html string that looks like: (AE) the issue i have

RE: parsing A in a string..

2008-08-31 Thread bruce
aha... it's the beautifulsoup() that's taking the E and giving the E;... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fredrik Lundh Sent: Sunday, August 31, 2008 1:10 PM To: python-list@python.org Subject: Re: parsing A in a string.. bruce wrote

python mechanize/libxml2dom question

2008-09-01 Thread bruce
hi... i've got the following situation, with the following test url: http://schedule.psu.edu/soc/fall/Alloz/a-c/acctg.html#;. i can generate a list of the tables i want for the courses on the page. however, when i try to create the xpath query, and plug it into the xpath within python, i'm

python mechanize/libxml2dom question

2008-09-01 Thread bruce
hi... i've got the following situation, with the following test url: http://schedule.psu.edu/soc/fall/Alloz/a-c/acctg.html#;. i can generate a list of the tables i want for the courses on the page. however, when i try to create the xpath query, and plug it into the xpath within python, i'm

python XPATH question - mechanize/libxml2dom

2008-09-01 Thread bruce
hi... i can use an xpath query to create a node from an html/dom representation. however, if i have a node, is there a way to generate an xpath query from the node. in testing with firefox/dom inspector, i can use ancestor::*, but i can't determine where/how to implement this using

python - mechanize/browser/POST issue

2008-09-02 Thread bruce
evening... using mechanize/Browser, i can easily do a url/get, and process submitting a form that uses a GET as the action. however, I'm not quite sure how to implement the submittal of a form, that uses the POST action. Anyone have a short chunk of code that I can observer, that uses the

python/xpath question..

2008-09-03 Thread bruce
morning i apologize up front as this is really more of an xpath question.. in my python, i'm using the xpath function to iterate/parse some html. i can do something like s=d.xpath(//tr/td/text()) count=len(s) and get the number of nodes that have text i can then do something like

RE: Xpath for HTML processing

2008-09-06 Thread bruce
Hi Astley I can probably help here. Can you tell me exactly what you're trying to accomplish. the xpath query that you listed can be processed using libxml2dom (and a fewo other libs) are you looking to parse a web page, an xml doc, etc... let me know, and we'll see if we can help

RE: Use BeautifulSoup to delete certain tag while keeping its content

2008-09-06 Thread bruce
hi jackie, if you don't mind... can i ask what you're looking to accomplish? are you looking to simply get the text/string data, or something else??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jackie Wang Sent: Saturday, September 06, 2008 8:12 AM

Parallel Python environments..

2007-11-06 Thread bruce
Hi.. If I wanted to be able to build/test/use parallel python versions, what would I need to do/set (paths/libs/etc...) and where would I need to place the 2nd python version, so as not to screw up my initial python dev env. I'd like to be able to switch back/forth between the different versions

RE: Parallel Python environments..

2007-11-06 Thread bruce
Python environments.. * bruce (Tue, 6 Nov 2007 07:13:43 -0800) If I wanted to be able to build/test/use parallel python versions, what would I need to do/set (paths/libs/etc...) nothing and where would I need to place the 2nd python version, so as not to screw up my initial python dev env

RE: Parallel Python environments..

2007-11-06 Thread bruce
i'm running rhel... so there isn't a python-config script as far as i know.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 8:26 AM To: python-list@python.org Subject: Re: Parallel Python environments..

RE: Parallel Python environments..

2007-11-06 Thread bruce
2:07 PM To: python-list@python.org Subject: Re: Parallel Python environments.. En Tue, 06 Nov 2007 18:43:10 -0300, bruce [EMAIL PROTECTED] escribió: if i have python 2.4.3 installed, it gets placed in the python2.4 dir.. if i don't do anything different, and install python 2.4.2, it too

python - an eggs...

2007-11-10 Thread bruce
Hi... I have a python script/app that i'm dealing with. It uses Durus, which installs as an egg. I'm trying to figure out how to modify any of the underlying source files or the egg, short of modifying the original source file, and then having to reinstall the egg via python setup.py install...

RE: python - an eggs...

2007-11-11 Thread bruce
] Behalf Of Diez B. Roggisch Sent: Sunday, November 11, 2007 4:36 AM To: python-list@python.org Subject: Re: python - an eggs... bruce schrieb: Hi... I have a python script/app that i'm dealing with. It uses Durus, which installs as an egg. I'm trying to figure out how to modify any

RE: python - an eggs...

2007-11-11 Thread bruce
Of Diez B. Roggisch Sent: Sunday, November 11, 2007 10:03 AM To: python-list@python.org Subject: Re: python - an eggs... bruce schrieb: Hi Diez... In my case, I do a python setup.py install and i get a Durus...egg installed in the /usr/lib/python2.4/site-packages/ dir... As I understand

RE: python - an eggs...

2007-11-11 Thread bruce
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Diez B. Roggisch Sent: Sunday, November 11, 2007 2:58 PM To: python-list@python.org Subject: Re: python - an eggs... bruce schrieb: Hi Diez Forgot to mention, that when I did an unzip of the egg file, and placed the files

RE: python - an eggs...

2007-11-12 Thread bruce
: Monday, November 12, 2007 2:16 AM To: python-list@python.org Subject: RE: python - an eggs... bruce wrote: Hi Diez... I've never used setuptools, (it's not on the box) and i don't have easy_install tools installed... But in looking at your output, I have some questions... -The 1st, I'm

RE: python - an eggs...

2007-11-12 Thread bruce
... bruce wrote: diez... i was being polite in thanking you for your input/thoughts... i actually had read what you'd posted, as i stated. Really? Did you? Here your third question: -3rd question.. in searching the 'net, it appears that i have to download setuptools in order to get

Can we get rid of unrelated non-python posts?

2007-11-12 Thread Bruce
I joined this to read about python. Please don't respond and move to another list. Thanks! -Bruce -- http://mail.python.org/mailman/listinfo/python-list

python debugging...

2007-11-17 Thread bruce
Hi... new to python, trying to debug an app i have : lib]# cat foo #!/usr/bin/python2.4 -OO # -*- coding: ascii -*- # vim:ts=4:sw=4:softtabstop=0:smarttab # import sys import slstorageserver slstorageserver.storaged(sys.argv) == i do a

python question!!

2007-11-22 Thread bruce
hi... new to python, and can't seem to find an answer to this via google.. of course i'm not even sure what to callit.. so i might be searching in the wrong places... a python script foo.py, can have an import.. foo.py import dog import cat where dog, and cat, might have other import

Re: Use python to process XML file

2006-03-10 Thread Bruce
you can use function parse from xml.sax It takes your xml as the first argument and an xml.sax.handler.ContentHandler instance as the second. --- from xml.sax import parse from xml.sax.handler import ContentHandler class LogHandler(ContentHandler): def startElement(self,name): if

Re: New-style Python icons

2006-03-21 Thread Bruce
3KWA skrev: Superb! How about getting them in the 2.5 release? Part of the reason why I am asking is that I am not sure what I have to do to get Win XP to use these instead of the one coming with 2.4.2. That`s easy: control panel Folder options File Types *scroll to py file* advanced change

XPath/Screen Scraping Gurus..

2006-04-11 Thread bruce
Hi.. I'm not that familiar with Pythin, but I wasn wondering if there are any XPath/Python Gurus that I might be able to talk to regarding screen scraping applications... Thanks -Bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

how to use imaageop.scale

2007-05-23 Thread Bruce
Hi, I want to compress a jpg file. e.g. a jpg file which has RGB band (24bit per pixel), 100 * 100 size to 50 * 50 size. I tried to use scale function in imageop module but failed. Any suggestions about this? Thanks! Bruce -- http://mail.python.org/mailman/listinfo/python-list

Re: how to use imaageop.scale

2007-05-23 Thread Bruce
On May 23, 5:31 pm, Amit Khemka [EMAIL PROTECTED] wrote: On 23 May 2007 00:02:34 -0700, Bruce [EMAIL PROTECTED] wrote: Hi, I want to compress a jpg file. e.g. a jpg file which has RGB band (24bit per pixel), 100 * 100 size to 50 * 50 size. I tried to use scale function in imageop module

configobj - use of

2007-05-24 Thread Bruce
I assume that you know the module configobj. I use it like this: I have a config_file : [sec1] [[subsec1]] a = 1 b = 2 [[subsec2]] a = 3 b = 1 .. ans so on Then in the code I have c = configobj.ConfigObj(path_to_config file) then I go like for instance for s in c['sec1']: print

beautifulsoup .vs tidy

2006-06-30 Thread bruce
of the other validation apps... the issue i'm facing involves parsing some websites, so i'm trying to extract information based on the DOM/XPath functions.. i'm using perl to handle the extraction thanks -bruce [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

RE: beautifulsoup .vs tidy

2006-07-01 Thread bruce
enough, or that the perl xpath/libxml functions are too strict! which is why i decided to see if anyone on the python side has experienced/solved this problem.. -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paddy Sent: Saturday, July 01, 2006 1:09 AM

building/installing python libs/modules...

2006-07-01 Thread bruce
it get run? the Readme file didn't tell me how to build the app i now, but everyone starts at something, sometime!! thanks -bruce -- http://mail.python.org/mailman/listinfo/python-list

RE: building/installing python libs/modules...

2006-07-01 Thread bruce
my bad.. saw that.. completely missed it... i had guessed.. and am up/runing/testing.. -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Machin Sent: Saturday, July 01, 2006 12:53 PM To: python-list@python.org Subject: Re: building/installing

really basic question regarding arrays/function output...

2006-07-01 Thread bruce
looking using google, but can't seem to find a site pointing out the underlying methods, which is kind of strange... -bruce - test.py #! /usr/bin/env python #test python script import libxml2dom import urllib print hello turl = http://courses.tamu.edu

python guru in the Bay Area

2006-07-01 Thread bruce
trying to create, i should be ok.. lunch of course, would be on me!! thanks -bruce ps. yeah.. i know i could eventually figure most of this by searching/experimenting/etc... using google.. but i'd rather move as fast as possible. -- http://mail.python.org/mailman/listinfo/python-list

size of an array..

2006-07-01 Thread bruce
/objects/etc... and that label is assigned to the next element during the loop. is there a way to determine the number of elements in l, or the number of iterations for the for loop prior to running it... the tutorials i've seen as of yet haven't mentioned this.. thanks -bruce -- http

python/libxml2dom questions

2006-07-01 Thread bruce
find out the size of the list a simple/basic question, but it's driving me up a wall!!! also, how can i determine what methods are available for a libxml2dom object? thanks... -bruce -- http://mail.python.org/mailman/listinfo/python-list

python/libxml2dom questions

2006-07-01 Thread bruce
find out the size of the list a simple/basic question, but it's driving me up a wall!!! also, how can i determine what methods are available for a libxml2dom object? thanks... -bruce sample code: #test python script import

  1   2   3   4   5   >