| |
thread by: ram.rachum |
last post Nov 5 '07 by: ram.rachum
Please help!
IDLE color codes only the shell, not the open files! How can I solve
this?
|
thread by: klenwell |
last post Nov 5 '07 by: Matimus
I apologize in advance for coming at this from this angle but...
In PHP you have the __FILE__ constant which gives you the value of the
absolute path of the file you're in (as opposed to the main script
file.) With the function dirname, this makes it easy to get the
parent dir of a particular file from within that file:
$parent_dir =...
|
thread by: sndive |
last post Nov 5 '07 by: sndive
suppose i want to
make foo.childNodes available as foo
(while still providing access to the printxml/printprettyxml()
functions
and other functionality of dom/minidom instance).
What is a good way to accomplish that?
|
thread by: vedrandekovic |
last post Nov 5 '07 by: kyosohma
Hello,
How can I Insert image with string in ListCtrl with this example:
# Import ftputil module - like ftplib
from ftputil import FTPHost
# Create connection
ftp=FTPHost("ftp.someserver.com","user","password")
# LIST ALL FILES/FOLDERS ON SERVER
|
thread by: joa2212 |
last post Nov 5 '07 by: pythoncurious
Hello everybody,
I'm posting this message because I'm quiet frustrated.
We just bought a software from a small software vendor. In the
beginning he hosted our application on a small server at his office. I
think it was a Fujitsu-Siemens x86 running debian Linux. The
performance of the DSL-Line was very poor, so we decided to buy an own...
|
thread by: snewman18 |
last post Nov 5 '07 by: snewman18
I compiled Python from source on a bunch of my development machines
without enabling the readline modules. Is it possible to add readline
support after installation?
I really just want to get my "up arrow" history working...
|
thread by: kang jia |
last post Nov 5 '07 by: kang jia
hi
this is my database in models.py in the Django application, however, i don not know where is the error, i have tried many times, but always got error to set up database, sometimes they claim indention, however, i checked very carefully the indentation should be correct. the following is my database tables
from django.db import models...
|
| |
thread by: shuf |
last post Nov 5 '07 by: bartonc
Hello,
I was wondering if anyone knows how to change the color of a selected item in a listctrl (for example, on my system a selected item is highlighted in blue). I could not find any information on this, other than it is a system defined parameter. Any help is greatly appreciated.
Thanks in advance,
Stephen
|
thread by: Donn Ingle |
last post Nov 5 '07 by: Paul McGuire
Hi, I really hope someone can help me -- I'm stuck.
I have written three versions of code over a week and still can't get past
this problem, it's blocking my path to getting other code written.
This might be a little hairy, but I'll try to keep it short.
Situation:
I want to pass a string to a function which will parse it and generate...
|
thread by: kang jia |
last post Nov 5 '07 by: kang jia
hi
i have small problems occurred in my login function, which i use Django to build,
in my template which is login.html, the code is like the following:
<html>
<head>
<title>Login</title>
|
thread by: Phil |
last post Nov 5 '07 by: Phil
I am rather new to python and loaded recent versions of numpy and pylab
on windowsxp.
It seems that the default dtype for zeros in pylab is None while in
numpy it is float. Is there a reason for this? It caused me some
difficulties.
For scientific computing, is there a recommended set of packages that
one can (from package import *)...
|
thread by: mmomar |
last post Nov 5 '07 by: mmomar
Hi,
I am using a HTTPS connection to invoke a cgi-script. I want to use a
timeout between the sending the request and receiving the response, so
what I want to do is when the request is send, the client should wait
for a specified time, drop the connection and then do some thing
else.
I found out that the timout should work on HTTPS...
|
thread by: flyfree |
last post Nov 5 '07 by: Kevin Walzer
I got an error during making a python application with xcode 3.0 in OS
X Leopard.
(KeyError: 'NSUnknownKeyException - : this class is not key value coding-compliant
for the key calculatedMean.')
The application is a simple example of how to use the PyObjC with
xcode 2.0.
http://developer.apple.com/cocoa/pyobjc.html
|
thread by: oruccim |
last post Nov 5 '07 by: Dustan
hi my friends;
google can searching in phrase but it is imposible. it have a lot of
page in data base and quadrillions sentence it can't search in
fulltxt all of them .it need a super algorithm. ý need the algorithm
now. if you have a idea ,pls share to me
thanks
(sorry for my bad english :( )
|
thread by: sophie_newbie |
last post Nov 5 '07 by: Jeff
Hi,
I'm writing a cgi application in Python that generates a PDF file for
the user and then allows them to download that file. Currently I'm
just writing the PDF file to the 'htdocs' directory and giving the
user a link to this file to download it. But the problem is that
another user could simply come along and download a file that isn't...
|
| |
thread by: Frank Aune |
last post Nov 5 '07 by: Frank Aune
Hello,
I have a python library package 'Foo', which contains alot of submodules:
Foo/:
__init__.py
module1.py:
class Bar()
class Hmm()
module2.py
|
thread by: David C. Ullrich |
last post Nov 5 '07 by: David C. Ullrich
Running OS X 10.4 "Tiger". Various references
by Apple and others say that there exists a
module that gives Quartz bindings, allowing
all sort of graphics things in Python.
Sure enough, after installing Xcode I have
some sample scripts. They all start with
from CoreGraphics import *
|
thread by: daniyalnawaz |
last post Nov 5 '07 by: daniyalnawaz
Hi!
I'm looking for python converter in C,C++,C#,JAVA or PHP ?
Does anyone know?
Thank You!
Daniyal Nawaz
|
thread by: BjornT |
last post Nov 5 '07 by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
Have a rather big problem with bsddb I can't figure out. I upgraded an
Ubuntu machine from 7.05 to 7.10 which upgraded python to 2.5.1
I run a local website that uses bsddb, and suddenly I get a version
mismatch error with bsddb and I can't access my database anymore
I noticed in the 2.5.1 release notes:
- fixed a bug with...
|
thread by: kang jia |
last post Nov 5 '07 by: kang jia
hi
currently, i am using Django to create webpage, in view.py the code is in the following:
def contact(request):
if request.method == 'POST':
form = ContactForm(request.POST)
if form.is_valid():
|
thread by: John Salerno |
last post Nov 5 '07 by: John Salerno
Hi all. Thought you might get a kick out of this if you haven't heard it
before. I have to admit, not being either, I don't quite fully
understand it, but intuitively I do. :)
---------------
André Bensoussan once explained to me the difference between a
programmer and a designer:
"If you make a general statement, a programmer says,...
|
thread by: Russ P. |
last post Nov 5 '07 by: Russ P.
I've been programming in python for a few years using XEmacs on
Solaris and Linux. I've been thinking about trying IDLE for a long
time, but either it wasn't available on my system or I procrastinated.
I finally have it available, and I gave it a try.
I immediately encountered a basic problem for which I could not find a
solution in the...
|
thread by: Abandoned |
last post Nov 4 '07 by: Bruno Desthuilliers
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute("pg_dump mydata old.dump")
What is the problem ? And how can i copy the database with python ?
Note: The database's size is 200 GB
|
| |
thread by: Frank Stutzman |
last post Nov 4 '07 by: Bruno Desthuilliers
My apologies in advance, I'm new to python
Say, I have a dictionary that looks like this:
record={'BAT': '14.4', 'USD': '24', 'DIF': '45', 'OAT': '16',
'FF': '3.9', 'C3': '343', 'E4': '1157', 'C1': '339',
'E6': '1182', 'RPM': '996', 'C6': '311', 'C5': '300',
'C4': '349', 'CLD': '0', 'E5': '1148', 'C2': '329',
'MAP': '15', 'OIL': '167',...
|
thread by: JD |
last post Nov 4 '07 by: Nikita the Spider
Hi there.
I'm trying to use python with postgresql. I decided to use psycopg to
interact with the postgresql server. When installing psycopg it
appeared that I needed mxDateTime. So I decided to install the mxbase
package.
I received the following error message (the interesting bit seems to
be at the end):
|