First  |  Prev |  Next  |  Last
Pages: 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
recursively remove all the directories and files which begin with'.'
On Fri, May 14, 2010 at 10:53, albert kao <albertkao3(a)gmail.com> wrote: C:\python>rmdir.py C:\test\com.comp.hw.prod.proj.war\bin ['.svn', 'com'] d .svn dotd C:\test\com.comp.hw.prod.proj.war\bin\.svn Traceback (most recent call last):  File "C:\python\rmdir.py", line 14, in <module>    rmtree... 14 May 2010 11:41
cmd app and xml
Hi there, i'm writing a console app using the cmd library. I also use xml.dom.minidom to parse an xml file that i get as a response to an HTTP Post request. with data = response.read() i get the xml response from the server. i then feed the parser with that data. myDoc = parse(data) but it doesn't work. To ma... 14 May 2010 08:24
write a 20GB file
Hello there, I have a 22 GB binary file, a want to change values of specific positions. Because of the volume of the file, I doubt my code a efficient one: #! /usr/bin/env python #coding=utf-8 import sys import struct try: f=open(sys.argv[1],'rb+') except (IOError,Exception): print '''usage... 15 May 2010 21:21
d-cm Controll Manager
Hey, I'm developing d-cm, it's a program for web-developers that often need a text-editor,file-manager,sql-manager,ftp-manager. d-cm combines all of them in one easy to use program. i'm looking for people that would like to help developing or to test the program. http://code.google.com/p/d-cm ... 15 May 2010 13:42
Tkinter - paste from clipboard not working
I have written a very simple GUI in Python / Tkinter, running under Python 2.5.4 on Windows. The GUI is essentially a big Tix.ScrolledText area, where you can enter some text, and a button underneath to process the text. (The button causes the text to be looked up in a SQLite database, and some stats are genera... 13 May 2010 19:22
use only files but ignore directories on Windows
My program plan to use only files but ignore directories on Windows. I google but do not find some functions like bool isFile(string) bool isDirectory(string) Please help. ... 13 May 2010 17:08
indexing lists/arrays question
this must be easy but its taken me a couple of hours already i have a=[2,3,3,4,5,6] i want to know the indices where a==3 (ie 1 and 2) then i want to reference these in a ie what i would do in IDL is b=where(a eq 3) a1=a(b) any ideas? Thanks ... 13 May 2010 20:29
jython and emacs on windows
Hello, i am trying to start a jython interpreter from emacs on windows from several days and did not managed to do it. I managed to start the jython interpreter from emacs on linux I managed to start the python interpreter from emacs on windows. with jython on windows i have the following problem: i can execute ... 13 May 2010 10:27
Loading C extension from memory
Hello, I wonder if there is a way to load C extension from in-memory object, not from the file on the disk? I'm asking bc I would like to download C extensions over network and load them into Python interpreter (without storing the C extension in file on the disk). I googled for this but there appear onl... 20 May 2010 02:59
Queue.Queue() AttributeError exception
On May 12, 11:50 pm, Dennis Lee Bieber <wlfr...(a)ix.netcom.com> wrote: On Mon, 10 May 2010 10:40:51 +0800, "ÖÓ±þÓÂ" <zhon...(a)ucweb.com> declaimed the following in gmane.comp.python.general: I have a multi-thread program work with Queue.Queue(), sometimes put request to the work queue, but throw an exceptio... 13 May 2010 05:01
First  |  Prev |  Next  |  Last
Pages: 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128