| |
thread by: Andrew Chalk |
last post Jul 18 '05 by: Andrew Chalk
Are any of the database modules (dbm, gdbm, etc.) supported in Python
running on Windows? Just dumbdbm?
Many thanks!
|
thread by: Rim |
last post Jul 18 '05 by: Rim
Hi,
How can I control the location of the bytecode files?
The reason I ask is I want to place the bytecode in a directory
different than source code for backup reasons. Our backup system is
directory based and I only want to have source code backed up, not
object files or pyc files.
Thanks,
|
thread by: Andrew Chalk |
last post Jul 18 '05 by: Andrew Chalk
Is there a unique session ID created in a Python CGI app.?
If not, and I suspect not, what is the best way to keep track of the session
that loads each web page? I need to store form data from multiple forms
completed by the user. What is the best way to keep track of which user is
which?
Thanks!
|
thread by: Afanasiy |
last post Jul 18 '05 by: Andrei
What's the best method for coloring simple markup?
<xyz att="val" att="val">
You can assume it is not HTML or XML or valid anything
except markup which happens to look somewhat like them.
You can assume xyz < > = and " always exist for each tag.
What methods are usually employed?
|
thread by: Joonas Paalasmaa |
last post Jul 18 '05 by: Joonas Paalasmaa
Hi,
When compiling Sketch's streamfilter C extension the errors below are
raised during linking. What could cause the errors?
(Python 2.3, MinGw 1.1 with GCC 2.95.3-6, Windows 98)
Here are the occurrences of FilterType that may be relevant:
-------
C:\sketch\sketch-0.7.12\Filter\filterobj.c: 949: PyTypeObject
FilterType = {
|
thread by: Josh |
last post Jul 18 '05 by: Kevin Mote
I've been trying to get Tix running with Python on Windows. Since
there is no binary distributions of Tix for Windows, it seems the
easiest way to install Tix is through IDiscovery's IDEStudio 1.9
(http://starship.python.net/crew/mike/Idle/). This went fine and I
ran the "Install Tix into Python" option at the end of the
installation, with...
|
thread by: Martin Christensen |
last post Jul 18 '05 by: Martin Christensen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy!
Suppose I have a list A containing elements that I want to put into
list B if they satisfy some property. The obvious way of doing it
would be,
B =
|
| |
thread by: Jane Austine |
last post Jul 18 '05 by: Michael Peuser
As you add more items, say text lines, in Text widget, it gets too
slow and almost impractical to use on. Take idle for example. If the
text gets bigger(e.g. print
urllib.urlopen('http://www.amazon.com').read() ), it becomes too
sluggish to use as an "interactive" shell.
I have tried wxPython and it seems to have the same problem (from my...
|
thread by: Marc |
last post Jul 18 '05 by: Michael Peuser
Hi all,
I was thinking about developing a drag and drop application and was curious
how difficult it is to do. Basically I want to have a set of objects that I
move around the screen and drop into place.
Anyone else ever done it? Got any tips?
Thanks,
Marc
|
thread by: Thor |
last post Jul 18 '05 by: Michael Peuser
I have the following function (with some things removed):
def add_stock():
stockw=Tk()
stockw.title("New stock solution")
sofl=Frame(stockw)
sofl.pack()
u=StringVar()
u.set("M")
cw=OptionMenu(sofl,u,"M","m","u","v","w")
|
thread by: Birgit Rahm |
last post Jul 18 '05 by: Scott David Daniels
Hallo newsgroup,
because so many people helped me, I hope for help onesmore.
If I compile a python py file to a pyc file, will there the paths of the
included files (or other paths) hardly be written to the pyc file and why.
(Does not find this import file without this path anymore?)
Which sense is behind there?
TIA,Birgit
|
thread by: Skip Montanaro |
last post Jul 18 '05 by: Skip Montanaro
I would like to override the distutils install class. It doesn't look like
it was designed for that. Do I have to import distutils.command and
overwrite its install attribute? I didn't see anything about this sort of
thing in the distutils docs.
Thx,
Skip
|
thread by: cygwin-help |
last post Jul 18 '05 by: cygwin-help
Hi! This is the ezmlm program. I'm managing the
cygwin@cygwin.com mailing list.
Acknowledgment: The address
python-list@python.org
was not on the cygwin mailing list when I received
your request and is not a subscriber of this list.
|
thread by: John D. |
last post Jul 18 '05 by: John Roth
Does anyone know if there is an "in-ram" dictionary based database
for Python.
I can see some applications where this can really be powerful in
applications requiring 10,000 records or less.
Is such a database available? If so, who is working on it,
or where is it?
I've heard that Python supports a stand-alone database. I looked
|
thread by: Bernard Delmée |
last post Jul 18 '05 by: Bernard Delmée
Hello, I can't seem to be able to specify the delimiter when building a
DictReader()
I can do:
inf = file('data.csv')
rd = csv.reader( inf, delimiter=';' )
for row in rd:
# ...
|
| |
thread by: guillaume |
last post Jul 18 '05 by: Adam Przybyla
I have to read and process a large ASCII file containing a mesh : a
list of points and triangles.
The file is 100 MBytes.
I first tried to do it in memory but I think I am running out of
memory therefore I decide to use the shelve
module to store my points and elements on disks.
Despite the fact it is slow ... Any hint ? I think I have the...
|
thread by: cygwin-help |
last post Jul 18 '05 by: cygwin-help
Hi! This is the ezmlm program. I'm managing the
cygwin@cygwin.com mailing list.
Acknowledgment: The address
python-list@python.org
was not on the cygwin mailing list when I received
your request and is not a subscriber of this list.
|
thread by: Aaron Kunkle |
last post Jul 18 '05 by: yaipa h.
i'm trying to display output from a linux command line program and i'm
getting a lot of junk.
i was told that pulling out escape sequences like this regex: \033*;
would do it but that doesnt catch them all. i'm seeing the little box
characters for instance.
the only way i've found thus far is this:
building the regex object:
regex =...
|
thread by: KC |
last post Jul 18 '05 by: KC
I have written a parser using htmllib.HTMLParser and it functions fine
unless the HTML is malformed. For example, is some instances, the
provider of the HTML leaves out the <TR> tags but includes the </TR> tags.
Apparently, htmllib and more likely sgmllib do not parse an end tag if a
corresponding start tag was not found. Does anyone know...
|
thread by: ProgDario |
last post Jul 18 '05 by: ProgDario
Hello,
in the site I found a lot of complicated examples, but I can't find
the simple one I'm looking for.
The problem is:
I have 1 jython file (script1.py) with a function named 'calculate',
and a java file (run.java).
|
thread by: ProgDario |
last post Jul 18 '05 by: ProgDario
Hello,
I have a simple question I can't find on the FAQ.
I want to instantiate a PyFunction from a Java class, but the function
is on a jython file (script1.py).
How can I get a PyFunction object referencing the function in the
external file?
|
thread by: Stephan Diehl |
last post Jul 18 '05 by: Alex Martelli
Once in a while, I get bitten by the fact, that mutating list methods such
as 'append' or 'extend' return None instead of the (mutated) list itself.
Is there a compelling reason for that? I googled around, but didn't find
anything about this.
Thanks
Stephan
|
thread by: Mark Carter |
last post Jul 18 '05 by: Mark Carter
Is there a way of programmatically saving the text in an IDLE session?
|
| |
thread by: Bradford Powers |
last post Jul 18 '05 by: Alex Martelli
I'm curious how I can make Python print text in color.
|
thread by: AFSOUTH Internet Administration |
last post Jul 18 '05 by: AFSOUTH Internet Administration
All,
Our python database has accidentally grown over 2Gb and we have the older
version that does not support large files, when we tried to pack it to get
it back below 2Gb it crashed and we can not restart the services or web
pages. Is there any fix for this problem? we are unable to upgrade our
python version at this stage. Our wise/...
|