First  |  Prev |  Next  |  Last
Pages: 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
[ANN] Benchmarker 1.0.0 - a samll utility for benchmarking
Hi, I released Benchmarker 1.0.0. Benchmarker is a small library for benchmarking. Example ------- def fib(n): return n <= 2 and 1 or fib(n-1) + fib(n-2) from benchmarker import Benchmarker bm = Benchmarker() # or Benchmarker(wi... 16 May 2010 02:43
Access to comp.lang.python
This isn't about Python but I'm seeking suggestions as to the best way to access the newsgroup. It seems that messages are coming from a number of sources, such as gmane and google groups. The problem is that many messages seem to get unlinked from their threads. I use Thunderbird 3.0.5 and wonder whether ... 19 May 2010 13:46
Reading XML namespaces
Say I have an XML document that begins with: <?xml version="1.0" encoding="utf-8"?> <dsml:dsml xmlns:dsml=""> .... How can one access the namespaces define in this node? I've done a fair amount of XML in Python, but haven't been able to uncover the call to enumerate the namespaces. ... 16 May 2010 12:25
Pyinstaller on WINE - cannot install pywin32
Pyinstaller works fine on Windows XP. I am trying to get it working on WINE. Running results in asking for pywin32, however pywin 32 will not install C:\pywin32-214>c:\python26\python Building pywin32 This is a distutils setup-script for the pywin32 extensions To build the pyw... 15 May 2010 10:25
Human word reader
I'm planning to create a human word program A human inputs a string "Give me the weather for London please." Then I will strip the string. "weather for london" Then I get the useful information. what:"weather" where:"london" After that I use the info. I need help with getting the useful information how do I g... 17 May 2010 03:42
yappi 0.51 released
Hi all, Yappi (Yet Another Python Profiler) 0.51 released. See the version highlights: * OPTIMIZATION:Use per-pit cpc for better accuracy in different timing_sample values. Now timing_sample is not linearly decreasing the timing accuracy for most of the applications tested. We reduced the runtime of the p... 15 May 2010 07:12
help need to write a python spell checker
Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. The program will accept either one or two command line parameters. 1. The first command line parameter is the name of the text file that will be checked. 2. The optional second command line parameter is... 21 May 2010 12:47
Alternate string object type for PyStringObject(available Python 2.x) in python 3.x?
On Fri, May 14, 2010 at 10:15 AM, MathanK <switch2mathan(a)> wrote: What is the replacement in python 3.x for PyStringObject which is available in python 2.x? PyUnicodeObject or PyBytesObject depending on your use case. Cheers, Chris -- ... 14 May 2010 19:24
Including a remote file -- permission denied?
I have a Python script running on the default OSX webserver, stored in /Library/WebServer/CGI-Executables. That script spits out a list of files on a network drive, a la "os.listdir('/Volumes/code/ directory/')". If I just execute this from the terminal, it works as expected, but when I try to access it through a b... 14 May 2010 16:06
joining two column
On Sat, May 15, 2010 at 3:22 AM, mannu jha <mannu_0523(a)> wrote: Hi, I have two different file file1: a1 a2 a3 a4 a5 a6 a7 a8 file2: b1 b2 b3 b4 b5 b6 b7 b8 and I want to join them so the output should look like this: a1 a2 b1 b2 a3 a4 b3 b4... 15 May 2010 11:31
First  |  Prev |  Next  |  Last
Pages: 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127