First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Weird Python behaviour
Hello, Lets say that I want to feed an optional list to class constructor: class Family(): def __init__(self, fName, members = []): self.fName = fName self.members = members Now, lets add members to two different instances of Family: f1 = Family("Smith") f1.members.append("Bill") f2 = Family("Sm... 10 Aug 2010 14:41
freeze function calls
Hello, I want to write a web application that does this: (1) The user submits a query: --------------------------------- | What is the answer? | --------------------------------- <Submit> (2) The web server gives the user N answers and a button saying "More answers": .. answer 1 .. answer 2 .. answ... 11 Aug 2010 04:55
Checker 1.3 Released!
I'm pleased to announce a new release of Checker. This is a cross-platform, pluggable tool for comparing the configuration of a machine with a known configuration stored in text files in a source control system all written in Python. This release and the previous release fix ordering issues in file listings a... 10 Aug 2010 05:50
Execute 1.2 Released!
I'm pleased to announce the first public release of Execute. This is a collection of common patterns for executing commands as sub processes. It supports executing a simple command that requires no input in a sub process and can return: - text sent to the standard error and output streams - the return c... 10 Aug 2010 05:50
Subprocess Problem (Wait and while)
On 09/08/2010 17:08, Alban Nona wrote: Hi, I have some problem with my actual code. In fact, the script is done to work within nuke from the foundry which is a compositing software. Homever, I have some code difficulties as I quite new in the area. Here the deal: Im using subprocess command t... 10 Aug 2010 05:50
MailingLogger 3.3.3 Released!
I'm pleased to announce a new release of Mailinglogger. Mailinglogger provides two handlers for the standard python logging framework that enable log entries to be emailed either as the entries are logged or as a summary at the end of the running process. The handlers have the following features: - customisa... 10 Aug 2010 05:50
delegate functions to member
Hi! I have an extension module (a plugin written with Boost.Python) and around that a wrapper class that adapts a few things. Since the module is a plugin, there are multiple implementations of this. What I'm currently doing is this: plugin = __import__(plugin_name) class PluginWrapper(plugin.PluginClass)... 10 Aug 2010 09:05
Using the print command in Python3
In earlier versions of Python I can do: print 'A', print 'B' to print everything on the same line: 'A B' But I don't know how to do this with Python3 I've been trying things like: print('A',) print('B') and it prints two different lines. So, do I get two different print statements to output on the same... 10 Aug 2010 04:45
File Manager in Tkinter
As a learning exercise in Tkinter I htought about making a very simple and basic file manager for my own use. I tried searching google for any sample project and could not find anything. Not exactly sure how to start I tought I could ask here? I thought about making two listboxes one to list folders only the o... 11 Aug 2010 03:51
favicon.ico problem
Hi guys, I am having this strange problem. I have programmed a very basic multiprocessing webserver using low level sockets. Each time the server receives a request it spawns a new process to handle the request. Now when through a web browser I type http://localhost:8001/ it automatically creates two processes: One ... 12 Aug 2010 01:43
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17