Sorry for the vagueness.
I do have access to the file and can open it using Access. I haven't
yet done anything involving Python and Access (or Python and Win
interfacing, for that matter.)
Thanks,
Ken
On Feb 11, 2009, at 12:01 PM, imageguy wrote:
On Feb 11, 10:43 am, Ken McDonald
Googling has shown me various ways of connecting to a non-password-
protected Access database, but I was wondering if someone could point
to code illustrating how to use an Access db that's password-
protected. I haven't been able to find anything on this.
Thanks,
Ken
--
Ruby has a package called 'hpricot' which can perform limited xpath
queries, and CSS selector queries. However, what makes it really
useful is that it does a good job of handling the broken html that
is so commonly found on the web. Does Python have anything similar,
i.e. something that
When making calls of the form Popen(cmd, shell=True,
stdout=subprocess.PIPE), we've been getting occasional, predictable
hangs. Will Popen accumulate a certain amount of stdout and then block
until its read? We don't want to use threads, so just want to read the
entire stdout after the
The only trick it that sometimes it isn't obvious how to make the Tcl/
Tk call via Python.
Ken
On May 10, 2008, at 11:27 AM, Martin v. Löwis wrote:
I am, but still isn't the word, I just started. Good, *complete*
docs seem to be hard to find, but using a combination of the free
resources
I'm wondering if any of the other GUI kits have a text widget that is
similar in power to the one in Tk. wxWindows, from what I can tell,
doesn't offer nearly the options the Tk widget does. I'm less familiar
with Qt. Any feedback would be most appreciated.
Thanks,
Ken
--
Any guesses as to how many people are still using Tkinter? And can
anyone direct me to good, current docs for Tkinter?
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Sadly.
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
I have the need to occasionally translate a single word
programatically. Would anyone have a Python script that would let me
do this using Google (or another) translation service?
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Do any such exist? And do you find them worthwhile? I couldn't see any
browsing the netbeans pages, but that doesn't mean they're not out there...
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
The reading I've done so far on Python 3 (alpha announcement, meta-PEP,
some other PEPs) is generally encouraging, but there doesn't seem to be
much on cleaning up the syntax, which has become uglier over time as
features have been added on to an original syntax that wasn't designed
to support
Would anyone care to offer their opinions as to using Python with the
FOX GUI toolkit? Ease of use, stability, power,
speed, etc., all thoughts would be appreciated.
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
I can see an obvious but hacky way to define a Python function at
runtime. I can't see any obvious way to add a method to a class at
runtime (though I'm sure one could do just about anything by digging
into the metaclass stuff, which I will do if needed). But pointers to
cleaner or easier
I know that there's some work out there to let Python make use of
Javascript (Spidermonkey) via (I assume) some sort of bridging C/C++
code. Anyone know of efforts to allow the reverse? I'd really like to
make use of Python when doing Mozilla DOM programming, and I can never
get a clear idea
I know that the curses module has a long-standing bug wherein cursor
visibility can't be set. I'm looking at using the module for certain
uses, and this isn't a problems (as long as I hide the cursor offscreen)
as I would control visuals to provide a simulated cursor anyway. I'm
wondering,
Given a Python unicode character (string of length one), how would I
find out the \u escape sequence for it? This isn't obvious from the
docs I've been looking through.
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
I'm doing some work with a Python program that works hand-in-hand with
the DOM on a local client (processing DOM events, issuing DOM
modification commands, etc.) I'm currently using cherrypy as the Python
server for this communication, and simple AJAX on the client browser
end. This works just
Sorry for crossposting to several lists, but from what I can tell, what
I want to do may involve several different areas of expertise. (None of
which I have :-( )
I'd like to use Gecko as the UI for an application mostly implemented in
Python. Ideally, I'd like to somehow come up with a Python
This is possible with pure Python classes. Just add the method as new
attribute of the class. However, that won't work for the builtins.
I know that this is somewhat dangerous, and also that I could subclass
the builtins, but not being able to do things like '[1,2,3]'.length
drives me a little
I'm trying to write a 'flatten' generator which, when give a
generator/iterator that can yield iterators, generators, and other data
types, will 'flatten' everything so that it in turns yields stuff by
simply yielding the instances of other types, and recursively yields the
stuff yielded by
Over the last couple of years, I've built a module called rex that lays
on top of (and from the user's point of view, hides) the re module. rex
offers the following advantages over re.
* Construction of re's is object oriented, and does not require any
knowledge of re syntax.
* rex is _very
Thanks for all the feedback. Yes the original post was incorrect, it was
an intellectual burp that had me asking about a instead of f(something).
Boy, that answer's something I would never have known...
Thanks,
Ken
Leo Kislov wrote:
Michael Spencer wrote:
Kenneth McDonald wrote
With the most recent edition of PyDev, I find Eclipse works quite well
for me.
Ken
[EMAIL PROTECTED] wrote:
Recently I've had some problems with PythonWin when I switched to
Py2.5, tooka long hiatus, and came back. So now I'm without my god sent
helper, and I'm looking for a cool
I'm writing a program that will parse HTML and (mostly) convert it to
MediaWiki format. The two Python modules I'm aware of to do this are
HTMLParser and htmllib. However, I'm currently experiencing either real
or conceptual difficulty with both, and was wondering if I could get
some advice.
Would a mailing list and newsgroup for python contributions be of
interest? I currently have a module which is built on top of, and is
intended to semantically replace, the 're' module. I use it constantly
to great advantage, but have not made it public for the following reasons:
* The API
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
Edward Elliott [EMAIL PROTECTED] wrote:
XML? Conceptually (and more elegantly) covered
as LISP s-expressions.
...Lisp is still #1 for key algorithmic techniques such as recursion
and condescension.
-- Verity Stob
My last several postings do not seem to have gone through, so here's
trying again.
Ken
--
http://mail.python.org/mailman/listinfo/python-list
I need to do some data manipulation, and SQLite is a nice little
product for it, except of course that I'd need to write SQL. Are
there any good libraries out there that let one write (basic) queries
in a Pythonic syntax, rather than directly in SQL?
Thanks,
Ken
--
Is it easy or difficult to implement Eclipse plugins in Jython? And
if the former, are there any starter's guides you could recommend?
The desire is an editor plugin for a syntactically very simple
proprietary language. I'd like to have paren checking, syntax
colorization and (to start with
I'm trying to find out if I have the most recent version of Pydev for
Eclipse installed, but can't find the version number in the Pydev
user interface. Is it available anywhere in there?
And, the reason that I'm trying to find the most recent update is
because I can't redefine one keystroke
I recently had need to write the following code:
def compileOuter(self):
if False: yield None
else: return
compileOuter is a generator function which is implemented in
various classes. In this particular class, it always yields nothing.
However, none of the following
The two are equivalent; time=money, at least in terms of work. 5 minutesto install = easy. 2 days to install = hard.Thanks for the note about Komodo for OS X, I'll take a look...On 15-Dec-05, at 8:56 AM, Kevin Walzer wrote:I'll grant that PyQt is a pain. It takes a couple of days to build,
At the moment I'm doing most of my stuff on a Mac, but I've been
considering also getting
a Windows laptop. One of the reasons is that I've found it very
difficult to get certain
Python related things running on the Mac; for example, if one wants
to use the most
up-to-date Python on the mac,
I am going to demonstrate my complete lack of understanding as to
going back and forth between
character encodings, so I hope someone out there can shed some light
on this. I have always
depended on the kindness of strangers... :-)
I'm playing around with some very simplistic french to
I've often found the Linux world to be like falling off a log,specifically, a log above a deep chasm with sharp rocksat the bottom :-)Linux has its place (though I tended to use FreeBSD more),but it's been several years since I've wanted to actually knowhow to manage my own system. I'd suggest
If the amount of time it saved me justified it, I wouldn't hesitate to spend250 pounds. To put it in a more measurable manner, I've found myselfspending so much time attempting to get packages compiled underUNIXes (OS X, Linux, FreeBSD, etc.) that I would have no difficultywhatsoever in spending
I'm wondering if anyone has experience/tips to offer on installing
Eric on OS X and XP. Installation on both seems to require a number
of steps, some of them seeming potentially fragile, and I'm wondering
if I'm looking at a job of perhaps hours (days?), or if everyone
manages in just a
I'm not trying to persuade my company to offer Python as a scripting
language for their product, but I am trying to give them examples of
things that Python can do easily that cannot be done easily with
their current proprietary scripting language. After that it would be
their decision. As
Thanks. Unfortunately, I then still need to write some sort of impressive OBJ-generating script, and it would really be nice if one existed already...I know there will be simple examples out there that will still look very good, but I don't know enough to quickly write one myself.KenOn 28-Nov-05,
We're looking at embedding Python into our product to provide users
with the ability to write scripts for the programming. My knowledge
of Python is excellent, I'm familiar with the concepts of converting
back and forth between C and Python datatypes, but my knowledge of
compiling and
Perhaps you didn't read my original post? I'm being forced to consider Windowsfor reasons beyond my control. Given that I wanted a decent shell in Windows,I thought I would ask about Python shells because I think Python is a great language,and such a beast would give me the flexibility I want on a
I'd have to agree with this. Unfortunately, the only way to use Swing
(in a
reasonable manner) from Python is to use Jython, and Jython has other
shortcomings that make me not want to use it.
Sigh.
Ken
On 19-Oct-05, at 9:59 AM, Ed Jensen wrote:
Claudio Grondi [EMAIL PROTECTED] wrote:
I
Web interfaces are missing a lot more than this. Here are just a few things that cannot be done with web-based interfaces (correct me where I'm wrong):1) A real word processor.2) Keybindings in a web application3) Drag and drop4) Resizable windows (i.e. not the browser window) within the
We all know all of the horrible things about Microsoft, and I suspect
most of us agree they put out cruddy software. But why is this a
topic for the Python list?
Ken
--
http://mail.python.org/mailman/listinfo/python-list
Um, sorry, but this isn't correct.Although there might be a slight bit of gray area, the simple difference between compiled and interpreted languages is that compiled languages produce a binary consisting of bytes that mean something specific to the CPU of the computer the program is running on.
Is there any emerging consensus on the best UI for toolkit. Tk
never quite made it but from what I can see, both qt and wxWin are
both doing fairly well in general. I'm already aware of the licensing
issues surrounding qt (fwiw, I think their license fee for commercial
use is eminently
For unfortunate reasons, I'm considering switching back to Win XP
(from OS X) as my main system. Windows has so many annoyances that
I can only compare it to driving in the Bay Area at rush hour (OS X
is like driving in Portland at rush hour--not as bad, but getting
there), but there are
:
Kenneth McDonald [EMAIL PROTECTED] writes:
1) Which plays best with Python? Ideally, it would already have some
higher-level python libraries to hide the grotty stuff that is almost
never needed when actually implementing apps.
2) Reliability of each?
3) Useful external libraries for each?
4
This improved appearance has been a nice thing to see, but looks were never really the reason I decided to leave Tkinter. It's much more the fundamental issues of Tk, plus the fact that Tkinter was never really "completed" (not a comment on the original author--there's only so much one person can
Ditto to the below! I quite literally considered leaving the CS field until I found Python. Now my main job description is 'technical writing', but I get to use python at work (MoinMoin) and for all of my own computing needs.Cheers,KenOn 10-Oct-05, at 2:03 AM, Ron Adam wrote:If I was forced to go
This is something I fought with for a long time. My overwhelming vote
is Eclipse with the PyDev plugin. (Google search should reveal this).
Here are the pros and cons.
1) Eclipse is a _big_ system, with a strong emphasis on Java. So
there's a lot of functionality you need to learn to
As I did mention in my original post, Eclipse is indeed bloated.
However, in spite of that, I've found it both fast and reliable (much
to surprise). The only real problem is learning what functionality
(the majority) to ignore.
PyDev offers nice integration with Python. If I run a python
This is, as far as I'm concerned, one of the great weaknesses of
Python. (One of a
relatively few, to be honest--I'm still an enthusiast after all!)
There are numerous docstring-oriented tools; in my opinion, none of
them are satisfactory,
because docstrings only apply to certain entities,
Unfortunately, none of the documentation tools that use documentation
strings are suitable for full, serious documentation. There are a
number of reasons for this, and I'll touch on a few.
The obvious one is that there is no standard format for docstrings,
and this creates problems when
The first is general; what are users' experience with PyDev for
Eclipse. It looks pretty good to me right now, but I've only started
playing with it. Converting to Eclipse is a major effort, and if
there are problems which would prevent pydev from being useful right
now, I'd certainly
I haven't looked at it for a while, but when I was looking at it,
MatPlotLib was great (though the API was still in flux). I'd assume
it's become even better since then and I certainly hope so, because
I'm planning on using it again soon :-).
Ken
On Aug 29, 2005, at 3:36 PM, Robert Kern
I'm curious about this because, quite aside their function as web
browsers, it is now possible to build some very useable interfaces
using browsers with HTML, CSS, and JavaScript. (The biggest problem
is still the lack of a decent text widget.) However, JavaScript isn't
really a good
On Aug 26, 2005, at 3:04 PM, Paul Rubin wrote:Python isn't a good choice as a browser language because it doesn't have enough security. Hostile scripts can take over the interpreter too easily. There was a Python-based browser effort called Grail which I don't think got very far. Personally I
Should I just put a Proposed PEP message here? Or is there a more
formal way?
Thanks,
Ken
--
http://mail.python.org/mailman/listinfo/python-list
I'd like to propose a new PEP [no, that isn't a redundant 'process'
in there :-)--pre-PEP is a different process than PEP], for a
standard library module that deals with files and file paths in an
object oriented manner. I believe this module should be included as
part of the standard
Why would any of the issues below be any more difficult than they are withthe current file functions? I'm not proposing a C replacement for currentfunctions, merely a Python module that wraps all of those functions (andadds some additional ones) in an appropriate class.On Aug 25, 2005, at 5:28 PM,
I could've sworn python had such a command, but now I can't find it...
I'm looking for an easy way to perform a UNIX-style touch, to
update the modification time of a file without actually modifying it.
I could do something (I imagine) like opening the file for appending
and then
I'm looking for a Wiki engine to set up for my company, so that we
can incrementally add user documentation for a fairly complex
program, plus allow users to add their own comments for the benefit
of others. I'd strongly prefer a Python-based Wiki, since that allows
me the chance to add
If this is not an appropriate newsgroup for this type of posting,
please let me know and (if possible) suggest an alternative. I've
done a fair bit of research on the net, but information is scattered
all over the place and I haven't been able to find mailing lists
relating specifically to python
In article [EMAIL PROTECTED], aurora [EMAIL PROTECTED] wrote:
What are the win 32 modules? Searching OS X win 32 on Google gave me a bit
too much...
Thanks,
Ken
IE should be able to do that. Install the win32 modules. Then you should
simply embed Python using script language='python'. Not
I'm working on the 0.8 release of my 'rex' module, and would appreciate
feedback, suggestions, and criticism as I work towards finalizing the
API and feature sets. rex is a module intended to make regular expressions
easier to create and use (and in my experience as a regular expression
user, it
66 matches
Mail list logo