On Sun, Aug 12, 2007 at 05:08:26AM -, Rohit wrote:
> I am a novice. I want to know whether Python can be used to develop
> client/server database and web applications like .NET.
http://pylonshq.com/
http://www.djangoproject.com/
http://turbogears.org/
> Which is the best book/source to learn
On Thu, Aug 02, 2007 at 07:43:58PM -, lazy wrote:
> I have a berkely db and Im using the bsddb module to access it. The Db
> is quite huge (anywhere from 2-30GB). I want to iterate over the keys
> serially.
> I tried using something basic like
>
> for key in db.keys()
>
> but this takes lot o
On Wed, Jul 25, 2007 at 12:34:08PM -0700, walterbyrd wrote:
> When I posted "Python" I meant the Python web-developement world. In
> particular, python frameworks, like CherryPy, have requirements that
> are not realistic for most shared hosting plans.
It's true that the requirements are higher th
On Sun, Jul 22, 2007 at 09:10:50AM -0700, Alexandre Ferrieux wrote:
> I'm a total newbie in Python, but did give quite a try to the
> documentation before coming here.
> Sorry if I missed the obvious.
>
> The Tutorial says about the "for line in f" idiom that it is "space-
> efficient".
> Short of
On Fri, Jul 13, 2007 at 06:35:16PM -, [EMAIL PROTECTED] wrote:
> what does the statement "choice = raw_input(prompt)[0]" mean? I don't
> know why there is a '[0]' in the statement.
It calls the "raw_input" function with the argument of "prompt". That
function returns a list and you are getting
On Tue, Jun 05, 2007 at 03:01:01PM -0400, Chris Stewart wrote:
> I'm interested in learning web based python without the use of fancy
> frameworks
> that are out there. I'm having a hard time coming up with resources and
> examples for this. Does anyone have anything that could be helpful?
I'd
On Sun, May 13, 2007 at 11:41:12AM +0200, Jorgen Bodde wrote:
> I am wrestling with some architecture inside my app. Let's say I have
> a tunings collection, which contains e.g. 23 types of guitar tunings.
> In my song object I want to restore a relation between one of the
> tuning objects inside t
On Mon, May 07, 2007 at 12:00:38AM -0700, [EMAIL PROTECTED] wrote:
> Hi. Sorry to sound like a noob but that's what I am when it comes to
> Python. I just wrote the below module and it behaves funny.
>
> My python module:
>
> _exitcode = 0
>
> def setExitCode():
> _exitcode = 1
>
> if __nam
On Mon, Apr 16, 2007 at 06:43:37AM -0700, loial wrote:
> The following code only returns the last row(22) added to the
> machines dictionary.
> presumably I need some additional syntax to add rows to the dictionary
> rather than overwrite.
>
> What do I need to add?
>
> machinekey = "11"
On Fri, Apr 13, 2007 at 11:20:23AM -0700, Jack wrote:
> I wonder what everybody uses for Python editor/IDE on Linux?
> I use PyScripter on Windows, which is very good. Not sure if
> there's something handy like that on Linux. I need to do some
> development work on Linux and the distro I am using i
On Friday 16 March 2007 12:41, Clement wrote:
> Can a object sharable by two different python programs... If so can you
> please explain... because my project needs two programs to access nearly
> 45GB file Symentaniously...
What kind of information is that? Can you put it into a database?
Chris
On Thursday 15 March 2007 15:57, abcd wrote:
> When do I need to use a trailing slash to separate code over multiple
> lines.
>
> For example:
>
> x = "hello world, this is my multiline " + \
> "string"
Needed. Although you can omit the "+".
> x = {'name' : \
> 'bob'}
Not needed b
On Friday 01 December 2006 17:21, Tartifola wrote:
> I would like to obtain the position index in a tuple when an IF
> statement is true. Something like
>
> >>>a=['aaa','bbb','ccc']
> >>>[ ??? for name in a if name == 'bbb']
> >>>1
What about:
[ x for x,y in enumerate(a) if y == 'bbb' ]
Or if
On Friday 24 November 2006 13:08, robert wrote:
> well, note, for that they have named it Ruby-On-Rails, so its still the
> language - leveraged. While it is Zope/Django/Ego-on-Python ... ?
If by that you mean that neither Zope nor Django are exactly pythonic I
think I concur.
> Unless a Guido'e
On Thursday 23 November 2006 16:31, Max M wrote:
> Christoph Haas skrev:
> > Hello, everyone...
> >
> > I'm trying to send an email to people with non-ASCII characters in
> > their names. A recpient's address may look like:
> >
> > "Jör
On Thursday 23 November 2006 21:29, robert wrote:
> When a LAMP programmer comes to Python, there are so many different
> confusing things. It starts with a 'non-documented' cgi module - a
> 'High-Level-Interface', that cannot even iterate over the form items. A
> name ZOPE in focus which reveals t
On Thursday 23 November 2006 15:12, I wrote:
> My example code:
>
> =
> def sendmail(sender, recipient, body, subject):
>message = MIMEText(body)
>message['Subject'] = Header(subject, 'iso-8859-1')
>message['From'] = Header(sender, 'iso-8859-1')
>mess
Hello, everyone...
I'm trying to send an email to people with non-ASCII characters in their
names. A recpient's address may look like:
"Jörg Nørgens" <[EMAIL PROTECTED]>
My example code:
=
def sendmail(sender, recipient, body, subject):
message = MIMEText(bod
On Wednesday 25 October 2006 11:59, Astan Chee wrote:
> I was looking for a web-based SSH client (something like
> www.port42.com..but for some reason it doesnt work..can anyone verify
> this)..does anyone know any other alternative to other websites that
> offer this? If you're gonna scream 'secur
On Sunday 22 October 2006 08:06, mxywp wrote:
> Could someone help me with this or share an example script with me?
>
> Here is what I want to accomplish:
> (1) input 3 values into 3 boxes on a web page
> (2) there is an authentication code each time you access this page and I
> have to write this
On Saturday 14 October 2006 00:40, [EMAIL PROTECTED] wrote:
> Ahmer wrote:
> > What do you guys use?
>
> vim
>
> Like:
>
> Built-in python interpreter so you can do any editor customizations in
> Python
> Good multilanguage support (Python, but also C, C++, Java, HTML, XML,
> SQL, and dozens of oth
On Tuesday 10 October 2006 14:06, Andrew Markebo wrote:
> Are there any python-code linter out there
PyLint (http://www.logilab.org/projects/pylint)
PyChecker (http://pychecker.sf.net)
Christoph
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday 08 October 2006 14:09, [EMAIL PROTECTED] wrote:
> The perl version of this code works but not the python version. What am
> I doing wrong?
>
> message = "abc"
> password = "z12"
>
> scrambled = message ^ password
"abc" XOR "z12"? Strings don't have an __xor__ method.
> I also wondered w
On Tuesday 03 October 2006 19:50, [EMAIL PROTECTED] wrote:
> I found myself writing:
>
> for f in [i for i in datafiles if '.txt' in i]:
> print 'Processing datafile %s' % f
>
> but I was wishing that I could have instead written:
>
> for f in in datafiles if '.txt' in f:
> print 'Processin
Thanks to all who answered.
On Friday 22 September 2006 17:28, Marc 'BlackJack' Rintsch wrote:
> Christoph Haas wrote:
> > TestModule.py
> >
> > globalvar = 0
> >
> > def def1():
> > print globalvar
Hi, list...
I wondered if it's possible to use global (module) variables as default
parameters. A simple working example:
#!/usr/bin/python
globalvar = 123
def test(foo=globalvar):
print foo
test()
Running th
On Sunday 17 September 2006 04:31, Brad Allen wrote:
> Here is an idea for improving Python official documentation:
>
> Provide a tab-based interface for each entry, with the overview/summary
> at the top-level, with a row of tabs underneath:
> 1. Official documentation, with commentary pos
On Saturday 16 September 2006 19:16, [EMAIL PROTECTED] wrote:
> I am a bit disapointed with the current Python online documentation. I
> have read many messages of people complaining about the documentation,
> it's lack of examples and the use of complicated sentences that you
> need to read 10 tim
On Sunday 20 August 2006 21:39, [EMAIL PROTECTED] wrote:
> i have just downloas python and trying to import tools module
>
> C:\Documents and Settings\toto>python
> Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v
> Type "help", "copyright", "credits" or "license"
>
> >>> import tools
>
> Traceback
On Thursday 17 August 2006 21:50, Yong Wang wrote:
> I have written a python CGI script to run in html web page. When I
> access to the html page, it only runs part of the script, then abort
> because the late part of the script is involved in database access, it
> is slow. I wonder whether the
On Friday 04 August 2006 15:23, Amit Khemka wrote:
> Though some sugggested maintaining data in some XML structures, I was
> wondering that
> if you considered using some native XML database like BDB XML.
>
> 1. It allows you to retain hierarchical structure of data.
> 2. It also has support for pr
On Friday 04 August 2006 01:39, John Machin wrote:
> Christoph Haas wrote:
> > I assume that XQuery can't to weird queries like IP ranges, or can it?
>
> That's twice now you've indicated that IP ranges are causing you some
> problems. What's the big deal?
&
On Thursday 03 August 2006 19:54, hiaips wrote:
> Well, if you format the data as a Python dictionary and give the data
> file a .py extension, it becomes a Python module that you can load and
> reload dynamically. That's sort of what I was thinking.
Ah, okay. You mean like just using expr() on th
On Thursday 03 August 2006 17:45, hiaips wrote:
> Christoph,
>
> Several possibilities come to mind...
>
> From your description, maybe something like Postgres, MySql, or sqlite
> would not be the best option. (However, I'm wondering what your query
> requirements are
Imagine this example firewall
On Thursday 03 August 2006 17:40, jay graves wrote:
> Christoph Haas wrote:
> > The situation is that I have input data that take ~1 minute to parse
> > while the users need to run queries on that within seconds. I can
> > think of two ways:
>
> What is the raw data siz
On Wednesday 02 August 2006 22:24, Christoph Haas wrote:
> I have written an application in Perl some time ago (I was young and
> needed the money) that parses multiple large text files containing
> nested data structures and allows the user to run quick queries on the
> data. [...]
Hi, list...
I have written an application in Perl some time ago (I was young and needed
the money) that parses multiple large text files containing nested data
structures and allows the user to run quick queries on the data.
(For the firewall admins among you: it's a parser and web-based query t
On Monday 24 July 2006 14:06, borris wrote:
> doesn anyone know a good reference, tute or examples of
> MySQLdb's dictCursor
> I want to pass dictionaries into the sql exec statements.
> I could only succeed with text as values
A german linux magazin has an article about passing a *list* of items
On Tuesday 18 July 2006 17:46, david brochu jr wrote:
> I have been browsing around the net looking for a way (hopefully an
> easily implemented module) to log into a web site using python. The site
> I wish to log into is an internal site which requires email address and
> password for authenticat
Hi...
I encountered a problem that - according to my google search - other
people have found, too. Example code:
import sys
for line in sys.stdin:
print line
Running this code in Python 2.3 or 2.4 has the problem that I need to
send two EOFs (Ctrl-D) to break out of that loop.
Use case is a
On Thu, Jun 15, 2006 at 10:37:18AM +0200, Maric Michaud wrote:
> Le Mercredi 14 Juin 2006 19:56, Christoph Haas a écrit :
> >
> > Quite interesting. I dived into /usr/lib/python2.4/subprocess.py and
> > found out that the "communicate()" method actually works sim
On Wed, Jun 14, 2006 at 03:56:16PM +0200, Maric Michaud wrote:
> I did it just to validate my point and because i don't use threads very often
> in python, some exercises can't hurt :)
Since you are familiar with threads I believe that my excercises are a
tad bit more low-level compared to yours
On Wed, Jun 14, 2006 at 12:29:22PM +0530, Amit Khemka wrote:
> On 6/13/06, Christoph Haas <[EMAIL PROTECTED]> wrote:
> >I have an application that is running in an endless loop processing an
> >incoming queue. Every run is supposed to write a log file about the run
>
Evening,
I'm having trouble with running a process through Python 2.4's
subprocess module. Example code:
def run(command):
run = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
# Wait for the pr
Evening,
I have an application that is running in an endless loop processing an
incoming queue. Every run is supposed to write a log file about the run
and then close it again. While the 'logging' module is generally working
well (even though the documentation makes me miss some proper examples
ho
On Wed, May 31, 2006 at 08:58:53PM +0200, Christoph Haas wrote:
> On Wed, May 31, 2006 at 11:37:47AM -0700, [EMAIL PROTECTED] wrote:
> > I am new to python. I read an example here about how to fetch data thru
> > a HTTP connection:
> > http://diveintopython.org/http_web
On Wed, May 31, 2006 at 11:37:47AM -0700, [EMAIL PROTECTED] wrote:
> I am new to python. I read an example here about how to fetch data thru
> a HTTP connection:
> http://diveintopython.org/http_web_services/review.html,
>
> My question is how can i save the data to a file after reading it from
>
On Thu, May 18, 2006 at 09:52:39PM +0200, Christoph Haas wrote:
> On Thu, May 18, 2006 at 12:38:55PM -0700, Paul Rubin wrote:
> > Ronny Mandal <[EMAIL PROTECTED]> writes:
> > > And now I want to sort l reverse by the second element in the tuple,
> > >
On Thu, May 18, 2006 at 12:38:55PM -0700, Paul Rubin wrote:
> Ronny Mandal <[EMAIL PROTECTED]> writes:
> > And now I want to sort l reverse by the second element in the tuple,
> > i.e the result should ideally be:
> >
> > l = [(6,5),(2,3),(3,2)]
>
> sorted(l, key = lambda a: -a[1])
Or in Python
On Tue, May 09, 2006 at 12:34:05PM -0700, James wrote:
>
> Christoph Haas wrote:
> > On Tue, May 09, 2006 at 12:17:34PM -0700, James wrote:
> > > How to recast an integer to a string?
> > >
> > > something like
> > > n = 5
> > > str = s
On Tue, May 09, 2006 at 12:17:34PM -0700, James wrote:
> How to recast an integer to a string?
>
> something like
> n = 5
> str = str + char(n)
str(n)
Kindly
Christoph
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, May 09, 2006 at 05:38:52PM +, John Salerno wrote:
> How do you make a single string span multiple lines, but also allow
> yourself to indent the second (third, etc.) lines so that it lines up
> where you want it, without causing the newlines and tabs or spaces to be
> added to the st
(Replying to my own posting... how I hate that...)
On Tue, May 09, 2006 at 02:07:15PM +0200, Christoph Haas wrote:
> On Tue, May 09, 2006 at 09:43:50PM +1000, Gary Wessle wrote:
> > Christoph Haas <[EMAIL PROTECTED]> writes:
> >
> > > On Tue, May 09, 2006 at 09:03
On Tue, May 09, 2006 at 09:43:50PM +1000, Gary Wessle wrote:
> Christoph Haas <[EMAIL PROTECTED]> writes:
>
> > On Tue, May 09, 2006 at 09:03:31PM +1000, Gary Wessle wrote:
> > > I am trying to install NumPy in my debian/testing linux
> > > 2.6.15-1-686.
&
On Tue, May 09, 2006 at 09:03:31PM +1000, Gary Wessle wrote:
> I am trying to install NumPy in my debian/testing linux
> 2.6.15-1-686.
>
> with no numpy for debian/testing, I am left alone, since the
> experimental version available by debian will result in a dependency
> nightmares,
What about
Evening,
I'm currently working on a larger Python project that consists of multiple
programs and packages. As I need a few utility functions time and again I
moved them all into a Utility package and created a class there. Like this:
Util.py:
class Util:
def __init__(self, debugFlag=F
On Fri, May 05, 2006 at 04:50:11PM +0100, Doug Bromley wrote:
> I have a Python IDE review I did a few months back you may want to view:
> http://www.straw-dogs.co.uk/blog/python-ide-review
Sounds interesting. Could you fix the screenshots? I just get a 404 here.
Kindly
Christoph
P.S.: [Rant ab
On Fri, May 05, 2006 at 05:39:08AM -0700, D wrote:
> Is it possible to have Python authenticate with Active Directory?
> Specifically what I'd like to do is have a user enter a
> username/password, then have Python check the credentials with AD - if
> what they entered is valid, for example, it ret
On Thu, May 04, 2006 at 12:02:52PM -0400, A.M wrote:
> Is there any efficient online resource or book that help experienced Perl
> programmers to Python?
I've been using Perl for a decade and had a hard start into Python. Mainly
because I used those "phrasebooks" and tried to convert my Perl synt
On Sun, Apr 09, 2006 at 12:35:21AM -0700, [EMAIL PROTECTED] wrote:
> I have a CGI script on server which process a form and writes its
> content on a file like
> fp = open(fname, 'w')
> fp.write('Cool
> list%s%s
>
> Its working fine, but will it work if the script recieves thousands of
> request s
On Sat, Mar 25, 2006 at 03:09:53PM -0500, John Salerno wrote:
> I'm interested in trying out Linux, probably Ubuntu, but I was wondering
> which distribution you guys like to use (because it's a pain trying to
> decide!) and you guys are smart.
We had this discussion a couple of time during the
On Tue, Mar 21, 2006 at 09:54:21PM +, John Salerno wrote:
> Can someone tell me why 'n' in this example isn't 2?
>
> >>> for n in range(2, 10):
> for x in range(2, n):
> print 'x =', x, 'n =', n
>
>
> x = 2 n = 3
Assume n=2. Then the first inner loop will
On Monday 13 March 2006 18:31, Math wrote:
> Does anybody know what I have to do to run only 1 instance of my Python
> Application?
> How do I check if I'm running more instances of a Application?
I would use lockfiles for that purpose. Like this:
http://aspn.activestate.com/ASPN/Cookbook/Python/R
Am Sonntag, 12. März 2006 19:36 schrieb EP:
> This is likely a stupid question, but I am confused about what is going
> on with class attributes as far as whether they "stick". I ran across
> this in a program I am writing, but have reproduced the behavoir below
> - can someone point me in the rig
On Tuesday 07 March 2006 16:18, John Salerno wrote:
> Let me apologize in advance for what I'm sure is an achingly simple
> question, but I just can't find the answer in either of my Python books.
> I've tried a few tests with the interactive prompt, but they don't work
> either.
>
> All I'm trying
On Sunday 26 February 2006 22:44, [EMAIL PROTECTED] wrote:
> I am new to python, can you please tell me how can I convert my python
> script into an executable on linux?
> i.e. instead of typing 'python myscript.py abc', I just need to do
> 'myscript.py abc'?
Use the shebang syntax. Use this as a
On Thursday 16 February 2006 22:35, Steve Young wrote:
> Lets say that I'm filling out a form and the information gets sent to
> another server first for some processing(before the one that it
> "should" go to). But from there, I want that intermediate server to be
> able to preserve this POST d
On Friday 17 February 2006 05:31, D wrote:
> Hi all .. how could one test to see if an open relay exists on a
> specific email server?
My simple favorite... run:
telnet relay-test.mail-abuse.org
from the mail server in question (and be patient).
Kindly
Christoph
--
~
~
".signature" [M
On Monday 30 January 2006 17:52, [EMAIL PROTECTED] wrote:
> I am a little annoyed at why such a simple program in Perl is causing
> so much difficulty for python, i.e:
>
> $a += 20 * 14;
>
> print $a;
a = 0
a += 20 * 14
print a
Seems to be more a problem for you than for Python.
On Saturday 21 January 2006 20:42, sophie_newbie wrote:
> To give you a better explaination of what I want, you could visit
> www.pat2pdf.org.
>
> Type in 123456 as the patent number, you see what it does? It tells the
> user that it is requesting the various TIFF images and then displays
> the lin
On Friday 30 December 2005 06:30, Steve Young wrote:
> Hi, I was wondering if there's a way to fill out forms online using
> python. Say for example if you wanted to make a search on some search
> engine without having to actually open a browser or something like that.
Try twill:
http://www.idyll.
On Sunday 04 December 2005 19:56, Aahz wrote:
> Christoph Haas <[EMAIL PROTECTED]> wrote:
> >The operating system/distribution is not connected to the application
> >(Python). It will probably run everywhere. But we recently had this
> >topic and a majority seemed to vo
On Sunday 04 December 2005 15:01, Ivan Shevanski wrote:
> Looking to replace my older flavor of linux with something new. . .What
> are some of your favorites for python programming and anything else?
The operating system/distribution is not connected to the application
(Python). It will probably
Hi, Roman et al...
On Thursday 10 November 2005 00:52, Roman Roelofsen wrote:
> The last 5 days I´ve been working on a code-completion/calltips plugin
> for vim. It´s working pretty good but not finished yet. I will anounce
> the first beta version on this mailling list. I hope during the next
> w
Evening,
I'm an addicted vim user and don't really use the IDLE for anything more
than calculations where I'm too lazy to start KCalc. But one feature is
very pretty: the built-in help for function calls while you type. Like you
enter...
var1,var2=mystring.split(
...and the IDLE shows me a pop
On Tuesday 08 November 2005 23:59, James Colannino wrote:
> Hey everyone, I have a file containing the following type of data (only
> an example):
>
> root:root
>
> What I want to do is take this line and divide it into two separate
> strings (the ':' character would divide the two strings, so the
On Sunday 06 November 2005 13:29, [EMAIL PROTECTED] wrote:
> I m actually a Novice in Python as well as Linux, When i look up
> things on the internet about Linux Flavours, They are written so
> complex that it is difficult for me to understand, i am asking if
> anyone here know of a Linux Distribu
On Tuesday 25 October 2005 23:32, fuzzylollipop wrote:
> I want to be able to send jabber messages from an subversion
> post-commit hook script. All I need is a simple library to connect to a
> server and send a message.
>
> I looked at all the half-finished and overly complex projects and can't
>
On Monday 24 October 2005 15:02, Shi Mu wrote:
> Is there any difference if I remove the '/'
> from the following statement?
You probably mean '\' instead of '/'.
> intMatrix2 = [[1,1,2,4,1,7,1,7,6,9],\
> [1,2,5,3,9,1,1,1,9,1],\
> [0,0,5,1,1,1,9,7,7,7]]
> print intMatrix
On Sunday 23 October 2005 03:46, thatchmatic wrote:
> I just downloaded and I think installed python. I am not sure if I
> did cause it does'nt respond to the commands that the read me file
> told me to use. Also can someone suggest a trial program I can maybe
> write for fun?
Try http://diveint
On Monday 24 October 2005 10:21, [EMAIL PROTECTED] wrote:
> thanks, that is basically what I am doing and since it is a recipe, I
> would assume there is no standard library module for it.
Well, http://py.vaults.ca/~x/parnassus/apyllo.py/126307487 lists a few.
I had used IPy in the past. But someh
On Thursday 20 October 2005 22:43, Bell, Kevin wrote:
> I need to copy a file, say "abc-1.tif" to another directory, but if it's
> in there already, I need to transfer it named "abc-2.tif" but I'm going
> about it all wrong.
What a coincidence... I stepped about this today:
http://aspn.activestat
On Friday 14 October 2005 21:22, Derek Perriero wrote:
> What would be the best way to create a cgi session that contains the
> basic elements of a cookie and can also hold secure data, such as a
> username/password. [...]
Said. Done. I just tidied up a module we will be using for a web site
here.
On Friday 14 October 2005 21:22, Derek Perriero wrote:
> What would be the best way to create a cgi session that contains the
> basic elements of a cookie and can also hold secure data, such as a
> username/password. I've explored the possibilities of using SmartCookie,
> but that doesn't encrypt m
On Friday 14 October 2005 21:35, billie wrote:
> "Nir Aides" wrote
>
> > Hello Len,
> >
> > You should try the #python IRC room.
> > It is always very active and helpful.
> >
> > Nir
>
> Do you mean efnet #Python chan?
> It's not too much active...
I believe he meant irc.freenode.net :)
Christo
On Sat, Oct 01, 2005 at 05:09:48PM -0500, [EMAIL PROTECTED] wrote:
> Use sys.stdout.write instead of print. It will solve these problems you are
> having.
>
> If you really want to know what's going on, read the language manual,
> http://docs.python.org/ref/print.html It explains the behavior of
On Sat, Oct 01, 2005 at 01:17:41PM -0700, [EMAIL PROTECTED] wrote:
> Christoph Haas wrote:
> > I'm writing a simple interactive program to maintain a database.
> > The goal was to print "> " at the beginning of the line, wait for
> > user input and
Evening...
I'm writing a simple interactive program to maintain a database.
The goal was to print "> " at the beginning of the line, wait for
user input and then deal with it. Minimal test program:
import sys; print ">", ; print sys.stdin.readline()
However when I run the program and enter "foob
On Sun, Sep 25, 2005 at 11:33:03PM -0400, Jeff Schwab wrote:
> I recently came up against this exact problem. My preference is to have
> the plugin writer call a method to register the plugins, as this allows
> him the most control. Something along these lines:
>
> class A_plugin(Plugin)
Dear coders...
I'm working on an application that is supposed to support "plugins".
The idea is to use the plugins as packages like this:
Plugins/
__init__.py
Plugin1.py
Plugin2.py
Plugin3.py
When the application starts up I want to have these modules loaded
dynamically. Users can put th
On Tue, Sep 20, 2005 at 02:57:26AM -0500, pt python wrote:
> im moving from the windows world to the linux world and i need to make
> a python script to see if a service is instaled (ex: apache), if it is
> running or stoped and to start/stop a service like apache or mysql.
> Theres an API on windo
On Thu, Sep 15, 2005 at 11:00:46PM +0200, ionel wrote:
> I'm looking for a thread-safe database.
> Preferably an embedded, sql database.
>
> What are the best choices in terms of speed ?
Sqlite may be a good choice. It doesn't have network overhead, operates
on simple files on the disk (nothing t
92 matches
Mail list logo