| |
thread by: Simon Burton |
last post Jul 18 '05 by: Donn Cave
This was so easy :)
Simon Burton.
#!/usr/bin/env python
import sys
from time import sleep
from poplib import *
|
thread by: Aahz |
last post Jul 18 '05 by: Michael Geary
There seems to be some kind of problem with Starship's DNS. Until it's
fixed, please use the direct IP of 217.160.219.194
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
|
thread by: logistix at cathoderaymission.net |
last post Jul 18 '05 by: logistix at cathoderaymission.net
Writing pop3 filters in python seems to be a pretty popular activity
today. ;)
So far it looks like the actual executable attachment isn't mutating
like subject lines, from and to fields are. I wrote some code that
scans message bodies for content-types that shouldn't be executable
(such as midis and wavs) and also scans content-types that...
|
thread by: Baltor |
last post Jul 18 '05 by: Michael Peuser
How do I enter weapondescription with a space before it at the end of
line 3. I tried this, but it is not working:
self.text.insert(3.0, END, " ", weapondescription)
Anyone?
Thanks.
|
thread by: Eugene Druker |
last post Jul 18 '05 by: John J. Lee
Hi all,
I need eigen values and vectors for symmetric matrices (like VCV).
Solving with numarray and testing the results, I've got
strange results - input and output matrices of some sizes are
very different. That's an example of differencies:
Size MaxDif(E.Val) MaxDif(E.Vect)
2 0 1.110223e-016
3 1.776357e-015 ...
|
thread by: Yun Mao |
last post Jul 18 '05 by: Thomas Bellman
Hi,
How to make changes to os.environ and os.path.chdir still effective after
I run the script? Currently, the changes are only good within my script. I
would like the shell who called python myprog.py also gets the change..
Thank you!
Yun
|
thread by: Pete Jereb |
last post Jul 18 '05 by: Peter Hansen
Python 2.3 (#46, Jul 29 2003, 18:54:32) on
win32
>>> s = 'chg bonn_fee'
>>> print s
chg bonn_fee
>>> print s.lstrip('chg ')
bonn_fee
>>> s = 'chg conn_fee'
|
| |
thread by: Marc Petitmermet |
last post Jul 18 '05 by: Patrick Useldinger
I can do the following replacement:
r"kr\xdf6;ger".replace('\\','&#')
-> 'kr෶ger'
But how can I do this using a variable which contains the above string?
Obviously, the following code returns not the string with replacement
but the name of the variable itself:
name = "kr\xdf6;ger"
|
thread by: nvm1980_in |
last post Jul 18 '05 by: Bob Gailer
I am writting an error hander module which should log Calling
Subroutine/Function which caused Subroutine or raised an error. I would
aso like to store Error Source, Description and Number.
can any one help me for this.
--
Posted via http://dbforums.com
|
thread by: Ubaidullah Nubar |
last post Jul 18 '05 by: Christian Reis
Hi,
How well is Python suited for developing database based applications?
I am new to Python so please bear with me if some of the questions are
too simple. I specifically have the following questions:
1. Is there an example of a simple data-entry application written in
Python using a GUI interface? Something like a simple address book...
|
thread by: Fazer |
last post Jul 18 '05 by: Fazer
Hello,
Can anyone point me to a way on how to send a SMS message using Python?
Thanks,
|
thread by: RR |
last post Jul 18 '05 by: Hung Jung Lu
Is there an easy way in python to remove whitespace from a string?
|
thread by: Patrick Useldinger |
last post Jul 18 '05 by: A.M. Kuchling
Hi all,
after my unsuccessful try to run Apache 2 with mod_python and Python
2.3, I am looking for an alternative approach.
My aim is to write a small web-based application:
Python
- the solution must be based / usable on Python 2.3
Portability
Targeted plaforms are
|
thread by: John Abel |
last post Jul 18 '05 by: John Abel
I'm having a bit of hassle, trying to compile Python in 64bit mode on
Solaris8, using GCC 3.1/3.3 (tried both). I've set the relevant
settings ( export CC="gcc -mcpu=v9 -m64 -D_LARGEFILE64_SOURCE=1" -
hopefully) before ./configure, which seems to work OK. The problem
happens halfway through the make. It produces the following output:
c++...
|
thread by: Fernando Armenta |
last post Jul 18 '05 by: wes weston
Hello,
I need some help matching a file to a path. This is my code:
# I open an expect script to log into a linux system and get the
version (6.5)
|
| |
thread by: JZ |
last post Jul 18 '05 by: JZ
How much memory WebKit should normally take??? As I can see, every
WebKit daemon takes over 40MB (sic!) of RAM. WebKit lauches 10 daemons
during startup, so I need over 400MB for WebKit alone! Is it
normal or I have something wrong configured?
--
JZ ICQ:6712522
|
thread by: satish |
last post Jul 18 '05 by: satish
Hello all,
I have a shared object executable viz. *cable* which I execute as follows :
$ ansyscust71 -custom cable -p ANSYSRF
**ansyscust71 is a shell script and is a part of a software called ANSYS**
Now, I have generated a python module using a *fortran-python interface
|
thread by: Ivan Letal |
last post Jul 18 '05 by: Ivan Letal
I want to make a python script which connects to a server to start getting
data and interacts with user in the same time ala chat. I want it to run in
a terminal/console. After I connect a socket, how to ensure that it is
writing text from the server if there is any waiting for possible user input
in the same time?
Thanks
|
thread by: adfgvx |
last post Jul 18 '05 by: adfgvx
I am looking for a Compiled version of the Sick extension for Python
(Windows XP and Python 2.2). Does anyone have one and send it to me ?
Thanking you by advance,
Bruno
|
thread by: Bill |
last post Jul 18 '05 by: Rudy Schockaert
I am trying to have the capability to email attachments. Specifically
I want to be able to email a specific attachment that I name that may
be a PDF document, text doc, etc. I already have a working piece of
code that emails jpg attachments but does not work with any other
types of attachments. Could someone tell me how to modify this code to...
|
thread by: Jacob H |
last post Jul 18 '05 by: Bengt Richter
Hello all,
I'm close to being a novice programmer and I never was good at math.
So I'm curious to know ways in which this following code can be made
more efficient, more elegant. The code just calculates and displays
elapsed wall clock seconds since initialization.
class ExampleTimer:
def __init__(self):
self.start = time.clock()
|
thread by: Indigo Moon Man |
last post Jul 18 '05 by: Indigo Moon Man
What has happened to the py2exe web site? I'm getting a 'Cannot find
server' error when I try to go there. It was working just the other day I'm
pretty sure.
This is the address I have for it...
http://starship.python.net/crew/theller/py2exe/
Do I have the wrong somehow? Thanks!
--
|
thread by: Frnak Sealmbcrd Eggs Lomax |
last post Jul 18 '05 by: L. Sommerer
I hvae jsut fhiseind rniedag a Shdlaost atrlcie from Mnoday, Sbepemetr
15th, aobut an ingtriniug sdtuy from Cgbdirmae Uinevtrsiy, dciinesrbg
how wodrs with thier itienrors selmrbacd can siltl be rdbaleae.
Bcaeuse of the tioeznme that I lvie in, an initettrment dfceet in my
clbae medom, and the lneiignrg atfer-ecfefts of my lsat "mohsroum...
|
| |
thread by: RR |
last post Jul 18 '05 by: David M. Cook
Hello, where is nice site that would have python API documentation?
In particular I am trying to find documentation on the function
string.find
-RR
|
thread by: Fred Lionetti |
last post Jul 18 '05 by: John Roth
Hi all,
I'm just wondering if anyone can tell me how to change an environment
variable from python. I know you can view variables through os.environ, but
changing the dictionary doesn't seem to change the systmem variable. Thanks
for the help!
-Fred
|