Hi ALL,
Can you tell me ( if it is possible from Python) how I can send a message to a
computer by
using Windows Messaging Service?
Thanks for help
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http
Hi all,
Is there a cookie module that handles cookies on a client side and would work with
httplib
module?
For example:
Server returns the following cookies:
Set-Cookie: compid=1342; expires=
Set-Cookie: password=BMA; expires=
Set-Cookie: company=BMA TRADING s.r.o.; expires=
Set-Cookie: [EMAIL
Hi all,
For some time I am thinking about what firms or programmers can afford to develop
open/free software. I myself have been using free programming languages ( Perl and now
Python) for about 4 years.But it seems to me very difficult to develop free software
because
either I can program on
Hi,
I know that it is possible to call a function in DLL library( even though I have never
tried it)
from Python but is it possible to call a procedure in an exe program?
I have a program that downloads some files( that was written in Delphi, we bought that
program compiled already in exe).
I
Hi,
In my program users will search a database and I need to display choosen
record(s ) in a nice graphical way. Is there a module( program), that I could use
together
with Python, that could easily show the database record(s) and take care of all
thinks
during browsing? Thanks for help
Hello,
I am going to program a small application (in Python and wxPython) which consists
about
2000 - 3000 records . Can you please recommend which database is the best for that. I
use Windows.
Maybe MS Access or FoxPro or MySQL or better?
I want to keep the program as small as possible
Hi,
I have a program that I compiled( with Installer) into exe for using
on Win32 systems. It works well on Windows Me, Windows 9x but
on some computers with Windows 2000 it causes General
Protection Error and the programs is finished. It would be nice if the
program wrote a line number or
Hi,
Is it possible to send output continuously to a web browser?.
For example I have the following code
>>> import httplib
>>> h = httplib.HTTP('www.cwi.nl')
>>> h.putrequest('GET', '/index.html')
>>> h.putheader('Accept&
Hi,
Is it possible to download only a part of web page?
Say I need to find out an information about a customer that starts
at 1500 byte position and ends at 2000 byte position. If the whole
page has about 100 kb it seems to me waste of time to load all the
page.
What is the best, yet easy
Hi,
Is there a way how to find out, from Python , what primary or
secondary DNS I use when connecting to internet?
Thanks for help
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hi,
What is the best way of finding out the kind operating system?
I can use os.name but if the system is Windows I would like also
know if the system is Windows98 or Windows ME or W2K or
Windows XP.
Thanks for help.
Ladislav
___
ActivePython mailin
Hi,
Does anybody know about a webhosting provider ( with Python and
Telnet access) that does not remove a user's account if the user
sends occasionally some unsolicited emails?
Thanks for reply
Ladislav
___
ActivePython mailing list
[EMAIL PROT
Hi,
Can you please let me know if it is possible to replace
new line characters( '\n') in a list in one step?
I have list like
MyList=['272580\n', '23232432\n']
and I would like to have
,MyList=['272580', '23232432']
so I tried
re.sub(&
Hi,
Is there a possibility to get, from a dictionary, a key according to a
value ?
For example
I have a dictionary
dict={'aa':1,'bb':2}
and
dict['aa']
is 1
But how can I for value 1 find out key? (That is here
Hi,
Is possible to set up a proxy name (address) in MS Explorer
browser from a running Python program?
Thank you for your help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman
Hi,
Is possible to set up a proxy name (address) in MS Explorer
browser from a running Python program?
Thank you for your help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Hi,
Is possible to set up a proxy name (address) in MS Explorer
browser from a running Python program?
Thank you for your help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Can anybody please answer the following question?
Question: How does web browser know what cookies should be
sent to server as a response?
For example I found out that a server sets 2 cookies
__cookie_client_data__=Uglv3rXE+d73YaYUuxoh/sDKsJ
t98itBb/hg2fFwFvHeEabkpKICibilujHZm
and
I have the following part of program that finds ItemID numbers.
Here, for example, are two
146759 and 146700 .
This program works well under windows but on Linux it does not
find any number. Can you please help?
Thanks.
Ladislav
import re
Text="""
[CN]
Hi,
For already some time I am trying to use
modules, HTTPLIB or URLLIB to get a page through proxy but so
far I have not been successfull
I also browsed Python group but the samples given there did not
work.
Can anybody give me a WORKING example how I can grab a web
page through proxy?
I
Hi,
Is there anybody who has ever used
URLLIB together with PROXY successfully?
I tried
import os,urllib
os.environ["http_proxy"]='http://209.242.141.249:8080'
RUR=urllib.urlretrieve('http://www.seznam.cz/index.html','Saved.htm'
)
but I do not think it does work.
I will get the page but it d
Can anybody please give me a working example how I can use
httplib with a proxy if I use POST method?
Thank you very much for help
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
We are going to install Python on our Linux server. Are there any
security holes for hackers? What would we be careful about and
how we should set it up? Are there any guidelines for installing
Python?
Thank you for help.
Ladislav
___
ActivePython
Hi,
I use httplib modul and sometimes, if my dial up connection is
slow, receive
error: (10060, 'Operation timed out')
How can I increase the timeout?
Thank you for help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveS
Hello,
I have two time strings like
Mon, 31 Dec 2001 15
and
Sat, 19 Jan 2002 21
How can I compare them and find out that
Mon, 31 Dec 2001 15
is before
Sat, 19 Jan 2002 21
?
I can not use
strptime function , to convert it first,because I use windows and
there is not that function.
Thanks
On 14 Jan 2002, at 0:56, Jason Orendorff wrote:
> > it works well but only if the script is like
> > http://www.musi-cal.com/cgi-bin/script.cgi
> > but if the script is like
> > http://www.musi-cal.com/cgi-bin/script.cgi?name=Paul
> > (note a part after ? ) it m
>In the light of the meta-principle "be conservative in what you
generate, and >liberal in what you accept", I think a server
should probably accept a >(probably-incorrect) mix of both,
and try to do something sensible; but a >client (e.g., httplib)
should never gene
h.send(params)
reply, msg, hdrs = h.getreply()
print reply # should be 200
data = h.getfile().read() # get the raw HTML
it works well but only if the script is like
http://www.musi-cal.com/cgi-bin/script.cgi
but if the script is like
http://www.musi-cal.com/cgi-bin/script.cgi?name
Hello,
I need to update a local file from a web server if the file on this web
server is newer then that on my local hard disk.
Do you have any idea how it can be done?
thank you.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http
Hello,
My program sometimes raise the exception
socket.error: (10061, 'Connection refused')
How can I handle this kind of exception?
Thank you for help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/l
Hello,
My program sometimes raise the exception
socket.error: (10061, 'Connection refused')
How can I handle this kind of exception?
Thank you for help.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman
Hi,
My program downloads regularly some files and it takes some
time so I need to shorten this downloading time. As most of these
files are the same, many times when the program downloads these
files, I would like to download only those that are not the same or
are newer. What is the best s
Hello,
How can I compare of one parragraph of text with another
paragraph?Each paragraph can have about 100 words.
For example I have the first paragraph
I want to be very good at Python programming. Better than in Perl.
THe second paragraph might look loke this:
She works all day long to mas
Does anyone use KOMODO by ActiveState to write programs
together with Python and particularly with wxPython?
What experience do you have? It does not work properly for me.
Thanks for reply
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http:/
Hi,
Is there any possibility in Python to find out my primary or
secondary DNS when using Dial Up connection from Windows?
Thank you for help.
Ladislav
I look forward to hearing from you soon.
Best Regards,
Ladislav Blazek( Mr.)
BMA TRADING Ltd.
email: [EMAIL PROTECTED]
email2: [EMAIL PROTECT
Hello,
In my Python script I would like to start one function of this script
in a different thread or process?
That function sends an email.
Can you please give me an example how I can start a new thread
or process under Win32 systems?
Is it better to use a new thread or a new process for
Hello,
In my Python script I would like to start one function of this script
in a different thread or process?
That function sends an email.
Can you please give me an example how I can start a new thread
or process under Win32 systems?
Is it better to use a new thread or a new process for
Hi,
>From a web server I receive headers that is an instance of the class
MIMETOOLS.MESSAGE.
How can decode it to get something like this
Date: Wed, 14 Nov 2001 10:02:17 GMT
Server: Apache/1.3.6 (Unix) PHP/3.0.14
X-Powered-By: PHP/3.0.14
Set-Cookie: PHPSESSID=000741aaa06ae3645ff0106145f84
I would like to thank you all that answered my question.
Execfile() will do all that I need.
Thanks.
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
Hi,
I want to use smtplib module for sending emails.
Is there any way how I can test a return code, generated by this
module, to see if an email was accepting for delivery, for example?
Thank you for help.
___
ActivePython mailing list
[EMAIL PROTECTED
Hello,
In my application I would like to allow users to add/use basic
python commands but I do not want users to change my code of
application directly.
For example my program expects
telephone. number in format
+442076812563
but a user sometimes may want to
supply
0044 207 681 2563
Hello,
Is there a DNS module available for Python ?
Or is there a method how I can , from my python program, find out
an email server for a particular domain?
For example for email
[EMAIL PROTECTED]
I find out that email server
mail.contactel.cz
serves for domain sendme.cz
Thank you for
Hi,
How can I access a variable defined in one class outside this class
? For example
I have two classes like below
#
class Complex:
def __init__(self, realpart1,imagpart1,realpart2,imagpart2):
self.r1 = realpart1
self.i1 = imagpart1
self.r2 = realpart2
Hi,
I tried
11.11.2 SMTP Example from Python docs.
Does anyone know how I can add subject to an email send by this example?
Thank you very much for help
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/li
Hi,
I have some webpages that contain FORMS. Each form has input
fields and also some hidden fields.
How can I easily get urlencoded string from all these fields
like
Key1=Value1&Key2=Value2&Key3=Value3
For example:
I have a following web page
>From the abo
Hi,
Does anyone have any experience with Py2exe converting python
source into exe if there is wxPython used in source?
Thanks for reply
Ladislav
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepy
Hi,
Can anybody please answer my questions?
1. In my application I need one function to run in threads. The
number of threads is chosen by user and numbers of threads can
not be higher at one time.
This function writes to a file also.How can I prevent other threads
from writting to this
Hi,
I use httplib module to POST to a website.From the response(
header)
I need to extract cookies. Can you advise me how I can do that
please?
The header I receive looks like
Server: Microsoft-IIS/5.0
Date: Thu, 23 Aug 2001 12:24:33 GMT
Location: MemberPortfolio.asp
Connection: Keep
Hi,
I use httplib module to POST to a website.From the response(
header)
I need to extract cookies. Can you advise me how I can do that
please?
The header I receive looks like
Server: Microsoft-IIS/5.0
Date: Thu, 23 Aug 2001 12:24:33 GMT
Location: MemberPortfolio.asp
Connection: Keep-Alive
I put this request out on the news group also, but ... I am looking for a
Python source reformatter to correct indentation differences in a
collection of functions.
Dave
From the Desk of ...
David A. Fuess
[EMAIL PROTECTED], http://www.Fuess.Net
Hi,
I am a newbie with Python.I want to use threads in my application.
Can you please let me know what is the best way of programming
threads under Win32 systems?
What modules shall I use?
Is it better to use the thread module or the threading module or the
stackless Python? What are
this really needed with mxODBC ? I think I have added a
workaround for this in mxODBC 2.0.x.
> These sort of platform-level bugs are horrifying. Does anyone know
> which ODBC library doesn't have this bug, or what the plan is for
> fixing it in the core library? (I'm afraid I do
Has anyone else noticed that sometimes Pythonwin will ignore the
indentation settings under View/Options/Tabs and Whitespace and revert to
an indentation of 4 spaces? Sure makes life difficult when working in a
source setup for 3 spaces.
Dave
From the Desk of ...
David A. Fuess
[EMAIL
I submitted this to ActiveState as a potential bug in the install. But it's
a long weekend, so perhaps one of the list members can provide some quicker
insight?
The version of ActivePython: ActivePython 2.1
The Operating System: Windows 2000
Had to rebuild a server yesterday. Bummer, b
Itamar Shtull-Trauring wrote:
>
> Since there seems to be no public forum for discussion on Windows specific
> issues relating to Python, I've created the python-win32 mailing list.
>
> While currently there exist two lists in this area, one is a private one,
> and the
55 matches
Mail list logo