First
|
Prev |
Next
|
Last
Pages: 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
Python, Reportlabs, Pil and Windows 7 (64bit) I have a Windows 7 (64bit AMD) machine and am having quite a lot of problems installing Reportlabs and Pil. I wondered if anyone else has had the same issues and what the best way of dealing with it. So far I've tried: 1. Reportlabs / Pil 32 installers - I've tried using these but they can't find python. I als... 18 Mar 2010 10:29
EOFError: EOF when reading a line I am trying to use the subprocess to send the data to child process. I am not sure why i keep getting "EOFError: EOF when reading a line" i am using Python 2.4.3, GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on 64bit linux ,centos Thanks output : ===== Traceback (most recent call last): File "test_input.py",... 11 Mar 2010 21:20
Elementtree install problem in Ubuntu (a newbie ..) On Mar 10, 2010, at 6:48 PM, robert somerville wrote: Hi ; I installed the elementtree and celementree packages throught the synaptic package manager, all seems to go fine through the install ... when i startup python and try to import them (as per the EFFBOTT.org suggestions) .. PROBLEMS ...... 10 Mar 2010 19:47
Anything like "Effective Java" for Python? Subject line pretty much says it all: is there a book like "Effective Java" for Python. I.e. a book that assumes that readers are experienced programmers that already know the basics of the language, and want to focus on more advanced programming issues? ~K ... 12 Mar 2010 16:10
os.rename [Errno 31] Too many links I want to atomically write to a file so have been using temporary files and renaming: temp = tempfile.NamedTemporaryFile(delete=False) temp.file.write(data) temp.file.close() os.rename(temp.name, output_file) This worked but after 39567 files os.rename raises an OSError: [Errno 31] Too many links I can st... 11 Mar 2010 02:22
about Telnetlib problem JEHERUL wrote: Dear All I am trying to telnet to a Cisco router . Following is my code . #code router.py import getpass import sys import telnetlib HOST = "router address" # router address is ommitted for security reason user = raw_input("Username : ") password =... 10 Mar 2010 09:40
Does this already exists?: A module that checks if the used platformis supported Hi all, Before I start reinventing a squared wheel, I have the following question: Is there already a (standard) module that wraps around the various os/sys information which checks if the platform + version is supported for what I want to do with it. For example I am currently looking at making a wrapper ar... 10 Mar 2010 09:40
Can't define __call__ within __init__? Want to switch __call__ behavior. Why doesn't this work? What is the correct way to write this? class X (object): def __init__(self, i): if i == 0: def __call__ (self): return 0 else: def __call_ (self): return 1 x = X(0) ... 11 Mar 2010 23:33
Importing Modules Hello I frequent the PyGtk mailing list all the time, but this is the first time I am posting here =) I wanted to know if imported classes are treated differently than internal classes. I have attached a minimal example which points out what I mean. Essentially, if I create a class: class A(): __init__(se... 10 Mar 2010 20:53
Down casting Python objects En Tue, 09 Mar 2010 18:26:52 -0300, Andrey Fedorov <anfedorov(a)gmail.com> escribi�: So I have `x', a instance of class `Foo'. I also have class `Bar', a class extending `Foo' with a couple of methods. I'd like to "down cast" x as efficiently as possible. Is it OK to just set `x.__class__ = Bar' and ... 10 Mar 2010 14:11 |