[issue803422] sgmllib doesn't support hex or Unicode character references

2008-03-14 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: SGML TC 2 can be found here: http://www1.y12.doe.gov/capabilities/sgml/wg8/document/1955.htm See the section K.4.1 for hexidecimal character references. Since this is really an update to the SGML standard, and not part of the original

RE: Looking for very light weight template library (not framework)

2008-03-11 Thread Sells, Fred
As I recall Quixote allowed you to embed html in python. was actually pretty cool. Havenot tried it in a long time. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Malcolm Greene Sent: Thursday, March 06, 2008 8:56 PM To: python-list@python.org

Re: [Python-Dev] [ANN] Python 2.3.7 and 2.4.5, release candidate 1

2008-03-02 Thread Fred Drake
’ make: *** [Modules/posixmodule.o] Error 1 I can only presume I'm doing something wrong at this point, since I don't consider myself a Mac OS X developer. -Fred -- Fred Drake fdrake at acm.org -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-Dev] [ANN] Python 2.3.7 and 2.4.5, release candidate 1

2008-03-02 Thread Fred Drake
On Mar 2, 2008, at 7:43 PM, Fred Drake wrote: 2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2: Neither does 2.3.7 now that I've tried that: gcc -u __dummy -u _PyMac_Error -framework System -framework CoreServices -framework Foundation -o python.exe

Re: [Python-Dev] [ANN] Python 2.3.7 and 2.4.5, release candidate 1

2008-03-02 Thread Fred Drake
was backported to 2.4.5 since Zope is still on 2.4 and Mac OS X skipped system builds for 2.4 going direct from 2.3 - 2.5. Yes, it would be very nice if this worked out of the box on Mac OS X 10.5.2. It's definitely a surprise for those of us who built our 2.4.4 on Mac OS X 10.4.x. -Fred

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-20 Thread Fred Pacquier
Stani [EMAIL PROTECTED] said : Even without python-pyexiv2 Phatch features read-only EXIF support thanks to PIL. So you can name your files or write data stamps (date, aperature, velocity, ...) based on EXIF information. Oh, that's good. I hadn't looked at PIL for a long while and wasn't

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-19 Thread Fred Pacquier
Steve Holden [EMAIL PROTECTED] said : Perhaps you could put a link to the source on the Windows instalL page? I don't mind being a second-class citizen, but it's annoying to have to jump around like that. I'm interested too, and was also wondering if Phatch is as full-featured unders

Re: Client side GUI-like web framework ?

2008-02-05 Thread Fred Pacquier
USCode [EMAIL PROTECTED] said : Thanks Jay and I guess in my original post I didn't explicitly specify Python but that is what I was after. After poking around a bit pyjamas looks like it might be exactly what I was after except the main pyjamas website http://pyjamas.pyworks.org appears

[issue487738] weaklist

2008-01-22 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Facundo: Agreed as well; since the use case isn't strong, let's avoid adding this. -- resolution: - rejected status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue487738

[issue932563] logging: need a way to discard Logger objects

2008-01-07 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Ideally, it would be best if loggers didn't live forever behind the scenes if they have no non-default configuration, but documenting their long-lived nature and the recommended alternate ways to deal with getting additional context information

[issue932563] logging: need a way to discard Logger objects

2008-01-07 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Please be sure to post a link to the thread here, as not everyone here reads comp.lang.python. Tracker [EMAIL PROTECTED] http://bugs.python.org/issue932563

Geodetic software development

2007-12-26 Thread Fred
. Clother information you can find on the site http://www.killetsoft.de/p_gdla_e.htm. Fred -- http://mail.python.org/mailman/listinfo/python-list

RE: Python web frameworks

2007-11-21 Thread Sells, Fred
-snip-- Thanks everyone for the response. From the posts I understand that Django and pylons are the best. By searching the net earlier I got the same information that Django is best among the frameworks so I downloaded it and I found it very difficult to configure. I referred the

RE: Python web frameworks + adobe flex

2007-11-21 Thread Sells, Fred
slight shift of topic here. I'm a newbie at standard web stuff. Mostly java webstart and a little mod_python. I experimented with Adobe Flex and really loved it for doing the front end. The backend needs to provide xml, json or AMF (an adobe proprietary binary format). For prototyping, I

RE: Anyone knows how to use xemacs with ipython or python on WinXP? [phishing][html-removed]

2007-11-19 Thread Sells, Fred
you did remember to byte-compile the python-mode.el file? I am struggling to make the ipython or python works in xemacs. I have been seraching on the internet for a solution for one day. I have put python-mode.el and ipython.el in the load-path and in the xemacs I type: M-x load library

RE: newbie Q: sequence membership

2007-11-19 Thread Sells, Fred
a, b = [], [] a.append(b) b.append(a) did you perhaps mean a.append('b'); b.append('a'); otherwise this seems pretty advanced for a newbie b in a True a in a Traceback (most recent call last): File stdin, line 1, in module RuntimeError: maximum recursion depth exceeded in cmp

RE: Using Python To Change The World :)

2007-11-14 Thread Sells, Fred
It sounds as if this project is a major task based on your current level of experience. That being said, all we pythonistas encourage and support anyone who is trying to learn/apply python. Break the problem into 2 parts: --simulation math of what you're trying to do --cool visual display (2D

[issue1317] smtplib.SMTP docs

2007-10-23 Thread Fred L. Drake, Jr.
New submission from Fred L. Drake, Jr.: The docstring for the smtplib.SMTP class includes descriptions of some instance attributes that are not covered by the documentation: does_esmtp ehlo_resp esmtp_features helo_resp If these are intended as part of the public interface, they should

RE: RMI with Pyro et al

2007-10-11 Thread Sells, Fred
Diez B. Roggisch wrote . Why do you want that (hot deploy) anyway? Does startuptime of a script really bother you? shouldn't take more than a few seconds. My primary need is development/debug. I'm a Pyro newbie and I add a feature and then test. The only way I've found to kill the Pyro

RE: Problem with MySQL cursor

2007-10-11 Thread Sells, Fred
I don't think you can substitute the table name and column names in the execute, just values ( I could be wrong) try building it like this: sql = INSERT INTO %s %s VALUES % (taablename, columnstuple, '(%s)') cursor.execute(sql, values) Hello, I have a function that executes a SQL statement

RE: RMI with Pyro et al -- thanks for help

2007-10-11 Thread Sells, Fred
thanks, that should do it Diez wrote: Go install cygwin (but not it's included python-interpreter, or at least make sure you have your python path properly under control) and then simply start the script from the command-line. And hit C-c if you need it to stop, and restart it. Only

Pyro: ActiveState (wind32) to Unix

2007-10-11 Thread Sells, Fred
I'm using ActiveState python on a windows box to talk to ACtive Directory. I'm running a Pyro Server on the same box. The client is Linux running std Python 2.4. It works just fine until the server codes calls some win32com.client api; then I get Traceback (most recent call last): File

RMI with Pyro et al

2007-10-10 Thread Sells, Fred
I need a simple client/server architecture with clients on linux and servers on windows. There is no UI in this part, just business rules and access control. Pyro seems pretty cool for this due to it's simplicity. I'm just starting with it and have not been able to get the server side to see

[issue1053] bogus attributes reported in asyncore doc

2007-10-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Fixed for the 2.5.2 (revision 58328) and 2.6 (revision 58327) releases. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1053

Mysqldb printing sql and params no matter what I do

2007-10-02 Thread Sells, Fred
I had some code originally that printed the sql and params when I called the .execute method. I removed it but it still prints. I rebooted and renamed files and still it prints. I am totally stumped; I tried google but perhaps didn't use the right search; got a lot of hits but no clues. I'm

RE: Mysqldb printing sql and params ... NEVER MIND

2007-10-02 Thread Sells, Fred
el stupido here accidently put a couple of print statements into a mysqldb module when eclipse opened it from the link in the stacktrace; -- http://mail.python.org/mailman/listinfo/python-list

[issue1172] Documentation for done attribute of FieldStorage class

2007-09-18 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Looks good to me too. This should be committed. -- assignee: fdrake - jafo resolution: - accepted versions: +Python 2.5, Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1172

[issue1126] file.fileno and file.isatty() should be implementable by any file like object

2007-09-17 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: The documentation does not say what's implied by msg55724; they methods can (and arguably should) be implmented by types for which they apply (for which there is a corresponding file descriptor, for example). There is an API issue here as well: what about

RE: How to Start

2007-09-14 Thread Sells, Fred
I like eclipse+pydev; although I did pay my dues learning the basics of eclipse. F9 saves file and runs it. If you're an emacs dude, emacs + python mode is pretty good. ctrl-c ctrl-c runs the active buffer. Of course if you don't already know emacs, avoid it like the plague. -Original

RE: Filemaker interactions

2007-08-28 Thread Sells, Fred
filemaker 8.0 (Pro I think) has a web page generator. That's all I know, since I didn't really need it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of M.-A. Lemburg Sent: Saturday, August 25, 2007 4:36 PM To: Ian Witham Cc: python-list@python.org

[issue469773] Write 'Using Python on Platform X' documents

2007-08-23 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr.: -- assignee: fdrake - Tracker [EMAIL PROTECTED] http://bugs.python.org/issue469773 ___ Python-bugs-list mailing list Unsubscribe: http

[issue870479] Scripts need platform-dependent handling

2007-08-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Removing the assignment to me, since I'm not going to resolve the fundamental disagreements about what the right thing is. Someone else can argue with the wrong-headed. -- assignee: fdrake - Tracker [EMAIL

[issue1209562] add single html files

2007-08-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Might be nice, but it's obvious I've not gotten to this, so removing myself from the issue. -- assignee: fdrake - _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1209562

how to convert a c program to java program

2007-08-15 Thread Fred Shu (fshu)
I heard I need to port C program to JPython first and compile it to native JAVA. I don't know anything about JPython. Is there a tool to do the porting? If not, what is the quickest way to learn JPython? Thanks, Fred -- http://mail.python.org/mailman/listinfo/python-list

best SOAP module

2007-07-18 Thread Sells, Fred
I need to talk to a vendor side via SOAP, Googling is overwhelming and many hits seem to point to older attempts. Can someone tell me which SOAP module is recommended. I'm using Python 2.4. --- The information contained in

RE: MySQL --Python--XML for JSviz

2007-07-03 Thread Sells, Fred
Sometimes sneaky is better than elegant. You could shell down to a command line invocation of mysql and specify -xml as the output format. I'm not sure how close that format is to what you need or how much you could leverage views (if using mysql 5.0). You could also use a command line xslt

python app to emulate terminal to dialup bulletin board

2007-07-03 Thread Sells, Fred
We need to automate the download of data that is now done manually via a terminal session to a dialup bulletin board. The user uses this to upload and download files. Hard to believe in this day and age, but true. I've tried google, but the terms are just too common; all I get is clutter. So I

RE: Evolution of a pythonistas!

2007-06-28 Thread Sells, Fred
concur 100%. You can breeze through the fist half of the online tutorial in a about 2 cups of coffee but you don't know what you don't know until you try to do something real. Even with 20 years of working with Python, I find goodies in the cookbook for each new project. Get a python aware

RE: Evolution of a pythonistas!

2007-06-28 Thread Sells, Fred
Wow Fred! You're awesome! How did you get 20 years in of Python when it was created in 1991? You're right, programming skills exceed basic math. I think I started around 1990 with version 0.92 beta. -- http://mail.python.org/mailman/listinfo/python-list

RE: Evolution of a pythonistas!

2007-06-28 Thread Sells, Fred
this one is fun: http://www.vpython.org/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of swordofrue Sent: Thursday, June 28, 2007 1:50 PM To: python-list@python.org Subject: Re: Evolution of a pythonistas! Thanks everyone for your responses. I am

printing html document with internet explorer

2007-06-25 Thread Fred Terp
I can print from all applications except explorer 7 which will automatically convert all documents to HTML script before printing. I am sure this is a simple setting but I can't find it. Frederick D. Terp 14985 Rivers Edge Court #135 Fort Myers, Florida 33908-7920 Phone: (239) 822-5439 Fax:

RE: Help With Better Design

2007-06-25 Thread Sells, Fred
IMHO ... untested class LightBulb: def __init__(self, on=False): self.IsOn = on def turnOn(self): self.switchIt(True) def turnOff(self):self.switchIt(False) def switchIt(self, turnon): if self.isOn==turnon: print The Switch is Already %s % ([ON,

RE: pydev help

2007-06-20 Thread Sells, Fred
uncheck mylar and it should work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Christopher L Judd Sent: Tuesday, June 19, 2007 9:00 AM To: Danyelle Gragsone Cc: python-list@python.org Subject: Re: pydev help [html-removed] Its called mylyn

RE: Beginning Python

2007-06-06 Thread Sells, Fred
I find 3 elements contribute significantly to becoming competent in python 1. a decent IDE so you can see the big picture (multiple files and directories). I use Eclipse + PyDev because Eclipse supports other goodies like CVS. I'm sure other IDE's are as good if not better, but who has time to

RE: Graph plotting module

2007-06-05 Thread Sells, Fred
www.vpython.org might be overkill, but it was easy to do simple 2d charts. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Grant Edwards Sent: Monday, June 04, 2007 11:23 AM To: python-list@python.org Subject: Re: Graph plotting module On

MySQLdb insert fails on one table

2007-06-01 Thread Sells, Fred
I have this table mysql describe valid_individuals; +---+--+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +---+--+--+-+-+---+ | fname | varchar(30) | YES | | NULL| | | lname | varchar(30)

RE: MySQLdb insert fails on one table

2007-06-01 Thread Sells, Fred
thank you! that was it. I created the table using a create table (select from which must have defaulted to InnoDb, now I just create it in a script. -Original Message- From: Carsten Haese [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 8:56 AM To: Sells, Fred Cc: python

RE: Python Web Programming - looking for examples of solidhigh-tr affic sites

2007-05-21 Thread Sells, Fred
I just started using flex (flex.org) from Adobe for the front end and am quite amazed at what it can do. Good docs. Clean client/server api if you like xml. It's relatively new so you still have to turn over some rocks and kiss some frogs to figure out how to get exactly the behavior you want

Re: Python-URL! - weekly Python news and links (May 16)

2007-05-19 Thread Fred Pacquier
[EMAIL PROTECTED] (Cameron Laird) said : I'll make a few personal comments. I knew the choice of quotes was in questionable taste. I was out to be provocative without being offensive, though. My apologies to Mr. Beliavsky and anyone else I disappointed. On the whole, I still think I

Re: *** Dr G Polya BRILLIANTLY analyses the Virgina Shooting Incident ***

2007-04-27 Thread Fred Bloggs
[EMAIL PROTECTED] wrote: On Apr 24, 2:09 pm, Quadibloc [EMAIL PROTECTED] wrote: The Real Andy wrote: Makes me wonder about the credibility of any statement Dr Gideon Polya makes. . I never thought that I would feel the urge to call someone an edelweiss-eating Tanzanian devil, but Dr. Polya

Re: WOLFOWITZ AND HIS IRANIAN PROSTITUTE SALARY OF $190k/yr Re: Test Tube Zealots: The American Chemical Society Terminates the Membership of Chemists from Iran

2007-04-14 Thread Fred Kasner
[EMAIL PROTECTED] wrote: I now direct you to agree to a proposal which includes the following terms and conditions, Wolfowitz instructed. You should accept immediately her offer to be detailed to an outside institution of her choosing, while retaining bank salary and benefits. The Wolfowitz

RE: Fortran vs Python - Newbie Question

2007-03-26 Thread Sells, Fred
1. Python is fun! 2. Python is cool! 3. Most of the time you can google a solution, i.e. somebody has already done nearly everything you can think of. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, March 26, 2007 8:21 AM To:

RE: Choosing Python

2007-03-19 Thread Sells, Fred
glad to hear it. Those of us who would like to introduce it in reluctant schools elsewhere could benefit from a post-semester evaluation, including student comments and some sample, running projects. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL

RE: Need help with apack compression code

2007-03-16 Thread Sells, Fred
try google: python apack found several in general, always google first; python has so many devotees that someone has generally solved most problems already. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of priya kale Sent: Thursday, March 15, 2007 11:33 PM

RE: Mocking OpenOffice in python?

2007-03-14 Thread Sells, Fred
I currently use Java to generate a 150 page PDF from about 50 .odt files, including replacing occurrances of about 10 place-holder phrases from data in our system. I do not use the OOo database/mailmerge features, just UNO. This process takes about 20 seconds on my 2 year old XP laptop and about

RE: i can`t get python working on the command line (linux)

2007-03-13 Thread Sells, Fred
looks like it is expecting command line agrs that are not there. put this at the top of your code to see what's going on import sys print sys.argv remembering that the first element printed is sys.argv[0] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

RE: Eric on XP for Newbie

2007-02-28 Thread Sells, Fred
I've been using Eclipse with the PyDev extension. it's not bad, although you need a reasonably powerful computer to handle the bloat of Eclipse. For short programs, I still like emacs, but I'm old school. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of SPE

RE: Testers please

2007-02-13 Thread Sells, Fred
cool product, I'll test depending on schedule at the time. one (more) suggestion (from those of us who arn't doing the work ;) is to put this in eclipse, rather than apache, since many developers work with it. Please no IDE wars, I like emacs too, but when I'm trying to teach to newbies I use

Re: How to access an absolute address through Python?

2007-02-11 Thread Fred of UrlBit.Us
? Thanks, Mark Your best bet will be to create a C library callable from Python to do it for you. There may be such a beast in existence already, but it should not be hard at all to do, given the simplicity of the requirements. -- -- Fred of UrlBit.Us -- http://UrlBit.Us - Bite those URLs down

RE: How can I access data from MS Access?

2007-02-05 Thread Sells, Fred
Peter, I sadly admit that I was wrong. Doesn't seem to work is effectivly even more useless than doesn't work. I give up. Years ago we used to get our FORTRAN card decks back from the DP center with a piece of scrap paper saysing She No Work. top that. --

RE: Python tools to manipulate JARs ?

2007-01-31 Thread Sells, Fred
I have not tried this, but... Assuming jython is out of the question You might want to try a simple java command line program you could run from popen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Dingley Sent: Wednesday, January 31, 2007 11:11 AM

OpenOffice 2.0 UNO update Links; need help

2007-01-21 Thread Sells, Fred
I've got a ~100 page document I assemble from ~30 OOo .odt files with some search and replace functions. I then produce a PDF. So far so good. Now I need to get a barcode from our internal website and insert that. The barcode will vary based on some parameters. Our internal site provides a

Re: merits of Lisp vs Python

2006-12-11 Thread Fred Gilham
be to the memoized version. -- Fred Gilham [EMAIL PROTECTED] One of the authors of the Daniel Bell volume says, in horror and astonishment, that the radical right intends to repeal the twentieth century. Heaven forfend! Who would want to repeal the twentieth century

Re: *** C.L.L README/FAQ ***

2006-12-08 Thread Fred Gilham
A suggestion is to mention Dylan as a possibility to people who think Lisp syntax is too funky but want to see something Lisp-like. -- Fred Gilham [EMAIL PROTECTED] Progressive (adj): Value-free; tolerant; non-judgemental. E.g. traditional archery instruction

RE: Async callback in python

2006-12-06 Thread Sells, Fred
the standard print gets delayed somewhere inside python, however if you use print sys.stderr, whatever, 3, 4 5 that prints immediately, or so it seems to me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Linan Sent: Monday, December 04, 2006 11:18 PM To:

RE: python vs java eclipse

2006-12-02 Thread Sells, Fred
If you're in the PyDev perspective, F9 runs the current script while ctrl-F11 reruns the last script run. I have found that certain types of operations just plain don't work this way and must be run from a conventional shell window. -Original Message- From: [EMAIL PROTECTED]

RE: Python work in UK

2006-11-29 Thread Sells, Fred
The technical director of Cabletron used to write applications in Python, then give the working product/code to the development group to convert. Perhaps you could build stuff in Python and outsource the conversion to India? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Ruby/Python/REXX as a MUCK scripting language

2006-11-25 Thread Fred Bayer
Tony Belding wrote: I'm interested in using an off-the-shelf interpreted language as a user-accessible scripting language for a MUCK. I'm just not sure if I can find one that does everything I need. The MUCK must be able to call the interpreter and execute scripts with it, but the

RE: CGI Tutorial

2006-10-06 Thread Sells, Fred
content is great, my comments are editorial. I prefer PDF with bookmarks rather than HTML. 1. easy to print the whole thing and read offline. 2. easy to find a secion from bookmarks, rather that chasing links 3. easy to save on my local doc folder so I can be sure It will always be there. (i.e.

RE: Where is Python in the scheme of things?

2006-10-05 Thread Sells, Fred
Every C++ and Java programmer that I know, who have done a moderate sized project in Python (thus requiring learning it's strengths) states that they hope to never go back to C++ or Java. I cannot comment on VB programmers, since I don't speak to them ;) --

RE: CGI - mod_python

2006-10-03 Thread Sells, Fred
I'm confused. is WSGI only a specification, or are there implementations, and if so which ones -- http://mail.python.org/mailman/listinfo/python-list

Fwd: Recursive Tree in Python

2006-09-27 Thread Fred Kitoogo
Note: forwarded message attached. Kitoogo Fredrick Edward ___ All new Yahoo! Mail The new Interface is stunning in its simplicity and ease of use. - PC Magazine

Dive into Python question

2006-08-26 Thread Fred C. Dobbs
I feel like an idiot. I'm going thru Dive Into Python and running the first program - odbchelper.py My output is pwd=secret;database=master;uid=sa;server=mpilgrim which has all the substrings reversed from the output documented in the book. I've run the downloaded code in Komodo, PythonWin and

Re: Dive into Python question

2006-08-26 Thread Fred C. Dobbs
Thanks, after I looked into it I realized that the output order can change arbitarily. It just seems kind of strange that the first example is one where your output might not match what the author tells you it should be - and yet there's no mention of this in the book (at least at that point.) --

RE: ideas for programs?

2006-05-31 Thread Sells, Fred
to regurgitate what others have said. trying to solve a real-world problem is significantly more educational that writing toy programs and class assignments. Solving a real-world problem will generate more interest in your potential ability that knowing any language. Pick a problem that you and

Re: John Bokma harassment

2006-05-25 Thread Fred Gilham
to some authority figure somewhere. The authority figure had no authority over me but was nice about it, so I stopped. I decided my method was a bad idea. Or rather, a good idea but dangerous. :-) -- Fred Gilham [EMAIL PROTECTED] ``This is mere entertainment

pyuno and oootools with OpenOffice 2.0

2006-05-04 Thread Sells, Fred
I'm using windows xp and OpenOffice 2.0 and doing my first project with pyuno. I've got the basics to work,. An example I googled at http://blogs.nuxeo.com/sections/aggregators/openoffice_org/blogaggregator_vi ew?b_start:int=0 imported an ootools module. When I try to import it, it does not

pyuno and PDF output

2006-05-04 Thread Sells, Fred
I can use java to output a PDF file using uno, but when I try to do it in python, I get an IO Exception with no added information. The relevant code snippet follows: from com.sun.star.beans import PropertyValue PDF= PropertyValue( FilterName , 0 , writer_pdf_Export, 0 )

OpenOffice UNO export PDF help needed

2006-04-29 Thread Sells, Fred
I've geen googling for 3 days now, and cannot find out how to do this. I'm trying to use OpenOffice 2.0 and UNO to generate PDF documents. I'm using windows, but will have to make it work under Linux for production. I've been able to set the parameters and call the exportToPdf method, but the

need SOAPpy help

2006-03-22 Thread Sells, Fred
I've just been asked to do a soap client for some vendor software. I'm able to load the WSDL and discover the methods, but when I go to call a method it doesn't see it. I should be passing in a string that is named testValue I've been working from the soap demoes with soappy 0.12.0. I've found

MYSql, CGI web page search code not working

2006-01-28 Thread Fred
this line to: cursor.execute(Select * from phone where name = 'Fred' order by name) and it returns the one record corectly. Any ideas? Fred -- form action=cgi-bin/searchdata.py pEnter the name to find: pinput type=text name=name size=30 input type=submit

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
that I am missing!! Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
Yeah, I already tried that (except you have a , after name. Your code produces the same error: NameError: name 'name' is not defined I know I am close!! Just missing some small thing... -- http://mail.python.org/mailman/listinfo/python-list

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
Thanks Kirk! That worked perfect! And makes perfect since now that I see it... Now that I have the main pieces working I can start expanding from here! Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
OK one more... how would I do a LIKE instead of a = in this code? cursor.execute(Select * from phone where name=%s order by name, (form['name'].value,)) Right off I think: cursor.execute(Select * from phone where name like %%s% order by name, (form['name'].value,)) But it blows

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
Perfect again Kirk! Now I will study all this so I actually understand what is happening.. Thanks! Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
Re-reading my message I noticed a stupid error, not effecting my problem but annoying, I assigned variables and then did not use them, then included import cgi for my regular script. This is how the command line script should look: #!/usr/bin/python import MySQLdb db=MySQLdb.connect(host =

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
but is not in the path: /usr/local/lib/python2.4/site-packages/MySQLdb Everything is running on the same machine here in my house, everything was installed and is launched as root. Thanks. Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
Here is the complete error from my Apache error log: Traceback (most recent call last): File /var/www/cgi-bin/mysqld_script_test.py, line 7, in ? import MySQLdb ImportError: No module named MySQLdb [Thu Jan 26 07:25:16 2006] [error] [client 127.0.0.1] malformed header from script. Bad

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
me to get Zope running, it is not cooperating either... :-) Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
Magnus Lycka wrote: Fred wrote: Slackware Linux 10.2 Heh, Slackware was my first Linux distro. Version 2.2 I think. 1993 maybe? I have been using Slackware since 1995, version 3.0 kernel 1.2.13 Some suggestions: Finally, the cgitb module is pretty useful. I suggest that you look it up

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
it is looking for /usr/bin/python I should be able to make a symlink in /usr/bin/python -- /usr/local/bin/python And of course change #!/usr/bin/python to #!/usr/local/bin/python in the script What do you think? Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
Fixed... All I did was change #!/usr/bin/python to #!/usr/local/bin/python The page loaded right up it was loading Python ver 2.4.1 rather than 2.4.2 where the MySQL db module was installed... I knew it would be something easy... I learned something so it was worth it... --

ImportError: No module name MySQLdb

2006-01-25 Thread Fred
I hope someone can help me with the below problem... Thanks, Fred My enviroment: -- Slackware Linux 10.2 Python 2.4.2 MySql version 4.1.14 MySql-Python 1.2.0 What I am trying to do: --- Using MySQL, Python, My-Sql-Python module and CGI create

ldap passwd need help

2006-01-18 Thread Sells, Fred
I've got the python-ldap version 2.0.11 with python 2.4 under Linux I've got the ldap stuff working for groups, but now I'm trying to use it to change a user password. I get a return of 2 and no error messages but it does not change ldap. I've tried it with uid = 'joeblow' and with

Looking for a particular http proxy...

2006-01-13 Thread Fred Pacquier
Hello, I would be grateful if someone could point me to an existing and working http proxy implementation that satisfies the following requirements : - as small and simple as possible, ideally no dependencies outside python - easy to customize (for controlling outgoing http headers for

ldap .passwd method, need help

2006-01-13 Thread Sells, Fred
I've got the python-ldap version 2.0.11 with python 2.4 under Linux I've got the ldap stuff working for groups, but now I'm trying to use it to change a user password. I get a return of 2 and no error messages but it does not change ldap. I've tried it with uid = 'joeblow' and with

RE: UDP socket, the solution

2006-01-04 Thread Sells, Fred
import socket, threading, time, binascii, struct from Configure import Debug thanks to all, here's my final code that works, if it helps anyone import socket, threading, time, binascii, struct from Configure import Debug ZERO = chr(0) class Udp: def __init__(self, my_address,

UDP socket, need help setting sending port

2005-12-19 Thread Sells, Fred
appreciated. Fred Sells fred at adventistcare dott org --- The information contained in this message may be privileged and / or confidential and protected from disclosure. If the reader of this message is not the intended

RE: HTML generation vs PSP vs Templating Engines

2005-11-16 Thread Sells, Fred
If this is your first try, use cgi, cgitb and html % dictionary as suggested in this thread. If your db is mysql, you can actually use os.popen() (or equivalent) to run a 'mysql -html -e select * from yaddayadda to return html. you can make that look prettier with css. here's a quick and dirty

<    1   2   3   4   5   6   >