quoting:
xxx.py file "1 3 5 7"
Something like this, maybe:
def drawAsciiFile(filename, columns):
localdataSet = DataSet.DataSet( filename )
PlotCols = [int(s) for s in columns.split()]
ContourPlots( localdataSet, PlotCols )
if __name__ == "__main__":
if len(s
rowser
>that would execute arbitrary Python code provided by the server would
>be an obscene security mistake.
Internet Explorer will happily do so, if you have the Python Windows
extensions installed, and register the active scripting component that cmes
with it.
--
- Tim Roberts, [EMAI
"amfr" <[EMAIL PROTECTED]> wrote:
>
>Neither work
Yes, they do.
Post your form HTML and the Python code you're using, and we'll show you
what you're doing wrong.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
t-spec for the milliseconds-part in here. (I'm also not sure about
>the validity of the tz part, but ...)
Central European Time. GMT +1 hour. Quite valid.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
:
>
>this code causes an infinite recursion:
>
> >>> from email.Header import Header
> >>> h = Header('multiline header', 'iso-8859-1', maxlinelen=4)
> >>> e.encode()
I'm not sure I would call that a bug. I'd call that a us
that.
What the OP needs is this:
assoc .py=Python.File
ftype Python.File="c:\Apps\Python24\python.exe" "%1" "%*"
assoc .pyw=Python.NoConFile
ftype Python.NoConFile="c:\Apps\Python24\pythonw.exe" "%1" "%*"
Substitute your own Py
propterty is available
You've got the source. Surely it would have been quicker and easier to
just Go Look It Up. That's the beauty of Python.
No, it's not there. It's easy enough to add it, or you can wrap the table
in or .
--
- Tim Roberts, [EMAIL PROTECTED]
Providenz
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>I tried calling RandomArray.seed()
>by calling RandomArray.get_seed() I get the seed number (x,y).
>My problem is that x is always 113611 any advice?
What did you expect?
--
- Tim Roberts, [EMAIL PROTECTED]
P
code, show us the error. Then we can offer advice.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
the rest of us believe him to be a
moron.
In a sense, I envy him. I hold a number of strong and somewhat
controversial opinions that I hesitate to expose in public, for fear of
being laughed at and labeled as a nutcase. Xah Lee has absolutely no such
fears.
--
- Tim Roberts, [EMAIL PROTECTED]
eset by peer')
>
>Anyone got a pointer as to what I could do?
Replace "localhost" with the name of your usual outgoing mail server.
Although there ARE SMTP servers available for Windows XP, is it virtually
certain that you aren't running one.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ipts.
That is, assuming by "values" you mean the stdout from the script. If you
really mean the numerical return code, you can use os.system.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ate in mid-March, or in early October?
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
out to me that the shortest Python program which produces
itself on stdout is:
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
. This isn't a free homework service.
This is not a hard problem, although that's a terrible series for computing
pi. At 100,000 terms, it still only has 5 digits.
n = input( "How many terms? " )
sum = 0
sign = 4.0
for i in range(n):
sum += sign / (i+i+1)
s
i.ac.il', 25)
reply: '220 mail3.cc.huji.ac.il ESMTP Postfix\r\n'
reply: retcode (220); Msg: mail3.cc.huji.ac.il ESMTP Postfix
connect: mail3.cc.huji.ac.il ESMTP Postfix
(220, 'mail3.cc.huji.ac.il ESMTP Postfix')
>>> ^Z
C:\Dev>
It's possible they simply had a temporary outage, assuming that you aren't
sending this from some known spammer IP address.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
"Marco Meoni" <[EMAIL PROTECTED]> wrote:
>
>Have you ever write an XML Writer in wxPython? A Writer that from a GUI
>can compose XML Files.
XML is usually pretty easy to write by hand, just using print statements.
Do you alreday have a tree of objects you want to write?
ply by using os.listdir and os.path.isfile? In my brain, os.walk
is the solution to RECURSIVE search needs.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
t "%s" % first
print "%s" % address
print "%s" % city
print "%s" % state
print "%s" % zip
print " "
print ""
for row in addressDatabase:
PrintAddress( row.last, row.first,
row.address
My own name gives me trouble with this. There is disagreement in the
curmudgeon world as to whether I should refer to "the Roberts' computer",
or "the Roberts's computer".
I guess I'll just have to keep saying "that damn computer."
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
s.
>
>Is there any way in calling a function while processing an upload?
>(e.g. like CGI::upload_hook() in perl)
Not in the standard cgi.py, but it's not hard to derive your own. I
suspect read_binary is all you would need to override.
--
- Tim Roberts, [EMAIL PROTECTED]
Provide
>> type(t)
>>> str(t)
'(2006, 1, 21, 22, 49, 32, 5, 21, 0)'
It's a class object. The __repr__ method returns a string that LOOKS the
same as a tuple.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
found was here ;
"Use the source, Luke." The best examples of the use of subprocess are
contained in the introductory comments in the module itself.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
keep database sessions open.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
escape sequences. The vast majority of Usenet
participants are now reading these articles through GUI newsreaders or
web-based readers which show this as 5 lines of unrecognizable line noise.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
rt psycopg
db = psycopg.connect(
"dbname=template1 user=postgres password=%s" % password )
c = db.cursor()
c.execute( "drop database mytempdb;" )
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
"alex23" <[EMAIL PROTECTED]> wrote:
>Tim Roberts wrote:
>> What is your signature supposed to be? It looks like you are trying to
>> inject ANSI terminal escape sequences. The vast majority of Usenet
>> participants are now reading these articles through GU
r system
programming tasks, but in most cases, a Python programmer shouldn't need to
worry about the internal representation of variables. Look, for example,
at the blurred distinction between integers and long integers.
I'm not arguing for or against the proposal, but I suspe
as up to the programmer.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
or
bash to process it, regardless of what program launched the script. The
same thing works for Python scripts:
#! /usr/bin/python
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ecompression process to get to a series of bitmaps, then go through the
whole AVI compression process to get a movie.
If you are on Windows, you almost certainly want to use DirectShow to do
this job. There is a DirectShow interface for Python.
--
- Tim Roberts, [EMAIL PROTECTED]
uld never
happen. Python would simply fall off of the list of options, and the job
would get done in PHP or Ruby on Rails.
I agree with Marc. PLEASE do not create "yet another Python web
framework." Let's pick one, and join together to turn it into the One,
True, Unquestioned Web Solution.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ues your message, and sends it to each
recipient individually.
If your message is being sent to exactly one person, then you CAN look up
the MX host and send it directly, but there are more and more cases where
that won't work. Many corporate SMTP servers are now rejecting mail that
com
rrored on a web site somewhere, this is a Usenet
newsgroup. It is impossible to "close" a thread. The concept simply does
not exist.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
"hiroc" <[EMAIL PROTECTED]> wrote:
>s.send("abc") # send test string
>
>I need to send hex:"10 06 00 0f 02 bc d1" instead of "abc"
>
>hoW?
One ugly way is
s.send( "\x10\x06\x00\x0f\x02\xbc\xd1" )
--
- Tim Roberts, [EMAIL
ks for pointing me to the path module, was
>interesting.
Umm, may I point out that you don't NEED the "os.path.exists" call, because
you are already being HANDED a list of all the filenames in that directory?
You could "dirtest" with this much faster routinee:
def di
hat will install all of them. This also makes it
trivially easy to install my environment on a different computer.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
line,
Are you running this on Unix or on DOS?
On Unix, you can do:
for line in open(options.filename).readlines():
print line.rstrip()
Perhaps quicker is:
sys.stdout.write( open(options.filename).read().replace('\r\n','\n') )
--
Tim Roberts, [EMAIL PROTECTED]
Pro
Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On Sun, 22 Oct 2006 01:55:53 GMT, Tim Roberts <[EMAIL PROTECTED]> declaimed
>the following in comp.lang.python:
>
>> Having learned that lesson the hard way, I now keep a directory with zips
>> and tarballs for all of
t wouldn't be rocket science to extend Python's mmap to allow
that.
>There are in any case room for improving Python's mmap object.
Here we agree.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
t is rather unlikely that your low-order bit
changes will survive the compression process.
There is lots and lots of research on this subject. It's called
"steganography" and "digital watermarking". Google is your friend.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza &
ward slashes or back, and have done
so clear back to Windows 3.0. However, the Windows command shells do not.
That's what you're seeing here.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
;
>How do I force urllib2 to use HTTP v1.1?
Are you passing httplib.HTTPConnection as the connection handler? If you
use httplib.HTTP instead, it should create a 1.0 request.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
OT the only way of using Python to create a
web site. CGI by itself is quite practical, unless you are anticipating
100s of hits per minute. Even if it isn't, something like CherryPy used
through a proxy gives you the benefit of a long-running process with the
convenience of Apache.
--
Ti
ngled newsreader". I
was evaluating it in 1999 as an alternative to Agent, and it was not new
even then.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
or is it that I will have to use the wxpython library asuming that
>there is a print dialog which can open up the list of printers?
Even if you got the list of printers, what would you do with it?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
eed to be
prepared to start your app if the time is just PAST 6 PM on June 13.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
WIdgeteye <[EMAIL PROTECTED]> wrote:
>On Tue, 30 May 2006 16:15:44 +1000, John McMonagle wrote:
>
>> Tim Roberts is right. As you are on linux, I suggest you investigate the
>> at command - very user friendly and not at all complicated.
>
>I have been using Slac
>>
>> to print:
>>
>> 0123456789
>
>The reverse isn't true ???
>
> print "".join(str(x) for x in range(10))
What he meant it that it is impossible to produce "0123456789" using 10
separate print statements, while it IS possible with 10 separate writes.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
almost every behavior you might want.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
#x27;t find something after another read through.
On the other hand, 45 seconds with the source code shows that "class
FieldStorage" has member functions called "keys()" and "has_key()".
Use the source, Luke. To me, that's one of the big beauties of Python.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
places, unless
you print it out with a %.2f format.
DECIMAL is an SQL thing. Unless the language has a native decimal type, it
cannot possibly know how to display it in the same format as your SQL.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
"rodmc" <[EMAIL PROTECTED]> wrote:
>
>I need to write a program which can access the USB ports on Mac and
>Linux, is there a library available for Python?
The "stable" version of Libusb includes a Python binding. The version in
development does not yet.
that, in the first example, you are given a wx.MenuItem object to
work with, should you need it. The second example hides it. It is rarely
necessary to access a wx.MenuItem directly, so this is not usually an
issue.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ython 2.4, Libusb 0.1.12 and PyUSB 0.3.3 on an Intel
>based mac.
It is my understanding that OS/X does not support the /proc filesystem.
Without /proc, libusb cannot operate.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
52: error: expected declaration
>specifiers before '__declspec'
__declspec is a Microsoft extension. Are you trying to build the Visual
C++ source with gcc?
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
1987, but
Python's history doesn't begin until the early 1990s, unless you're
counting ABC as well.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
quot;abcde"
However, it is considered a security risk which is why it is no longer
enabled by default. Plus, it will only work on systems that have it
installed.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
pport this)
>
>As far as i know, here's few other lang's status:
>
>C ? No.
This is implementation-defined in C. A compiler is allowed to accept
variable names with alphabetic Unicode characters outside of ASCII.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boek
post them. That will get an
"invalid \x escape". \x must be followed by exactly two hex digits. You
can't build up an escape sequence like this.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
d early 1970s. GUIs, color, 3D, structured progamming,
networking, interpreters, Unix; the list goes on and on. It was probably
the most exciting time in the history of computers.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
rpose. Some people include one for completeness -- a coding standard
that "all paths must have a return statement", for instance.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
Dale King <[EMAIL PROTECTED]> wrote:
>Tim Roberts wrote:
>> "Xah Lee" <[EMAIL PROTECTED]> wrote:
>>
>>> Languages with Full Unicode Support
>>>
>>> As far as i know, Java and JavaScript are languages with full, complete
>>&g
about better ways to do this, but I'd
like to point out that this one line is equivalent to:
print c.a.a()
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
pecial characters in there that make the program say something I can't
immediately discern.
To be sure, people whose opinions I trust (one of whom is Cliff Wells) have
said that Ruby is great, so I suppose I need to look again. I just haven't
had the same "aha!" experience tha
gets added to the SmTP
This is how a Bcc: is done. A Bcc: header is never included in an e-mail
message. The address gets included in the envelope, but not in the headers
or body.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
align them to the first processor, so the delta was usually only a dozen
or two cycles. XP does not appear to do that. I think that is a huge
mistake, since it renders QueryPerformanceCounter non-monotonic.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
in. Did you get this from a web
page? Can you tell me where?
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
if it's using a standard XP interface (like DirectShow or
WIA), there's a good chance it will drive your 1394 camera as well.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
s not. A multipart/alternative section is constructed exactly the
same as any other multipart section. It just so happens that it will have
exactly two subsections, one text/plain and one text/html.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>AlbaClause wrote:
>
>> for i in range(length):
>> print i
>
>Or usually better:
>
>for ii in xrange(length):
>...
xrange used to be better. As I understand it, that's no longer the case.
--
- Tim Roberts, [EMAIL PROT
python2.4/site-packages to
> /usr/local/lib/python2.5 ?
I've started keeping the tarballs for all of the packages I install in a
single directory, along with a shell script to install each of them. It
makes upgrading much easier. I do this on both Linux and Windows.
--
- Tim Robe
ument PostgreSQL, MySQL, Oracle, Apache, Posix, Win32 etc ?
Warning: misplaced sarcasm detected
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ters. That is only available with C++, so I'm
afraid you are out of luck. You may be able to use SWIG to generate an
interface for this; I've had good luck with SWIG.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
-Win32 includes an
interface for that (import win32pdh), but I've never used it.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
d to require confirmation). Mailman is
written in Python.
http://www.gnu.org/software/mailman/index.html
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
y, but why would you want to? That IP address is not reachable
from your server anyway.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
;> use it with care)
>>
>Hello Fredrik,
>Thank you for your reply.
>How can be HTTP_X_FORWARDED_FOR easily spoofed? I thought that IP
>address is not possible change.
No, but HTTP headers are just text. A client can put whatever it wants in
them.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
to continue to print as 3" x 3",
but to have three times as many pixels in each direction? That means you
have to increase the number of pixels to 900x900. That's exactly what the
code above is doing. The image file will be 9 times larger.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ntel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> a='hello'
>>> locals()[a] = 1234
>>> hello
1234
>>>
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
;very important thing" in this script is the "im.resize", which
smoothly stretches the image so that it has 2.5 times as many pixels as
before. It is that stretching which allows you to change the DPI in the
header, and yet still have it print at the same size.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
lt
>found, you can get one.
The OP should be aware, however, that a regular expression which matches
the complete specification in RFC-822 and RFC-2822 is approximately 7,000
characters long.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ere is a standard "print" dialog for Windows that shows you the
familiar dialog, with the list of printers and all of the options. In
wxPython, I believe it is called wx.PrintDialog.
In Pywin32, win32print.EnumPrinters can give you the list of available
printers.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ur at one time instant
Well, as long as we're being pedantic, surely that should read "only one
thing can occur at any time instant..."
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
?
It has been my experience that virtually every use of the "is" operator
(except "is None") is wrong.
Now, I fully understand that there are perfectly valid uses for "is", and
the standard library contains a few, but for the non-guru casual Python
programmer, I
irth Defects; Toxic ChemicalsAntibiotics,
>AnimalsAgricultural Subsidies, Global TradeAgricultural
>SubsidiesBiodiversityCitizen ActivismCommunity...
What do you want out of this? It looks like there are several levels
crammed together here. At first blush, it looks like topics separat
s like a compiled
program. py2exe is one example.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
nd the world, and much longer before
people actually download the message to their local reader, then an equal
amount of time for replies to get back to you.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
something that
will do most of the job, probably in PHP. Is your website already using
Python?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
as part of a web site. Google is your friend.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
age. Then you can use your Python web site
to create the appropriate HTML.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
ust passes it to sendmail.
Ummm, I'm rather confused as to why you don't just have sendmail do this.
After all, that is its primary function: to run as a daemon, listening on
port 25, and delivering incoming messages to local mailboxes.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & B
sure, but I doubt that it is
CaptureMouse doing it, and I know the SetCapture API (which it eventually
calls) does not. Is it possible that your clicking caused some part of the
app to become unhidden, or caused some button to change state?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boek
font depending on your operating system and locale. 74
(0x4A) indicates a vector TrueType font of the "script" family, which is
bizarre.
May I suggest that you set your own default font before beginning?
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
but it also gives
you some great real-world examples of virtually every function.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
Soni Bergraj <[EMAIL PROTECTED]> wrote:
>
>I was just wondering if there is a more convenient way of doing a Http
>HEAD requests then the socket module?
>
>Any ideas?
The standard "httplib" module can do that in a half-dozen lines of code.
--
Tim Robert
choices=C_CHOICES)
> homezip = Q_Zip("Your zip code?", "homezip", required=True, )
> happy = Q_Bool("Are you happy?", "happy", default=False)
> birthday = Q_Date("Your Birthday:", "birthda
because this is a sort
>of fluid thing in Windows (as you point out).
This will tell you that "x.exe" is executable, even if "x.exe" contains
nothing but zeros.
On the other hand, I'm not convinced that any other solution is better.
--
Tim Roberts, [EMAIL PROTECTED]
Provi
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>On 16 dic, 04:47, Tim Roberts <[EMAIL PROTECTED]> wrote:
>> > os.stat(selected)[ST_MODE] & (S_IXUSR|S_IXGRP|S_IXOTH
>
>>This will tell you that "x.exe" is executable, even if "x.exe&qu
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>It seems that an array acts like an list very much, except it doesn't
>have a method sort.
What do you mean by "array"? There is no such beast in the Python
language. Do you mean the library module &q
301 - 400 of 968 matches
Mail list logo