First  |  Prev |  Next  |  Last
Pages: 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
It's a fact not lost on the opportunity to see yourself ... 11 Apr 2010 22:19
Refresh Problem
Victor Subervi wrote: Hi; I send variables to a script. The script adds appropriate lines into a database of an order to my shopping cart. When I refresh the screen, as no doubt some customers will do, it re-ads those orders. Now, I can delete them, but that's not the point. I don't want it to re-ad t... 11 Apr 2010 16:47
A 'foolproof' way to query inheritance tree?numbers.Real in 2.6)
Generally, if I want to know the inheritance tree of a class, I either use inspect.getmro or __bases__ However, after reading about the new numbers module / class tower in Python 2.6/3.0, I realized that both of these will fail to show that the 'float' type actually inherits from numbers.Real: import inspe... 11 Apr 2010 14:32
ACE RSA Authentication Manager
Hi, Anyone out there writing Jython for RSA Authentication Manager ? I'm fairly new to Python but I see it is possible to write Jython scripts for user administration. I'm also very interested in writing scripts for monitoring and basically everything else related to RSA but in Jython, i.e. instead of... 11 Apr 2010 13:26
Twisted and txJSON-RPC
Hi all, I'm modifying a Twisted project and I'd like to implement the txJSON- RPC code show here: However, when I try to install this with this command line: sudo easy_install txJSON-RPC I get an error message: error: docs/PRELUDE.txt: No such file or directory I'm not su... 11 Apr 2010 12:20
finding objects in a piece of functional code ?
Stef Mientki, 10.04.2010 18:08: I would like to translate some functional description into some standard class object, so it can be used as a basic building brick into a larger piece of code. Suppose the functional description is: Name = 'Test_Function' Out = 3 * In Ok, so you want to impleme... 11 Apr 2010 11:14
universal newlines and utf-16
i am using python 2.6 on a linux box and i have some utf-16 encoded files with crlf line-endings which i would like to open with universal newlines. so far, i have been unable to get this to work correctly. for example: open('test.txt', 'w').write(u'a\r\nb\r\n'.encode('utf-16')) repr(open('test.... 11 Apr 2010 21:13
Python does not allow a variable named "pass"
I am trying to automate access to a web page that has forms based authentication. The password field is named "pass" which python is not going to like. Other than asking the website owner to change the name of the field how can I go about passing that field in the form post? dev:~$ python Python 2.5.2 (r252:... 11 Apr 2010 10:06
Comments on PyPI
Steven D'Aprano wrote: How do I leave comments on PyPI? There's a checkbox "Allow comments on releases" which I have checked, but no obvious way to actually post a comment. You need to login in order to rate or comment. A more specific place to ask PyPI questions is catalog-sig(a) HTH, Mar... 11 Apr 2010 10:06
Error Occurs: Replace a character in a String
Hello, I am getting an error in my python script when I try to change a character in a string. [b]But I dont know why or what to do to fix it?[/b] I have commented in my code where the error occurs [code] def format_file(filename): HTML_file = open(filename,'r') HTML_source = ... 11 Apr 2010 02:37
First  |  Prev |  Next  |  Last
Pages: 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159