Google, the biggest and best search engine is built on python,
nasa use as does yahoo
From: Stefan Kuzminski <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
"'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>,
"'[EMAIL PROT
e a reload of a method from disk. You
could add some reload instructions to your file to force a reload with
every run. You can also manually invoke the reload function from the
PythonWin interpreter command line:
import foo
reload(foo)
Hope that helps.
Paul Prescod
ActiveState Tool Corp.
_
zip
Length MethodSize Ratio Date Time CRC-32Name
-- --- - --
7991296 Defl:N 7524766 6% 11-11-00 04:10 3cf068ae
ActivePython-2.0.0.202.msi
--- ------
7991296
Biju Ramachandran wrote:
>
> Hi there:
>
> How do I execute another applications command using Active Python - for
> example - the equivalent in Perlscript is
>
>$Application - >
Could you give an actual example? Are you perhaps invoking a COM met
, ActiveState intends to make the redistribution of Python
applications easier. That may be done as part of ActivePython or as part
of our development environment initiatives:
You can learn about PythonDirect, Komodo and Visual Python here:
http://www.activestate.com/Products/index.html
Paul Prescod
The list is intended primarily for users of ActivePython. General Python
questions would be better addressed to comp.lang.python, even if they
are related to the win32 extensions.
Paul Prescod
ActiveState
___
ActivePython mailing list
[EMAIL
eve according to the instructions above.
Paul Prescod
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
ahsan ali wrote:
>
> status: beginner
>
> how do you access an odbc database in python cgi?
> are there any resources dealing with this topic.
>
> ahsan
>
I would suggest you look at the mxODBC package listed here:
http://www.activestate.com/Products/ActivePytho
n:
1. Tk is not installed with ActivePython. You can get it here:
http://www.ActiveState.com/Products/ActivePython/Extensions.html
2. Tk applications do not work from within the PythonWin environment.
Make sure to use "Python Shell" instead.
Paul Prescod
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
vePython command line. Switching
GUI libraries is not that easy.
Paul
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
hat when you type "python" you will get
ActivePython. You could also use a shell alias.
Paul Prescod
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
eleaseLock()" before the call that
results in the scripting engine being called but to no avail.
Does my suspicion sound correct and does anyone have any ideas?
Thanks
Paul
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveS
as it supposed to? If so could someone tell me what they
> were supposed to be?
Python20 is optionally added to your path as a convenience on Windows
2000 and probably NT, but no path changes are required for basic
functionality.
Paul Prescod
___
Acti
ActivePython has a "Python COM Reference". It has a section called "ASP
and Python" that should get you started. Good luck!
Paul Prescod
ActiveState
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.
e current execution directory. My
> scripts are going to be run on this system and another system that may not
> share the same directory struture.
Don't understand what you mean by "load your scripts". The "import"
statement will look for your module in each direct
Derek Lavine wrote:
>
> Hi all,
>
> Is there away to generate EXE's from python programs like there is with
> ActiveState Perl?
ActiveState does not yet distribute or support such a program but you
could look at this:
http://www.mcmillan-inc.com/install1
> Hotmail wrote:
>
> Dear
>
> I've down loaded the source for ActivePython for windows.
>
> I've tried to compile the source with VC++ 6.0.
>
> Python.exe and pythonw.exe can be created sucessfully.
>
> But Pythonwin.exe cannot be created.
What error message do you get?
--
Vote for Your Fa
Larry Bates wrote:
>
> I downloaded and installed ActivePython on my Windows 98 machine. The
> installation went fine and I can run the PythonShell just fine. When I try to
> run PythonWin I get the following messages in a Window.
It seems that somehow the correct Python path was not registere
ere any affordable documnetation is there for that.
Perl and Python are both programming languages. Some people use one,
some the other and some both. The ActivePython distribution (with
documentation) is available here:
www.ActiveState.com/Products/ActivePython
> Have an ineffable day.
Ineffa
I have Python embedded in my program but have one problem. I use it in more
than one place and would like to keep each instance seperate from each
other. Is there a way to do this without a seperate thread? Will a seperate
thread even work?
Thanks
___
A
Tkinter code is not compatible with the PythonWin environment. You
should use Komodo for that.
--
Vote for Your Favorite Python & Perl Programming
Accomplishments in the first Active Awards!
http://www.ActiveState.com/Awards
___
ActivePython mailing
David Lees wrote:
>
> Paul Prescod said: "Tkinter code is not compatible with the PythonWin
> environment. You should use Komodo for that."
>
> Paul,
>
> Could you please elaborate on this incompatability and be more
> specific. I have just started using
David Lees wrote:
>
> Paul,
>
> ...
>
> What is a "message loop"? Is it the "messages" that occur on Python
> exceptions? This would mean that exceptions in Python code and in TK
> can get confused between each other?
Graphical interfaces work
This isn't the best mailing list for generic Python questions (even if
you are using the ActivePython distribution). There are more experts on
the "python-list":
http://groups.yahoo.com/group/python-list
odell stewart wrote:
>
> Looking for some to do's and not to do's for embedding a Python G
> [EMAIL PROTECTED] wrote:
>
>
> As we try to move from VB to Python as much as we can, we are also
> interested in any tips and tricks on how to use ODBC and ADO with
> Python.
>
> We are looking for production-quality samples, it looks like this is a
> white area within Python (and in the bo
That was a transient problem with our website. It is fixed now.
Apologies for the inconvenience.
--
Vote for Your Favorite Python & Perl Programming
Accomplishments in the first Active Awards!
http://www.ActiveState.com/Awards
___
ActivePython maili
If I correct the variable names in the example I get this program:
import httplib, urllib
params = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0})
h = httplib.HTTP("localhost:80")
h.putrequest("POST", "/cgi-bin/query")
h.putheader("Content-length", "%d" % len(params))
h.putheader('Accept', '
I think that you probably need a "Content-Type:
application/x-www-form-urlencoded" header
--
Python:
Programming the way
Guido
indented it.
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/
You are right Don and I just figured that out last night. I'm trying to
fix it as quickly as I can but it is tricky on the weekend to find the
right people...sorry for the inconvenience!!! Anyone who has not
downloaded ActivePython 203 is encouraged to wait until Tuesday when
this will be correcte
The attached file should fix the faulty Tk that was downloaded with
ActivePython 203. You should be able to launch it straight from your
mail program or else you could save it to a file and then launch it by
double clicking the icon. If you prefer to use the command line you
could type:
pyppm in
Scott Widney wrote:
>
> Can ActivePython be used to find the NetBIOS name of the NT/2000 workstation
> to which a given user is logged on?
Try the win32api.GetComputerName() API. That may help!
--
Python:
Programming the way
Guido
indented it.
- (originated with Skip Montana
We are just testing out the version of PPM that supports proxies. We can
send the files to anyone who wants to participate in the testing.
--
Python:
Programming the way
Guido
indented it.
- (originated with Skip Montanaro?)
___
Activ
Syver Enstad wrote:
>
> I've just installed the win32all build 137 that contains the support for
> Vtable interfaces in win32com. I've suddenly found that import win32gui
> fails with the message:
>
> ImportError: DLL load failed: The specified module could not be found.
>
> This is mighty stra
You might want to investigate the win32ras package. That can be used to
dial-up and hangup phone book entries. How you sync your mail will
depend on your mail program.
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.activestate.com/pythoncookbook
The JPEG library is not part of PIL, TKinter or ActivePython. In the
future we will probably add it to our PIL distribution as a convenience.
For now, I will just email you the file in a separate message.
David Ransier wrote:
>
> Hello, List.
>
> I'm new to Python and just starting to play with
[EMAIL PROTECTED] wrote:
>
> Dear Sir.
> I am a beginner and trying python for the first time . I don't know any
> programming language, can you help me on understanding codes,programming
> languages? and tell me how to get use to python and other programming
> software?
Python is a good first p
You need to use PPM to install "Tk" instead of "Tkinter".
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.activestate.com/pythoncookbook
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/ac
I am taking a survey of what extensions to ActivePython our users are
using. Obviously this survey may not be applicable to the entire Python
community but that does not matter much.
I would appreciate if the mailing list participants could send me
personal (OFFLIST!) mail listing which of the fo
[EMAIL PROTECTED] wrote:
>
> I am accessing an Access database with a CGI script, everything works but
> for the problem that the results are in Tuple format when I "print" them as
> an output to a browser client, could someone show me a better way to do
> this or a work around?
If you would rat
Corey Zimmet wrote:
>
>...
>
> However, on win98, I believe I have to use a different methodology using
> DeviceIOControl. I have yet to succeed. Does anyone know how to access the
> floppy device on win98?
I don't know the answer, but perhaps someone on python-list would. You
should probably
Python will look for modulename_d.pyd. If you have modulename.pyd, that
isn't enough. You need the _d suffix. This allows you to run debug and
release versions of modules side by side just as you can run debug and
release versions of Python side by side.
David Humphrey wrote:
>
> I have a proble
[EMAIL PROTECTED] wrote:
>
> What sort of .NET and/or SOAP capabilities does ActivePython have or will have?
>
> LB
ActiveState has developed Python.NET which is an implementation of most
of the Python language for the .NET runtime. This is open source
software available on our website (separat
Robin Dunn wrote:
>
> Does anybody else find it odd that the ActiveState Python installer for
> windows includes the win32 extensions, and the .zip with the Debug version
> of the python extensions also includes the win32 extensions, but the source
> .zip does not?
>
> I was hoping for a nice in
I think Daniel's answer is correct. You can run just by hitting F5. It
would be nice to have a feature that allowed you to run and ignore
breakpoints. This is on our todo list for Komodo.
[EMAIL PROTECTED] wrote:
>
> I installed Komodo on both Win and Linux. Am I missing something, or does it
>
Tuttled wrote:
>
> 1)After removing ActivePython 2.0 and replacing it with 2.1, all Tkinter
> programs now generate the following error. Running "Repair" from the
> installer doesn't help.
>
> C:\>D:\Python21\Grayson\Examples\Chapter03\calc2.py
> Traceback (most recent call last):
> File "D:\
dor. This
helps to reduce DLL hell but it also reduces options for the vendor.
Remove is something we will support when the underlying Python
distribution mechanism supports it. In this case I don't think it would
have worked because it was a somewhat exceptional circumstance.
> [Don]
>
> Craig Hurley wrote:
>
> I am stumped. I'm using ActiveStates' Python2.1 for windows as well as
> their
> Komodo beta1(build 18242). The attached program I have been modifying
> as
> my python learning process.
I have no problem with you asking the question on this mailing list but
it is my op
ay
when we last saw our phantom cache problem.
> [Paul]
> >Modern installer technologies (Windows MSI, RPM) take most of the power
> >out of the hands of software vendors and put it into the OS vendor. This
> >helps to reduce DLL hell but it also reduces options for the vendo
David Brown wrote:
>
> Has there been any thought about packaging up Zope so it works with
> ActivePython? I don't have access to a C compiler on Windows (other than
> cygwin, and that one doesn't have a threading library that will work with
> Python), and it wou;d be nice to have a Zope install
Gregg Ward wrote:
>
>
>
> Does the interpreter actually generate an individual value for everything in
> the range 0-999?
Yes. There is a function called "xrange" that does not generate the
individual values. range is faster for small lists. xrange is better for
large ones.
--
Take a
sowen wrote:
>
>...
> I know in Linux/Unix,Python is a kind of shell script.I think
> maybe it can do some work as well as Perl.What jobs the Python fans
> will put Python do in Linux? In Windows,what character Python is?
People use Python for all sorts of general purpose jobs. Some peopl
I think that this is a known bug with Scintilla with long *lines*. Could
you confirm that by checking whether you have any really long lines?
It may be that if we switch to a newer Scintilla, that will fix it.
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pytho
The current ActivePython works with ASP. It does not automatically
register Python as an ASP server. You can do that by running the program
win32comext\axscript\client\pyscript.py. You may also want to check out
this link:
http://starship.python.net/crew/mhammond/win32/InstallationProblems.html
We do have users who are using ASP successfully and have no immediate
way of diagnosing your problems.
Please check that you have these Python DLLs in your system32:
708,693 python21.dll
57,344 PyWinTypes21.dll
290,916 pythoncom21.dll
Check that you don't have other python DLLs on your system t
[EMAIL PROTECTED] wrote:
>
> Hello ,
> Can you please explain to me advantages of Python in comparison
> with PERL?
> I use Perl because I need
> download web pages,
> GUI interface to my program,
> use threads
> and make exe from perl program.
> Is it all in Python or even something better?
>
Wartan Hachaturow wrote:
>
> Hello.
>
> I've got one trouble with ASPs on Python -- they doesn't work ;)
> In fact, I did run pyscript.py, and it said that it has successfully
> registered python as a scripting engine.
> When I try to execute server-side scripts, they fail (saying 500 Server
> E
e registry. I have some ASP pages
that import a single module. The scripts work fine for days
on end and then suddenly start failing with exceptions about
not being able to find module mymodule.py. From that point
on the ASP pages will not work
ActiveState is pleased to announce ActivePython 2.1.0 build 211. This
is an incremental improvement over the first build based on Python
2.1.0 (build 210). Many build 210 users will not need to upgrade.
Users of Tk and/or Active Server Pages should upgrade because this
release fixes bugs relati
n/wxPython ? Is there another way to
debug wxPython programs ?
Paul Casteels [EMAIL PROTECTED] Tel: +32.3.8202455
Fax: +32.3.8202470
University of Antwerp Dpt.Physics
Universiteitsplein 1
B-2610 Wilri
Paul Casteels wrote:
>
>...
> Is this a known problem with PythonWin/wxPython ? Is there another way to
> debug wxPython programs ?
In general, it is not safe to debug graphical applications using
"foreign" toolkits in IDLE or PythonWin. If you've had luck so far wit
What happens when you try to install?
[EMAIL PROTECTED] wrote:
>
> I cant seem to install Activestate Python 211, I have uninstalled the 2.01
> version that I had before, any ideas?
>
> Cheers
>
> Sharriff Aina
> med.iq information & quality in healthcare AG
>
> __
[EMAIL PROTECTED] wrote:
>
> Just wondering what would be gained by a C# implementation of Python that
> could be run across Win32 and Linux Boxes. I know there have been plenty of
> discussions about compiled python before, but does the C# model provide and
> advantages that have not been reali
John, this sounds to me like what happens when you have a file called
"MySQLDb.py" or "MySQLDb.pyc" hanging around other than the one you
expect. Here's what I would do to diagnose (replace string with
MySQLdb):
>>> import string
>>> dir(string)
[]
>>> string.__file__
'c:\\python20\\lib\\stri
We're running Python from within an MFC application and would like to be
able to interact woth the user from within the Python scripts. So far I've
tried Tkinter but it blows up. Does anyone have any experience with this?
___
ActivePython mailing list
[E
ember 11, 2001 10:14 AM
To: Paul Weimer; [EMAIL PROTECTED]
Subject: RE: Displaying Dialog Boxes,etc. from embedded Python
I don't know why tk is crashing, but
if you're already using MFC you can always
access MFC or low-level windows APIs
directly from the win32 library and avoid
a sec
I built a debug version of 2.2.0.a2 but when I try to use it I get an
assertion error in dbgheap.c line 1044 expression
"_CrtIsValidHeapPointer(pUserData)" after my call to Py_Initialize(). Did I
mess something somewhere?
___
ActivePython mailing list
[
Just out of curiosity - how many others are trying to deal with
screen-scrapes with Python? I've started a hllapi extension myself. Are
there enough of us for our own mailing list (and therapy sessions) ?
Paul
-Original Message-
From: Troy Noble [mailto:[EMAIL PROTECTED]]
Sent: Thu
When I do a "PyErr_Fetch(&errobj, &errdata, &errtraceback)" I know how to
manipulate errobj & errdata but not errtraceback.
Thanks
___
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
rking is that in python, you have to define your
functions *before* you call them.
Cheers,
-Paul
Jose Guevarra wrote:
>Hi,
>
> I was just trying to make a simple range function that works w/ decimal
>numbers instead of just integers. Im new to python and I don't know if
>on
i should mention that there is also a 'non-commercial' license available
for Komodo at a mere $29.95 USD (me thinks... check this). This was
enough for me to purchase one as I wouldn't be using it for work.
cheers,
paul
Todd Ellner wrote:
>>>Can anybody re
emely slow. Is there any way to speed it up ?
Paul Casteels
U.I.A. / Physics
___
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Makepy results in a considerable
speed-up. If you use it, you have to take care of the fact that attributes
become case-sensitive.
Paul Casteels
On Fri, 18 Oct 2002, Stefan Kuzminski wrote:
> I have been trying to get around the same problem. Horizontal ranges work
>
> sh
pointer is PyIDispatch but I am unable to invoke any
methods on it.
--
Paul Casteels [EMAIL PROTECTED] Tel: +32.3.8202455
Fax: +32.3.8202470
University of Antwerp Dpt.Physics
Universiteitsplein 1
B-2610 Wilrijk
Belgium
I want to trace an import statement, but only one so I set
import os
os.environ["PYTHONVERBOSE"] = "1"
import wx
del os.environ["PYTHONVERBOSE"]
but the import wx was NOT traced. Neither was it traced if I use os.putenv.
Does anyone know how to set python for import tracing within a script?
74 matches
Mail list logo