First
|
Prev |
Next
|
Last
Pages: 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
regexp help 2009/11/4 Nadav Chernin <Nadav.C(a)qualisystems.com>: Iâm trying to write regexp that find all files that are not with next extensions: Â exe|dll|ocx|py, Â but canât find any command that make it. http://code.activestate.com/recipes/499305/ should be a good start. Use the re module and your regex instead of... 4 Nov 2009 16:24
How to test urllib|urllib2-using code? I want to write some tests for code that uses both urllib and urllib2. I would like to be able to run these tests locally. Are there modules to facilitate the writing of such tests (e.g. for setting up a mock web server locally, etc.)? BTW, in the Perl world, one very easy way to learn how to write tests... 5 Nov 2009 11:07
pythonw.exe under Windows-7 (Won't run for one admin user) I have a perplexing issue, I have four users set up on a W7 computer. The program runs fine for all users except the admin user who needs it for school assignments. It's not a firewall issue as I've added localhost for pythomw.exe as allow. I've done some data dumps using sysinternals process monitor and the ... 11 Nov 2009 19:06
read Zipfile On Mon, Nov 2, 2009 at 4:39 PM, sityee kong <skong1(a)gmail.com> wrote: <snip> However for the ZIP file, let says the ZIP file contains only one member, archive.namelist() ['CHAVI_MACS_SC_A__AUG_25_08_FinalReport_090812.csv'] I would like to open the csv file with folowwing command, file=archive.ope... 2 Nov 2009 22:22
Migrating from R to Python I am a long time user of "R" for statistical analysis and find it an extremely useful environment for data exploration. That said I may be adding and/or moving to Python for more of my work and wanted to know if people had any recommendations. My work is primarily financial time series analysis. In R this means ... 2 Nov 2009 12:20
Accessing a method from within its own code Paddy O'Loughlin wrote: Hi, I was wondering if there was a shorthand way to get a reference to a method object from within that method's code. Take this code snippet as an example: import re class MyClass(object): def find_line(self, lines): if not hasattr(MyClass.do_work, "mat... 2 Nov 2009 12:20
ANN: python-ldap-2.3.10 Find a new release of python-ldap: http://www.python-ldap.org/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. processing LDIF, LDAPUR... 1 Nov 2009 08:53
import bug I'm running into an ugly bug, which, IMHO, is really a bug in the design of Python's module import scheme. Consider the following directory structure: ham |-- __init__.py |-- re.py `-- spam.py ....with the following very simple files: % head ham/*.py ==> ham/__init__.py <== ==> ham/re.py <== ... 4 Nov 2009 06:23
Problems with cx_Oracle and Oracle 11.1 on Windows Hi, I am trying to use cx_Oracle and SQLAlchemy with Oracle 11gR1 (11.1) on Windows Vista 64 bit. When I import cx_Oracle, I get this error: import cx_Oracle Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed: %1 is not a valid Win32 application. I ... 30 Oct 2009 22:10
Publishing new release on PyPI: How? HI! Well, maybe I'm completely blind but I can't find a way to add a new release to PyPI index for python-ldap, not just a new file to an existing release version. I'm the project owner and I did it several times in the past. But I simply can't find the button where to add another release. Was there a change in ... 30 Oct 2009 19:58 |