matplotlib & mod_python

2007-10-26 Thread kenneth
Hi all. I would like to use a "combination" of matplotlib and mod_python to create a PNG figure on the fly in my web site. The mod_python handler code should be something like this: def handler(req): fig = Figure() ... ... figure creation stuff ... canvas = FigureCanvasAgg(f

default value in __init__

2008-10-09 Thread kenneth
Dear all, I have encountered this weird problem. I have a class definition with an __init__ argument 'd' which defaults to {}. This argument is put in the 'self.d' attribute at initialization I create two independent instances of this class; the code is as follows. class C: def __init__(self,

Re: default value in __init__

2008-10-09 Thread kenneth
On Oct 9, 10:14 am, Christian Heimes <[EMAIL PROTECTED]> wrote: > kenneth wrote: > > the 'd' variable already contains the 'self.d' value of the first > > instance and not the default argument {}. > > > Am I doing some stupid error, or this is

Backend Python Developer need in NYC ASAP!

2019-05-13 Thread Kenneth Partyka
I have an immediate need for a Backend Python Developer in New York City (SoHo) paying from $70-100/hour. This is an onsite position lasting 3-6 months on a W-2 (no sponsorship, C2C or 1099 is available). Remote work is not an option. What you’ll do: • design, develop, and deploy innovative solu

What tools are used to write and generate Python Library documentation.

2005-09-26 Thread Kenneth McDonald
I have a module I'd like to document using the same style... Thanks, Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: What tools are used to write and generate Python Library documentation.

2005-09-27 Thread Kenneth McDonald
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 tryi

Re: epydoc, variables and encoding

2005-10-05 Thread Kenneth Pronovici
mt in ast.totuple()[1:]: +stmts = ast.totuple() +if symbol.sym_name[stmts[0]] == "encoding_decl": +stmts = stmts[1:][0][1:] +else: +stmts = stmts[1:] +for stmt in stmts: dict = {} if _ast_match(self._EXPR_STMT_PATTE

Re: What documentation "standard" to use

2005-10-05 Thread Kenneth McDonald
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, and

Re: So far (about editing tools)

2005-10-06 Thread Kenneth McDonald
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 ignore,

Re: So far (about editing tools)

2005-10-06 Thread Kenneth McDonald
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 pro

Python enjoyment (was Re: Python's Performance)

2005-10-10 Thread Kenneth McDonald
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 b

UI toolkits for Python

2005-10-13 Thread Kenneth McDonald
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 r

Yes, this is a python question, and a serious one at that (moving to Win XP)

2005-10-13 Thread Kenneth McDonald
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

Re: UI toolkits for Python

2005-10-13 Thread Kenneth McDonald
hat :-) On 13-Oct-05, at 3:21 PM, Paul Rubin wrote: > 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 imp

Re: UI toolkits for Python

2005-10-13 Thread Kenneth McDonald
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 d

Re: Python's Performance

2005-10-14 Thread Kenneth McDonald
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. Th

Re: UI toolkits for Python

2005-10-17 Thread Kenneth McDonald
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 applicatio

Re: Microsoft Hatred FAQ

2005-10-17 Thread Kenneth McDonald
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

Re: Yes, this is a python question, and a serious one at that (moving to Win XP)

2005-10-19 Thread Kenneth McDonald
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

Re: UI toolkits for Python

2005-10-19 Thread Kenneth McDonald
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: > >>

Questions on embedding Python

2005-11-22 Thread Kenneth McDonald
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 linki

Looking for small, impressive 3D-related Python script

2005-11-28 Thread Kenneth McDonald
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

Re: Looking for small, impressive 3D-related Python script

2005-11-28 Thread Kenneth McDonald
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, a

Re: wxPython installation issues on Debian

2005-11-30 Thread Kenneth Pronovici
om the Debian package, and only the Python parts from source (if you're lucky). I imagine that's not the answer you're looking for, but I hope that helps a little, KEN -- Kenneth J. Pronovici <[EMAIL PROTECTED]> http://www.cedar-solutions.com/ -- http://mail.python.org/mailman/listinfo/python-list

Installing Eric?

2005-12-04 Thread Kenneth McDonald
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 few

Profiling python 2.3

2005-01-27 Thread Kenneth Johansson
I wonder what would be a good way to profile a python program where the main thread starts two worker threads that do all the work. I get no infomation at all from the threads. I tried to use profile.run as the first thing in the new thread and the thread starts and works fine but when it exits

Re: Profiling python 2.3

2005-01-28 Thread Kenneth Johansson
On Fri, 28 Jan 2005 10:02:33 +, Stephen Kellett wrote: > In message <[EMAIL PROTECTED]>, Kenneth > Johansson <[EMAIL PROTECTED]> writes >>I wonder what would be a good way to profile a python program where the >>main thread starts two worker threads that

Request for Feedback; a module making it easier to use regular expressions.

2005-01-31 Thread Kenneth McDonald
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 ma

Best way to 'touch' a file?

2005-08-21 Thread Kenneth McDonald
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 immediate

How to start PEP process?

2005-08-25 Thread Kenneth McDonald
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

pre-PEP: Object-oriented file module

2005-08-25 Thread Kenneth McDonald
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 Pytho

Re: pre-PEP: Object-oriented file module

2005-08-25 Thread Kenneth McDonald
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,

Any projects to provide Javascript-style client-side browser access via Python?

2005-08-26 Thread Kenneth McDonald
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 langua

Re: Any projects to provide Javascript-style client-side browser access via Python?

2005-08-26 Thread Kenneth McDonald
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

Re: suggestion for Python graphing package, please

2005-08-30 Thread Kenneth McDonald
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 wr

Two questions on PyDev for Eclipse

2005-09-19 Thread Kenneth McDonald
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 appre

DHTML control from Python?

2005-02-14 Thread Kenneth McDonald
Are there any ways to use Python (rather than JavaScript) for controlling DHTML? I don't mind writing JavaScript stubs which can be called by Python, so long as I need to do so only once for a particular feature. I'm running Mac OS X 10.3, so comments as to the best browser for testing this woul

Re: DHTML control from Python?

2005-02-14 Thread Kenneth McDonald
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

LC_ALL and os.listdir()

2005-02-22 Thread Kenneth Pronovici
ed code that consistently works with all kinds of filenames. Ultimately, all I'm trying to do is copy some files around. I'd really prefer to find a programmatic way to make this work that was independent of the user's configured locale, if possible. Thanks for the help, KEN -- Kenneth J. Pronovici <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list

Re: LC_ALL and os.listdir()

2005-02-23 Thread Kenneth Pronovici
On Wed, Feb 23, 2005 at 01:03:56AM -0600, Kenneth Pronovici wrote: [snip] > Today, I accidentally ran across a directory containing three "normal" > files (with ASCII filenames) and one file with a two-character unicode > filename. My code, which was doing something like t

Re: LC_ALL and os.listdir()

2005-02-23 Thread Kenneth Pronovici
name", repr(path) > sys.exit(1) This makes sense to me. I'll work on implementing it that way. Thanks for the in-depth explanation! KEN -- Kenneth J. Pronovici <[EMAIL PROTECTED]> Personal Homepage: http://www.skyjammer.com/~pronovic/ "They that can give up essential

Popen3 and capturestderr

2005-03-08 Thread Kenneth Pronovici
hile True: line = pipe.fromchild.readline() if not line: break if returnOutput: output.append(line) if outputFile is not None: outputFile.write(line) outputLogger.info(line[:-1]) if returnOutput: return (pipe.wait(), output) else: return (pipe.w

Re: Popen3 and capturestderr

2005-03-09 Thread Kenneth Pronovici
On Wed, Mar 09, 2005 at 06:17:50AM -, Donn Cave wrote: > Quoth Kenneth Pronovici <[EMAIL PROTECTED]>: > ... > | If ignoreStderr=False, I use popen2.Popen4 so that stderr and stdout are > | intermingled. If ignoreStderr=True, I use popen2.Popen3 with > | capturestderr=T

Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
I'm a graphic designer. I'm new to Python. I know html, css, alittle actioscript and little javascript. I actually build an iOS using Flash. I understand programming concepts I believe. I'd like to build a Illustrator/Photoshop like program. Why, there are some features that I'd like to persona

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
Well 15 years ago when I was 15 I wanted to model cars in 3D. It took me 100 hours and 5-10 years but I can modeling a realistic vehicle and other objects in 3d. It was time consuming and challenging but it was worth it. And honestly I've used my 3d modeling skills to build displays and products

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
I tried to use gimp but as a photoshop user it was horrible. I was trying to like it. That is a great idea tearing down gimp. that is how I learn html and css. Breakin down websites. -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
No don't tell me what to do. I joined the military 3 years ago. You wouldn't believe the stuff I wasn't able to do before but now I am. You can keep your advice to yourself. I wasn't asking for something simple. I was asking for a starting point. The 3d was to show you I've learned hard stuff an

Python packages on OS X vs Windows

2005-12-14 Thread Kenneth McDonald
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,

Questions about working with character encodings

2005-12-14 Thread Kenneth McDonald
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 englis

Re: Python packages on OS X vs Windows

2005-12-14 Thread Kenneth McDonald
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 that

Re: Python packages on OS X vs Windows

2005-12-14 Thread Kenneth McDonald
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 $5

Re: Python packages on OS X vs Windows

2005-12-15 Thread Kenneth McDonald
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, andisn't

Pydev questions: versions and keybindings

2005-12-22 Thread Kenneth McDonald
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

Interesting little "gotcha" with generators

2005-12-22 Thread Kenneth McDonald
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

Programming Eclipse plugins in Jython?

2006-01-11 Thread Kenneth McDonald
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

Pythonic wrappers for SQL?

2006-01-13 Thread Kenneth McDonald
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 -- http://mail.python.org/ma

Fwd: Re: How to upgrade python from 2.4.3 to 2.4.4 ?

2006-10-21 Thread Kenneth Long
> Okay if one builds such from sources... but us poor > Windows flunkies > without a build environment have to wait for some > kindly soul to build > the installer compatible with the new Python > version. > especially since I havent got MS visual studio... and mingw is not supported... :-(

Re: Fwd: Re: How to upgrade python from 2.4.3 to 2.4.4 ?

2006-10-21 Thread Kenneth Long
> > mingw32 is supported and can compile many > extensions. See the following > post: > > http://groups.google.com/group/comp.lang.python/msg/8e2260fe4d4b7de9 > > If you meant something else with your comment, > please explain. > thanks for the reference.. I just got the latest source for pyt

Any way of adding methods/accessors to built-in classes?

2006-10-25 Thread Kenneth McDonald
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

How to identify generator/iterator objects?

2006-10-25 Thread Kenneth McDonald
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 the

Is there a python development site for putting up python libraries that people might be interest in working on?

2006-10-25 Thread Kenneth McDonald
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 goo

Re: How to identify generator/iterator objects?

2006-10-25 Thread Kenneth McDonald
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: > >> Kenne

Re: What's the best IDE?

2006-10-25 Thread Kenneth McDonald
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 replaceme

Re: 3d programming without opengl

2006-11-01 Thread Kenneth Long
you might find this interesting... www.ogre3d.org/ and its python wrapper http://www.ogre3d.org/wiki/index.php/PyOgre With /without Hardware acceleration... with /without OpenGL or DirectX... hello Ge

Re: ANN: wxPython 2.7.2.0

2006-11-08 Thread Kenneth Long
Is there a new version of Demo Docs released also? I get this error from Sourceforge after clicking on the link at wxPython page. Could not read file. Go back. /home/ftp/pub/sourceforge//w/wx/wxpython/wxPython2.7-win32-docs-demos-2.7.2.0.exe Nov 08, 2006 07:10 --- Robin Dunn <[EMAIL PROTECTED

[OT] Prolog and Regular Expressions, Was: Re: perspective on ruby

2006-06-28 Thread Kenneth McDonald
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." >

Parsing HTML--looking for info/comparison of HTMLParser vs. htmllib modules.

2006-07-07 Thread Kenneth McDonald
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. T

Idea/request for new python mailing list/newsgroup.

2006-07-07 Thread Kenneth McDonald
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 sh

Lightweight embedding of Firefox Gecko into application whose top level is Python--possible?

2006-12-18 Thread Kenneth McDonald
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

Simplest way to do Python/Ajax with server and client on same machine?

2006-12-19 Thread Kenneth McDonald
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

Getting unicode escape sequence from unicode character?

2006-12-27 Thread Kenneth McDonald
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

test, please ignore

2006-02-05 Thread Kenneth McDonald
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

Is there any books such as 'effective python' or else about the performance?

2006-02-11 Thread Kenneth Xie
att, thx. -- http://mail.python.org/mailman/listinfo/python-list

any ftpd written in python?

2006-02-15 Thread Kenneth Xie
I need a simple ftpd example in pure python. Is there already such a ftpd available? Thank you very much in advance. -- http://mail.python.org/mailman/listinfo/python-list

Re: any ftpd written in python?

2006-02-20 Thread Kenneth Xie
[EMAIL PROTECTED] wrote: > Kenneth Xie <[EMAIL PROTECTED]> wrote: > >> I need a simple ftpd example in pure python. Is there already such a >> ftpd available? >> Thank you very much in advance. >> > > self-advertising: http://melkor.dnp.fmph.u

Python Graphing Utilities.

2005-05-10 Thread Kenneth Miller
Hello All, I am new to Python and i was wondering what graphing utlities would be available to me. I have already tried BLT and after weeks of unsuccesful installs i'd like to find something else. Anything someone would recommend? Regards, Ken -- http://mail.python.org/mailman/listinfo/pyt

Re: Python Graphing Utilities.

2005-05-10 Thread Kenneth Miller
Ahh Thanks for the quick replies. I'm having a look through them now. What would you consider the best for real time applications? The idea here is to stream in the results from an A/D converter onto a 2d chart. Regards, Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Graphing Utilities.

2005-05-10 Thread Kenneth Miller
Unix, not windows >< "Ron Adam" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kenneth Miller wrote: > > > Hello All, > > > > I am new to Python and i was wondering what graphing utlities would be > > available to me. I h

Re: Python Graphing Utilities.

2005-05-10 Thread Kenneth Miller
Beleive i'm going to try out PyX. "Fernando Perez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill Mill wrote: > > > On 5/10/05, Kenneth Miller <[EMAIL PROTECTED]> wrote: > >> Hello All, > >> > >> I am

BLT with TCL/TK 8.4.9 and Python 2.4

2005-05-15 Thread Kenneth Miller
Has anyone acheived this? Regards, Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: EpyDoc problem

2005-05-22 Thread Kenneth Pronovici
eone on the list knows what's going on? I think your best bet is to file the bug (which you have done) and wait for a reply, keeping in mind that it might be a while before someone has time to deal with your bug. Most people writing free software are volunteers, after all. KEN -- Kenn

Questions on using Qt or wxWindows with Python and OS X

2005-05-30 Thread Kenneth McDonald
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 a

Matplotlib w/ TK Backend.

2005-06-07 Thread Kenneth Miller
backend as opposed to the GTK+ backend. Whenever I build, install, and then try to import I receive an error stating that my version of PyGTK needs to be updated. Logically it shouldnt be looking for PyGTK if it is using the TKinter backend? Any help would be appreciated. Regards, Kenneth Mille

Which Python Wiki engine?

2005-06-13 Thread Kenneth McDonald
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 plu

Comparing Dictionaries

2007-07-26 Thread Kenneth Love
' : 'mickey' } { 'dog' : 'bone', 'cat' : 'fever', 'mouse' : 'michael' } Any suggestions on how to compare these via some assert statement? Am I even on the right track with the INI file storing

Re: Comparing Dictionaries

2007-07-27 Thread Kenneth Love
At 09:55 PM 7/26/2007, Ben Finney wrote: >Kenneth Love <[EMAIL PROTECTED]> writes: > > > In other words, I consider these two dictionaries to be equivalent: > > > > { 'dog' : 'bone', 'cat' : 'fever', 'mouse

Re: Comparing Dictionaries

2007-07-27 Thread Kenneth Love
At 04:42 AM 7/27/2007, Ali wrote: >On Jul 26, 10:18 pm, Kenneth Love <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am new to Python, but not programming. I would like to start my > > Python career by developing programs according to the "best practices&

Fwd: Re: Comparing Dictionaries

2007-07-30 Thread Kenneth Love
>From: "Steven D'Aprano" <[EMAIL PROTECTED]> >Newsgroups: comp.lang.python >Subject: Re: Comparing Dictionaries >Date: Sat, 28 Jul 2007 10:21:14 +1000 >To: python-list@python.org > >On Fri, 27 Jul 2007 14:11:02 -0500, Kenneth Love wrote: > > > T

Re: Comparing Dictionaries

2007-07-30 Thread Kenneth Love
At 03:23 AM 7/28/2007, you wrote: >Hi Kenneth, being new to Python i wondered if you at least considered >Doctests as part of your testing solution. >Other languages don't have Doctest. > >- Paddy. Until I read your post, I had never even heard of Doctest. I will look into i

Accessing docstrings at runtime?

2007-08-29 Thread Kenneth Love
--- test str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. ----- What am I doing wrong? adTHANKSvance, Kenneth Love P.S. If I want a docstring an

Re: Accessing docstrings at runtime?

2007-08-29 Thread Kenneth Love
On 08/29/07, Chris Mellon <[EMAIL PROTECTED]> wrote: > On 8/29/07, Kenneth Love <[EMAIL PROTECTED]> wrote: >> How do I print the docstring for a class property? >> >> [[[ SNIP EXAMPLE ]]] >> >> What am I doing wrong? >> > > You're

How best to dynamically define methods (and functions)?

2007-09-01 Thread Kenneth McDonald
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 exist

Questions on FOX GUI and Python

2007-09-04 Thread Kenneth McDonald
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

Any syntactic cleanup likely for Py3? And what about doc standards?

2007-09-05 Thread Kenneth McDonald
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

curses module

2007-04-02 Thread Kenneth McDonald
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, thou

Calling Python from Javascript?

2007-04-11 Thread Kenneth McDonald
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 of

Python plugins for netbeans 6 IDE?

2007-09-22 Thread Kenneth McDonald
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

Overriding Logging Config FileHandler Filename

2007-09-25 Thread Kenneth Love
') log = logging.getLogger('mymain') log.info('START: mymain.py') log.info('FINISH: mymain.py') -- adTHANKSvance, Kenneth Love -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Kenneth Love

Re: Overriding Logging Config FileHandler Filename

2007-10-01 Thread Kenneth Love
> On Sep 26, 1:07 am, "Vinay Sajip" <[EMAIL PROTECTED]> wrote: >> On Sep 25, 9:15 pm, "Kenneth Love" <[EMAIL PROTECTED]> wrote: >> I have a Pythonloggingconfig file that contains a RotatingFileHandler >> handler. In the args key, I have hard-

Possible to access MS Access 2007 password-protected database from Python?

2009-02-06 Thread Kenneth 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 -- http://mail.python.or

  1   2   3   4   >