Geodetic functions library GeoDLL 32 Bit and 64 Bit

2012-08-28 Thread Fred
://www.killetsoft.de/p_gdlb_e.htm Notes about the NTv2 support can be found here: http://www.killetsoft.de/p_gdln_e.htm Report on the quality of the coordinate transformations: http://www.killetsoft.de/t_1005_e.htm Fred Email: info_at_killetsoft.de -- http://mail.python.org/mailman/listinfo

Geodetic functions library GeoDLL 32 Bit and 64 Bit

2011-07-20 Thread Fred
Hi developers, who develops programs with geodetic functionality like world-wide coordinate transformations or distance calculations, can work with the latest version of my GeoDLL. The Dynamic Link Library can easily be used with any programming language to add geodetic functionality to own app

Indexing strings

2005-03-04 Thread Fred
o find the index of the space??? Thanks for any help! Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: Indexing strings

2005-03-04 Thread Fred
> Use the index method, e.g.: text.index(' '). > What exactly do you want to do? That was exactely what I was searching for. I needed a program, that chopped up a string into its words and then saves them into a list. I think I got this done... Thanks for the help -- http://mail.python.org/mailma

File call error message (double backslash)

2005-03-08 Thread Fred
Hi I am writing on an application, that is supposed to read a file into a single string: My program though, when I run it, gives me an error, that the called file is non existent 'C:\ \Documents and Settings\ \Fred\ \My Documents\ \School\ \Bio' Is it normal that python adds the space

'Browse' button for *.txt file?

2005-03-10 Thread Fred
Hi I am searching for a module, that would allow me to call files by using a 'browse' button. Is there any uniform module for browsing files, or is there a special module for *.txt files? Thanks Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: 'Browse' button for *.txt file?

2005-03-10 Thread Fred
Sorry if my choice of words is not very clear to you, but as english is not my first language, I put it this way because of a lack of better words. I will try it differently: What I meant is that I am searching for a module, that would allow me to select a file by not using a typed path, but by cho

Re: 'Browse' button for *.txt file?

2005-03-11 Thread Fred
Sweet.Thanks for the URLs!! And for all the other help and good guessing -- http://mail.python.org/mailman/listinfo/python-list

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 a

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 = '192.

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
', '/usr/local/lib/python2.4/site-packages'] MySQLdb lives here 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 head

Re: ImportError: No module name MySQLdb

2006-01-26 Thread Fred
here with me. If I can ever get this simplistic problem solved maybe you guys can help 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 usef

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... -- http://mail.pyt

MYSql, CGI web page search code not working

2006-01-28 Thread Fred
records. I can hard code this line to: cursor.execute("Select * from phone where name = 'Fred' order by name") and it returns the one record corectly. Any ideas? Fred -- Enter the name to find: -

Re: MYSql, CGI web page search code not working

2006-01-28 Thread Fred
d, I am sure it is something very simple 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 blow

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

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

[no subject]

2008-12-05 Thread Fred
-- http://mail.python.org/mailman/listinfo/python-list

RE: Diagramming code

2012-07-16 Thread Sells, Fred
You leave many relevant questions unanswered. 1. Is the original developer/team available or have you been left with the code and little or no doc's? 2. How big is big in terms of the number of files/modules in the project? 3. Is there a reasonable structure to the project in terms of director

RE: Object Models - decoupling data access - good examples ?

2012-08-07 Thread Sells, Fred
27;fieldname'] syntax but could use record.fieldname. I would describe myself as more of a survivalist programmer, lacking some of the sophisticated techniques of others on the mailing list so take that into account. Fred. -Original Message- From: python-list-bounces+frsells=adventistcare

RE: New in Python , Need a Mentor

2013-01-02 Thread Sells, Fred
t/response handler. It makes it much easier to debug. Other than that, ditto to everyone else's response. Fred. -- http://mail.python.org/mailman/listinfo/python-list

derived class name in python 2.6/2.7

2013-01-30 Thread Sells, Fred
This is simple, but I just cannot find it after quite a bit of searching I have this basic design class A: def __init__(self): print 'I am an instance of ', self.__class__.name class B(A): pass X = B I would like this to print "I am an instance of B" but I kee

RE: Overlayong PDF Files

2012-05-02 Thread Sells, Fred
Assuming your form has actual PDF data entry fields. I export the form to a .fdf file, run a little script to replace fieldnames with %(fieldname)s and save this as a staic template. At run time I'll merge the template with a python dictionary using the % operator and shell down to pdftk to m

RE: Refactor/Rewrite Perl code in Python

2011-07-25 Thread Sells, Fred
Sometimes it's worth asking Why? I assume there would be no need to rewrite if the existing code did most of what was needed. It may be easier to ask the customer what he really wants rather than to re-engineer a crappy solution to an obsolete problem. -- http://mail.python.org/mailman/listinfo

reading zipfile; problem using raw buffer

2011-07-26 Thread Sells, Fred
I'm tring to unzip a buffer that is uploaded to django/python. I can unzip the file in batch mode just fine, but when I get the buffer I get a "BadZipfile exception. I wrote this snippet to try to isolate the issue but I don't understand what's going on. I'm guessing that I'm losing some header/

RE: reading zipfile; problem using raw buffer

2011-07-26 Thread Sells, Fred
option gave me the clue I needed to upload the file All is good and moving on to the next crisis ;) Fred. -- http://mail.python.org/mailman/listinfo/python-list

RE: Selecting unique values

2011-07-26 Thread Sells, Fred
The set module or function (depends on which python version) will do this if you make each record a tuple. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventistcare@python.org] On Behalf Of Peter Otten Sent: Tues

RE: Community Involvement

2011-08-05 Thread Sells, Fred
FWIW Fred Sells -- http://mail.python.org/mailman/listinfo/python-list

Advice on how to get started with 2D-plotting ?

2011-09-06 Thread Fred Pacquier
Hi, I'm a Python long-timer, but I've never had to use tools like Matplotlib & others before. Now, for my work, I would need to learn the basics fast, for a one-time quick-n-dirty job. This involves a graphic comparison of RFC1918 IP subnets allocation across several networks. The idea is to

Re: Advice on how to get started with 2D-plotting ?

2011-09-07 Thread Fred Pacquier
Wow, what an impressive turnout ! Thanks a lot, rantingrick, CM and Herbert, for the fast answers, useful tips and especially the sample code ! Beats starting from a blank page, with a big stick, and will certainly set me on my way much faster... networkx does seem a bit over the top for my si

OT: Code Examples

2011-02-28 Thread Fred Marshall
c-oriented programs that do that kind of thing. Looking for links, etc. Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Code Examples

2011-02-28 Thread Fred Marshall
On 2/28/2011 8:14 AM, n00m wrote: On Feb 28, 6:03 pm, Fred Marshall wrote: The best place for you to start: http://numpy.scipy.org/ Numpy manual: http://www.tramy.us/numpybook.pdf OK Thanks! Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you use with Python for GUI programming and why?

2011-03-11 Thread Fred Pacquier
Robert said : > Is there a push to one toolkit or the other? If you are just now getting started, I would honestly suggest you save a whole lot of time and dive straight into PyQt. I've tried most 'em over the years (including some now discontinued), and in my experience Qt is way above the r

newbie needs help with cookielib

2011-05-04 Thread Sells, Fred
I'm using Python 2.4 and 2.7 for different apps. I'm happy with a solution for either one. I've got to talk to a url that uses a session cookie. I only need to set this when I'm developing/debugging so I don't need a robust production solution and I'm somewhat confused by the docs on cookielib.

Geodetic Development Kit

2021-05-04 Thread Fred Killet
healthy! Fred Email: https://www.killetsoft.de/email.htm?lan=e&btr=News -- https://mail.python.org/mailman/listinfo/python-list

Recommended courses/materials for Python/Django course...

2016-06-15 Thread Fred Stluka
- Lynda - NewCircle.com Any advice? Thanks! --Fred -- Fred Stluka -- [5]mailto:f...@bristle.com -- [6]http://bristle.com/~fred/ Bristle Software, Inc -- [7]http://bristle.com -- Glad to be of service! O

Won't Uninstall

2019-09-20 Thread Fred Vincent
Python 3.7.4 won’t uninstall, I have tried doing what I can such as going to the control panel and uninstalling the program there, but that did not work. Since I am unable to delete it I am unable to download a different version of python. How do I fix this and fully uninstall python? Sent from

RE: Is Python worth it??

2005-11-15 Thread Sells, Fred
I second what others have said about the tutorials. I have not read "how to think like a ..." but from other posting here I have reservations about it as a starting point. -Original Message- From: Simon Brunning [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 4:42 AM To: john b

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

Auto Install Linux Rpm's

2005-11-16 Thread Sells, Fred
me to some "goodies" that would help. tia Fred --- 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 intende

RE: Developing Commercial Applications in Python

2005-01-03 Thread Sells, Fred
At Sunrise Software International, we build commercial applications for Cabletron and the Florida DMV. This was ~10 years ago; so no useful docs available, but we had no problems with license. -Original Message- From: Richards Noah (IFR LIT MET) [mailto:[EMAIL PROTECTED] Sent: Monday, Jan

RE: a question

2005-01-19 Thread Sells, Fred
I would use something like cmd = '%s/mos user wmarch, ' % mosbin cmd += 'cd /fa/wm/%s/%s, ' % (jaar, filetype) cmd += ... which reveals that you don't have enough args to satisfy all the %s's -Original Message- From: Nader Emami [mailto:[EMAIL PROTECTED] --snip-- I have a long command in U

Re: advice needed for simple python web app

2005-02-04 Thread Fred Pacquier
"Dan Perl" <[EMAIL PROTECTED]> said : > This is exactly the kind of summary that I think should be in a > WebProgrammingShootOut (see another one of my postings in this thread) > but I failed to find such a summary. Thanks, Brian! Anyone can add > to the list? I myself am also into (very) sim

RE: Running Python interpreter in Emacs

2005-06-27 Thread Sells, Fred
save-some-buffers 1) (message "done!")) (defun my-switch-to-buffer () "switch to buffer, using completion to prevent bogus buffer names from being given" (interactive) (switch-to-buffer (read-buffer "Switch to buffer: " (other-buffer) "t"))) ;;; ;;; GNU

Re: What are the other options against Zope?

2005-07-03 Thread Some Fred
ostly written in Python, since Zope is written partly in Python, and partly in C, although Zope also supports scripts in Perl. If you like, you can also write scripts à la PHP, ie. include code in HTML pages, using two templating languages: DTML is the older one, and ZPT is the more recent one. HTH Fred. -- http://mail.python.org/mailman/listinfo/python-list

RE: I am a Java Programmer

2005-07-06 Thread Sells, Fred
It takes great courage to turn from the dark side; let the pforce be with you. Also, go to Borders, get the python books and a Latte and figure out if one of the many books is written in a style that you like. -Original Message- From: bruno modulix [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: How do you program in Python?

2005-07-06 Thread Sells, Fred
I'm old school and have been very happy with emacs (on windows) and the python extensions. I just edit my file and hit control-C twice and it runs. I'm also using eclipse with PyDev and it's ok, but sluggish. -Original Message- From: anthonyberet [mailto:[EMAIL PROTECTED] Sent: Sunday, Ju

RE: Yet Another Python Web Programming Question

2005-07-12 Thread Sells, Fred
FWIW there's "dos2unix" program that fixes this on most systems. -Original Message- From: Bill Mill [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 11:55 AM To: Daniel Bickett Cc: python-list@python.org Subject: Re: Yet Another Python Web Programming Question > Python using CGI, f

2.3 or 2.4 on linux

2005-08-04 Thread Sells, Fred
We are in the process of standardizing ~10 Linux servers on Lineox 4.x, which is a variant of RedHat Enterprise server I'm told. Part of that process is to standardize python. The baseline install includes python 2.3 which is adequate, but I would like to standardize on 2.4.1, because it is the l

FW: python oldie, SWIG newbie needs help

2005-08-16 Thread Sells, Fred
-Original Message- From: Sells, Fred Sent: Tuesday, August 16, 2005 5:09 PM To: python-list@python.org Subject: python oldie, SWIG newbie needs help I've been trying all day to get a simple SWIG generated interface to a simple (but ugly) piece of c++ code provided to us by the

RE: Coin-operated kiosk written in python -- need some help...

2005-08-18 Thread Sells, Fred
I've done a similar app, but it keeps a gui up awaiting a timeclock punch. You need to tackle this in phases: 1. what os and get the gui to start at bootup. 2. start a separate thread that reads/blocks on the coin. you need more specific questions to get better help -Original Message- Fro

Re: Job Offer in Paris, France : R&D Engineer (Plone)

2005-09-07 Thread Fred Pacquier
"Adriaan Renting" <[EMAIL PROTECTED]> said : > And about the French language: Try to find some french radio broadcast > on the internet or something like that, and see if you can understand > it. I find reading/writing/speaking French is o.k., but understanding > native speakers can be very hard.

Re: Job Offer in Paris, France : R&D Engineer (Plone)

2005-09-08 Thread Fred Pacquier
Peter Hansen <[EMAIL PROTECTED]> said : > I can't let that pass. :-) I believe it was well established in posts > a few years ago that while the programming-language equivalent of > Esperanto is clearly Python, "Volapuke" was most definitely > reincarnated as *Perl*. Sorry -- I've been reading

Re: Big development in the GUI realm

2005-02-08 Thread Fred Pacquier
Robert Kern <[EMAIL PROTECTED]> said : >> that's Hanlon, not Heinlein. to be on the safe side, I won't attempt >> to attribute your mistake to anything. > > Fair enough. The only time I've seen it in dead-tree print was in > Heinlein's _Time Enough For Love_, unattributed to anyone else. > Goo

Re: low-end persistence strategies?

2005-02-16 Thread Fred Pacquier
KirbyBase sounds like something that could fit the bill. -- http://mail.python.org/mailman/listinfo/python-list

Re: Web framework

2005-03-09 Thread Fred Pacquier
"Gianluca Sartori" <[EMAIL PROTECTED]> said : > Hi guys, > What web framework do you suggest to develop with? I had a look both at > Nevow and Quixote. These seemes to be the most appreciated by the > community. Anyway, I had no luck looking for a complete and coherent > documentation. Snakelets

Re: Lisp-likeness

2005-03-15 Thread Fred Gilham
;(lambda expression would be (function (lambda (x) (+ x n))) Then there's the "defun" macro . . . . :-) -- Fred Gilham[EMAIL PROTECTED] A common sense interpretation of the facts suggests that a superintellect has monkeyed with physics,

Re: I need to create the table and I want to edit its content from www level.

2004-12-06 Thread Fred Pacquier
[EMAIL PROTECTED] (Rootshell) said : > I need to create the table and I want to edit its content from www > level. > > Here is some example: > > http://www.rootshell.be/~flash44 > > There is a table. > Is there possibilty to edit the content using command? > > Could you show me the way how to

Re: datetime

2004-12-16 Thread Fred Pacquier
Chris <[EMAIL PROTECTED]> said : > Okay, I searched www.python.org for a date handler and found datetime. > http://www.python.org/dev/doc/devel/lib/module-datetime.html However, > whenever I try to import datetime, I get a No module named datetime > error. What am I missing? The module docum

RE: gridbaglayout

2004-12-24 Thread Sells, Fred
gridbag is a pain. google for tablelayout which is easier (to me) -Original Message- From: Diez B. Roggisch [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 1:17 PM To: python-list@python.org Subject: Re: gridbaglayout [EMAIL PROTECTED] wrote: > Friends - I have tried to do ab

Re: Python for a 10-14 years old?

2005-03-24 Thread Fred Pacquier
Christos "TZOTZIOY" Georgiou <[EMAIL PROTECTED]> said : > At the age of nine at school, two guys from a French computer-making > company named as "Loup" (in french) or "Lupo" (in Italian), can't > remember which --if either is correct--, came and gave us a demo of one > of their models. OT/trivia

Re: Python for a 10-14 years old?

2005-03-28 Thread Fred Pacquier
Christos "TZOTZIOY" Georgiou <[EMAIL PROTECTED]> said : >>OT/trivia : if it was between mid-eighties and early nineties, the >>company could be "Goupil" (ancien french for "Fox"). > > Exactly! That was it... it was October or November 1981, though (early > eighties). Oh... probably a "G2" model

Need Help: Server to pass py objects

2005-03-29 Thread Sells, Fred
I have a legacy system with data stored in binary files on a remote server. I need to access and modify the content of those files from a webserver running on a different host. (All Linux) I would like to install a server on the legacy host that would use my python code to translate between the l

RE: Need Help: Server to pass py objects-THANKS

2005-03-30 Thread Sells, Fred
Thanks to all who responded. Although overwhelmed by the hits from a Google search initially, it looks like pyro is a good choice for my needs. -Original Message- From: Ken Godee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 3:45 PM To: python-list@python.org Subject: Re: Need He

RE: Equivalent string.find method for a list of strings

2005-04-09 Thread Sells, Fred
linenums = [i for i in range(len(lines)) if lines[i].find(searchstring) >=0] -Original Message- From: Joshua Ginsberg [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 4:12 PM To: [EMAIL PROTECTED] Subject: Re: Equivalent string.find method for a list of strings try: filter(lambda

RE: PPC OSX vs. x86 Linux

2005-04-09 Thread Sells, Fred
I'm no expert on internals, but I seem to recall that in the past, the string module could be implemented in either C or Python and I think there is a strop module that is related to all this. Could it be that on the Mac, your string processing is using interpreted Python byte code while linux use

Re: database in python ?

2005-04-11 Thread Fred Pacquier
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> said : > Hello I need to build table which need searching data which needs more > power then dictionary or list in python, can anyone help me what kind > of database suitable for python light and easy to learn. Is mySQL a > nice start with python ? There ar

RE: Generating RTF with Python

2005-04-14 Thread Sells, Fred
Apache fop does a good job of combining xslt+xml to generate pdf; the spec says it does RTF, but I have not tried it. Although fop is java, you can run it as a (java) executable, so you could run it as a command from python. It is almost as good as reportlab's stuff. -Original Message- Fr

Re: Supercomputer and encryption and compression @ rate of 96%

2005-04-14 Thread Fred Pacquier
Christos "TZOTZIOY" Georgiou <[EMAIL PROTECTED]> said : > Well, I take advantage of this "folding" idea for years now. Do you > remember DoubleSpace? I was getting to the limits [1] of my 100 MiB > hard disk, so I was considering upgrading my hardware. A female > friend of mine, knowing a littl

noobie needs help with ctypes

2013-12-09 Thread Sells, Fred
I'm using python 2.6 on Linux/CentOs 6.x I'm getting ctypes to work, but getting stuck on the use of .argtypes. Can someone point out what I'm doing. This is my first use of ctypes and it looks like I'm getting different definitions in stackoverflow that may correspond to different version o

RE: noobie needs help with ctypes

2013-12-09 Thread Sells, Fred
] On Behalf Of Joel Goldstick Sent: Monday, December 09, 2013 3:22 PM To: Terry Reedy Cc: python-list@python.org Subject: Re: noobie needs help with ctypes On Mon, Dec 9, 2013 at 3:15 PM, Terry Reedy mailto:tjre...@udel.edu>> wrote: On 12/9/2013 2:24 PM, Sells, Fred wrote: I'm using py

RE: noobie needs help with ctypes

2013-12-10 Thread Sells, Fred
Mucho apologies for rich text, I think I picked that up when replying to a post without properly checking. Thanks for heads up. Fred. -- https://mail.python.org/mailman/listinfo/python-list

meta language to define forms

2014-03-27 Thread Sells, Fred
I'm trying to use python classes and members to define complex data entry forms as a meta language The idea is to use a nice clean syntax like Python to define form content, then render it as HTML but only as a review tool for users, The actual rendering would go into a database to let a vendo

Re: My attempts in playing with tail-recursion in python

2015-05-17 Thread Fred Spiessens
Hi Thomas, I like what you've been doing. I think it would also be great if the "leave the loop" detector would be the actual stop condition in the recursion, applied to the arguments of the call. That would of course force you to split the recursive function in two functions: one to detect the s

RE: webapp development in pure python

2011-10-25 Thread Sells, Fred
Quixote may be what you want, but it's been years since I've used it and I don't know if it is still alive and kicking. It was from MEMS if I remember correctly. Using django and Flex is one way to avoid html and javascript and it works great for datagrids. Fred. -- http://

RE: Using the Python Interpreter as a Reference

2011-11-25 Thread Sells, Fred
I'm looking at a variation on this theme. I currently use Flex/ActionScript for client side work, but there is pressure to move toward HTML5+Javascript and or iOS. Since I'm an old hand at Python, I was wondering if there is a way to use it to model client side logic, then generate the javascript

RE: Py and SQL

2011-12-01 Thread Sells, Fred
I find it easier to code like this Sql = ‘’’select yadda, yadda, yadda FROM a,b,c Where this=that ORDER BY deudderting’’’ With the appropriate %s(varname) and % against a dictionary rather than positional args, but that’s just me. From: python-list-bounces+frsells=adventistcare...

RE: Using the Python Interpreter as a Reference

2011-12-02 Thread Sells, Fred
Steven, that's probably the most elegant explanation of the "pythonic" way I've ever seen. I'm saving it for the next time upper management want to use Java again. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventi

RE: Shebang line on Windows?

2013-02-25 Thread Sells, Fred
When moving from windows to unix you need to run "dos2unix" on any programs that use shebang (at least with python 2.6) that is installed on some platforms but must be installed on others like CentOs but it is in their repository. -Original Message- From: Python-list [mailto:python

UDP socket, need help setting sending port

2005-12-19 Thread Sells, Fred
;click". Any help would be greatly 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 re

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, destination_a

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 instance)

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 oldpw=whateve

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 oldpw=whateve

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 ;) -- http://mail.python.org/mailman/listinfo

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: 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

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 http://uk.docs.yahoo.com/nowyoucan.htm

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

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 int

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 PROTECT

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] [mailto:[EMAI

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 P

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

  1   2   3   >