://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
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
o find the index of the space???
Thanks for any help!
Fred
--
http://mail.python.org/mailman/listinfo/python-list
> 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
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
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
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
Sweet.Thanks for the URLs!!
And for all the other help and good guessing
--
http://mail.python.org/mailman/listinfo/python-list
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-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.
',
'/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
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
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
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
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
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
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:
-
d, I am sure it is something very simple
that I am missing!!
Fred
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
.
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
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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/
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
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
FWIW
Fred Sells
--
http://mail.python.org/mailman/listinfo/python-list
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
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
c-oriented programs that do that kind of thing.
Looking for links, etc.
Fred
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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.
healthy!
Fred
Email: https://www.killetsoft.de/email.htm?lan=e&btr=News
--
https://mail.python.org/mailman/listinfo/python-list
- 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
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
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
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
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
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
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
"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
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
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
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,
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
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
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
-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
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
"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.
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
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
KirbyBase sounds like something that could fit the bill.
--
http://mail.python.org/mailman/listinfo/python-list
"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
;(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,
[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
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
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
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
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
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
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
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
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
"[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
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
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
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
] 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
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
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
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
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://
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
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...
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
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
;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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 249 matches
Mail list logo