473,796 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
0
1,902
thread by: Ruslan Spivak | last post Jul 18 '05 by: Ruslan Spivak
Hello, pythonistas! Does anybody have pyOpenSSL windows binaries for python2.2? Thanks a lot in advance Best regards, Ruslan
0
1,162
thread by: enrica dente | last post Jul 18 '05 by: enrica dente
Dear All, I emailed you sometime ago. I need your help again. This time I really need it. I haven't been able to find a solution that allows me to search for all the <a href=/welcome links in the original pages created by Zope. How do I convert these pages into a files system that I can search so that I can also search and replace HTML...
2
1,799
thread by: Achim Domma | last post Jul 18 '05 by: Anand Pillai
Hi, I managed to build a simple com server with py2exe. My script only imports codecs and re, but the dist folder contains tcl84.dll, tk84.dll and win32ui.pyd. Can somebody tell me why? And how to prevent this? I don't do any gui stuff, so where does the dependency comes from? regards, Achim
7
1,859
thread by: Ryan Swift | last post Jul 18 '05 by: Christos TZOTZIOY Georgiou
Hi, I'm new to Python, so this may be an easy solution. I'm having trouble extracting TIFF files from incoming emails. Actually, I think the root of my problem is that I'm having trouble reading the email header. Does anyone have an easy solution? Thanks in advance.
2
1,587
thread by: Sunit Joshi | last post Jul 18 '05 by: Christos TZOTZIOY Georgiou
Hello All I have a problem here where I need to find the drive letters in a text file and replace them with another letter. Now the lines can be as long as this 6 'C:\pds\bddin64\report\mto\' 'SJOSHI' 'D:\pds\bddin64\report\format\' 'SJOSHI' with multiple entries for path; i.e. there may be 2, as above or 1 or more then 2. If I use the...
0
1,156
thread by: ted holden | last post Jul 18 '05 by: ted holden
Dumb question here. Every once in a while, while playing around with or experimenting with Zope, I either get clumsy with my hands and don't click something thoroughly enough or I do some combination of things which Zope can't deal with (this is on the manage screen), and the thing locks up. All I've been able to do so far when that...
2
1,308
thread by: RichB | last post Jul 18 '05 by: John J. Lee
Howdy all, I've written a few scripts that might be very useful to small groups of people (i.e. extracting time stamps from pictures taken with Sony digital cameras). I don't want to start sourceforge projects or anything big like that. I just want to make some stuff available. Where can I post/upload my stuff? thanks,
1
4,385
thread by: Douglass Turner | last post Jul 18 '05 by: Paul Boddie
Hello, I'm trying to install a statistics package called RSPython that requires a python shared library to be present on my SuSE 8.1 linux box. My python is provide as an RPM package and as far as I can tell there is no libpython.a or libpython.so. What gives? How do I get these libraries on my machine? Thank you,
2
2,216
thread by: T. Kaufmann | last post Jul 18 '05 by: Peter Otten
Hi there, in my directory are some 'normal' files like *.py sources and some empty directories too. How can I put all togehter into a zip-archive? There is no problem to zip the *.py files but if I try to add empty directories an exception is trown. Thanks.
2
3,406
thread by: Douglass Turner | last post Jul 18 '05 by: Manfred Bartz
Hi, Please release me from my own private hell. Platform: SuSE 8.1 I'm installing python 2.3 tarball as follows: ../configure --enable-shared make
2
1,408
thread by: Andy | last post Jul 18 '05 by: Bruno Desthuilliers
Would like to try Python...... Can you use Python to access SQLServer... if so do you have an example. What are the strengths and weaknesses of Python.? Is it like vbscript ? Example code of things that it's good at.... to get me started
2
3,091
thread by: Tom Van den Brandt | last post Jul 18 '05 by: Tom Van den Brandt
Hello, Is there anyone using pyQt who can tell me if I can set/change the internal id of a pushbutton myself ? I can't find anything in the docs... Tnx, -- Tom Van den Brandt I try...
5
2,247
thread by: Max Ischenko | last post Jul 18 '05 by: Max Ischenko
Hi, I've started to develop under Microsoft ASP framework, which allows different lang. used in a ActiveX page. I wonder about possible strategies to use Python modules from VBScript <%%> includes. Right now I'm thinking about this approaches: - create a COM server in Python to be able to call it from VB. Drawbacks: cumbersome and...
0
1,325
thread by: OKB (not okblacke) | last post Jul 18 '05 by: OKB (not okblacke)
I'm fooling around with some MUD server code, and I want to add a "reload" command that will let MUD wizards reload the server modules, so that changes to the MUD parser and such can be effected without having to shut down and restart the server. Now, what I want to do at the top of my main module, instead of just "import somemodule", is...
1
4,868
thread by: Michael Mossey | last post Jul 18 '05 by: Michael Mossey
Hi, I'm trying to install PyQt for windows together with non-commercial Qt version 2.3.0. When I try to run a sample Qt program I get this error: File "c:/DOCUME~1/mossey/LOCALS~1/Temp/python-1872fAk", line 1, in ? from main_qt import * File "main_qt.py", line 2, in ? from qt import * File "C:\PROGRA~1\Python22\lib\site-packages\qt.py",...
0
1,191
thread by: Kenny Tilton | last post Jul 18 '05 by: Kenny Tilton
No, seriously, I want to do some free Lisp classes for anyone interested. One or two nights a week. BYO computer or use one of mine. BYO code to work on, or we can work thru the CL text of your choice. (But do snag one, or find something on-line you want to follow.) btw, don't be shy. I enjoy teaching and am accustomed to helping folks at...
9
2,177
thread by: Paradox | last post Jul 18 '05 by: Paradox
Why does the following attempts to pass in keywords arguments not work. It would be alot cooler if there was a way to not have to have the function defined with the variable name. It really seems to me that the 3rd function should work. Does anyone know how to accomplish something like this. def testKeywords1 (**kwds): print x def...
4
1,706
thread by: Stephen Boulet | last post Jul 18 '05 by: Peter Hansen
I'm trying to parse a url to set my hardware & system clock (linux). Perhaps the best way to do this would be to use the urllib2 module to convert a site to text, but since I haven't found that option yet, I did this instead (which sometimes works, sometimes doesn't, and when it doesn't seems to get hung up on line 4 -- os.popen oddity?): ...
1
1,852
thread by: Patrick W. Fraley | last post Jul 18 '05 by: Aaron Watters
Hi Everybuddy, I am having a little problem I can not find a solution for. I am trying to use the SQL-LIKE statement in gadfly. After googling around I found out that it is not supported, and that on is supposed to use a regular expression. All great, but there is nowhere a reference to be found on how to do this. No examples, no...
3
4,247
thread by: Tom Lee | last post Jul 18 '05 by: Tom Lee
# # Python 2.2.3, wxWindows/wxPython 2.4.1 # # The code: # from wxPython.wx import * class TestFrame( wxFrame ): def __init__( self ):
8
13,819
thread by: Jeremy Jones | last post Jul 18 '05 by: Van Gale
Does anyone know if there exists a Python REST (web services) framework? I've googled and come up short. I don't think it should be that hard to do if one doesn't exist (famous last words). I guess one could subclass BaseHTTPServer and have specified things to do depending on the path and the method? Jeremy Jones
6
6,634
thread by: Harri Pesonen | last post Jul 18 '05 by: David Abrahams
How do I pass the calling C++ class reference (or anything) to a callback? My code is: static PyObject* emb_Set(PyObject *self, PyObject *args) { char *key, *value; if(!PyArg_ParseTuple(args, "ss", &key, &value)) return NULL; // do something with the C++ class here
1
1,469
thread by: max | last post Jul 18 '05 by: Kevin Dahlhausen
Hi all, I am looking for a recent rundown of HTML generation frameworks rated by 1) being up-to date 2) power 3) complexity and more informally - what do python folks like to use for HTML generation these days? thanks -
10
8,719
thread by: Debian User | last post Jul 18 '05 by: Edward K. Ream
Hi, I'm trying to discover a memory leak on a program of mine. I've taken several approaches, but the leak still resists to appear. First of all, I've tried to use the garbage collector to look for uncollectable objects. I've used the next: # at the beginning of code gc.enable()
0
2,107
thread by: Gilles Lenfant | last post Jul 18 '05 by: Gilles Lenfant
Hi, I'm totally newbie in the signature stuffs. I got a text file stuff.txt and a (said PKCS7) signature file sign.txt that looks like this... "3080020101310b300906052b0e03021a050030800..." (2648 bytes long in 1 line) Is there a pythonic way to verify that signature against the text file ?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.