| |
thread by: William Manley |
last post Nov 12 '07 by: bartonc
Hello,
I'm trying to figure out how I would send data (most likely a string) from a script (written in python) to a program on windows xp.
I posted this here instead of the python forum because its not really to do with python, more to do with windows. How do two completely unrelated applications talk to eachother? What would I need to know...
|
thread by: KeefTM |
last post Nov 12 '07 by: Laszlo Nagy
Hello, I am getting an odd error when trying to establish an IMAP
connection:
File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/
imaplib.py", line 904, in _get_response
raise self.abort("unexpected response: '%s'" % resp)
imaplib.abort: unexpected response: '220 libertydistribution.com ESMTP
CommuniGate Pro 5.0.9 is...
|
thread by: JamesHoward |
last post Nov 12 '07 by: davisn90210
Does anyone know any method to have one program, acting as a server
transfer a socket connection to another program? I looked into
transferring the connection via xml rpc to no avail. It seems to be a
problem of getting access to a programs private memory space and
giving another program access to that space.
Thanks in advance,
James...
|
thread by: Anand Patil |
last post Nov 12 '07 by: =?ISO-8859-1?Q?Aur=E9lien_Camp=E9as?=
Hi all,
I have two questions about a class, which we'll call MyWrapperClass,
in a package to which I'm contributing.
1) MyWrapperClass wraps functions. Each instance has an attribute
called 'value' and a method called 'eval', which calls the wrapped
function. An instance D that depends on instances A, B and C can be
created as follows:
|
thread by: Gabriel Genellina |
last post Nov 12 '07 by: =?ISO-8859-1?Q?Aur=E9lien_Camp=E9as?=
QOTW: "AOP is a programming paradigm in the same way indie is a genre of
film." - Carl Banks
http://groups.google.com/group/comp.lang.python/msg/224e922a3e1a8638
"I really like Python's notion of having just one data type: the duck." -
itsme
http://groups.google.com/group/comp.lang.perl.misc/msg/91382afa214a8f40
Closures and scoping...
|
thread by: dazzler |
last post Nov 12 '07 by: bartonc
My application: "starting window" with some misc. buttons etc. & server socket connection is running at the same time in a new thread.
When connection is made, the starting windows is closed and the main window will be opened.
Problem: I can't close the starting window which is Toplevel window, if I try to withdraw or destroy it, the...
|
thread by: braver |
last post Nov 12 '07 by: braver
Posted to the Optik list, but it seems defunct. Optik is now Python's
optparse.
I wonder how do you implement optional arguments to Optik. I.e., you
can have an option
-P
-- the filename is optional, with a default "data,pikl". It works as
follows:
|
| |
thread by: josetokyo |
last post Nov 12 '07 by: jose Barcelona
Hi!
a friend and me are investigating how mother-tongue influences
programming productivity.
We need volunteers to take on a 3 minutes python language
programming test.
if you are interested please be so kind to visit:
http://test-iq.web.cern.ch/test-iq/step1.php?lang=en
if your native language is Spanish please do it in Spanish
|
thread by: Donn Ingle |
last post Nov 12 '07 by: Donn Ingle
In an unusual twist of code I have a subclass which overrides a method but
it also needs to call the original method:
class One:
def add (self, stuff):
self.stuff.append(stuff)
class Two(One):
def __init__(self, otherstuff):
<MYSTERY>(otherstuff) #otherstuff must go into list within the parent.
|
thread by: zionist.news |
last post Nov 12 '07 by: Robert J. Kolker
The world have been after Bill Gates for no reason. The richest group
was and remains the Zionist jew Rothschilds family who own HALF the
worlds total wealth through numerous frontmen zionists.
Mikhail Khodorkovsky, whom Russian President Vladimir I Putin put in
jail rose from the Rothschilds money. He changed his name to
Rothschild or red...
|
thread by: napka |
last post Nov 12 '07 by: napka
Hello,
I am quite new to python and twisted and I am sure that there is a quick simple answer to my question.
Is it possible to force a loseConnection() ?
For example, I have created a protocol called myProtocol and a factory called myFactory. I am using self.factory.deferred.callback(mydefer) in myProtocol.
Upon success, I have a...
|
thread by: Martin Marcher |
last post Nov 12 '07 by: Marc 'BlackJack' Rintsch
Hi,
I'm looking for something that will give me an iterator to a
file-(like)-object. I have large files with only a single line in it
that have fixed length fields like, record length is 26bytes, dataA is
10 bytes, dataB is 16 bytes.
Now when I made my parsing stuff but can't find anything that will let
me read those file efficiently...
|
thread by: PeterBraden1 |
last post Nov 12 '07 by: Larry Bates
Hi,
I have recently been learning python, and coming from a java
background there are many new ways of doing things that I am only just
getting to grips with.
I wondered if anyone could take a look at a few pieces of code I have
written to see if there are any places where I am still using java-
esque techniques, and letting me know the...
|
thread by: Lee Sander |
last post Nov 12 '07 by: Lee Sander
hi,
does python's re library have a similar capability of the perls
regular expression to
search for pattern that appears a variable number of times within the
lower and upper bounds given? For example, what is the python's
equivalent to the following perl's search string?
m/^\S{1,8}\.\S{0,3}/
which seeks to find all strings with 8...
|
thread by: Frank Samuelson |
last post Nov 12 '07 by: Hrvoje Niksic
I love Python, and it is one of my 2 favorite
languages. I would suggest that Python steal some
aspects of the S language.
-------------------------------------------------------
1. Currently in Python
def foo(x,y): ...
assigns the name foo to a function object. Is this pythonic?
Why not use the = operator like most other assignments?
|
| |
thread by: David Goodger |
last post Nov 12 '07 by: David Goodger
There is only one week left for PyCon tutorial & scheduled talk proposals. If
you've been thinking about making a proposal, now's the time!
Tutorial details and instructions here:
http://us.pycon.org/2008/tutorials/proposals/
Scheduled talk details and instructions here:
http://us.pycon.org/2008/conference/proposals/
The deadline is...
|
thread by: Jeremy Sanders |
last post Nov 12 '07 by: John Machin
Hi - I need to add support to a program for dates and times. The built-in
Python library seems to be okay for many purposes, but what I would like
would be Unix epoch style times (seconds relative to some date), covering a
large period from the past to the future. What would be nice would be a
library which can take floating point seconds from...
|
thread by: alwin |
last post Nov 12 '07 by: alwin
Hi
I was trying to write a simple web application using Tomcat 6.0.14,
Jython 2.2.1.
My web.xml is as follows
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
|
thread by: Thomas Guettler |
last post Nov 12 '07 by: Gabriel Genellina
Hi,
if I use part.get_filename() with the following email part:
------_=_NextPart_001_01C81B11.52AB8006
Content-Type: application/vnd.ms-excel;
name="=?iso-8859-1?Q?30102007=28aktualisiert=29=5FK=FCndigungen_enviaM=5FErdgas?=
=?iso-8859-1?Q?_S=FCds__GmbH=2Exls?="
Content-Disposition: attachment;...
|
thread by: maxim.novak |
last post Nov 12 '07 by: Michel Albert
Hi,
I have to get list of URLs one by one and to find the URLs that I have
more than one time(can't be more than twice).
I thought to put them into binary search tree, this way they'll be
sorted and I'll be able to check if the URL already exist.
Couldn't find any python library that implements trees.
Is there some library of this kind...
|
thread by: cLoque |
last post Nov 12 '07 by: bartonc
hi,
i would like to add my two matrices, using __add__
class m:
def __init__(self, mtx={}, m=0, n=0):
self.matrix = {}
self.matrix.update(mtx)
|
thread by: oruccim |
last post Nov 12 '07 by: Wildemar Wildenburger
hii my friends;
I want to create picture of security code.can i do it ?
if yes,how , which module will help me?
have you got a example that can create a picture whit my name
pls help me
thansk
oruc
|
thread by: John Salerno |
last post Nov 12 '07 by: John Salerno
Does anyone happen to know what's going on with the development of the
Pyzzle engine (for creating Myst-like games with Python)? Seems stalled
for a long time, but I'm not sure if it's just been abandoned.
Thanks.
|
| |
thread by: blueblueblue2005 |
last post Nov 11 '07 by: Diez B. Roggisch
Hi, I have a java application with a UI compoennt of
FlyoutPaletteComposite (an GEF class), this UI compoennt displays a
scrollbar when needed. I am writing a Jython/Python script, and within
this script, I want to grab the scrollbar and move the bar up and down
to a specified location. I was told to get the class loader of the
compoent, but...
|
thread by: gsal |
last post Nov 11 '07 by: Scott David Daniels
What would be the easiest way to go about offering 3D graphics for the
purpose of rendering geometry?
Suppose engineers (my co-workes) have to design some enclosure,
nozzle, bracket, or whatever physical part/component, I would like to
write a program where they can at least see the resulting geometry and
navigate it, i.e., zoon-in/out,...
|