473,834 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python-URL! - weekly Python news and links (Apr 30)

QOTW: "That is just as feasible as passing a cruise ship through a phone
line." - Carsten Haese, on transporting a COM object across a network.
Less vividly but more formally, as he notes, "A COM object represents a
connection to a service or executable that is running on one computer.
Transferring that connection to another computer is impossible."

"[D]on't burn bandwith by banal banter, post the examples!" - John Machin
See the great cities of Europe, learn Python, and play the "Where's
Alex (Guido/...)?" game: attend a conference in Paris, Vilnius,
Firenze, Birmingham, ...:
http://groups.google.com/group/comp....536c746c593a8/

Pygame is now having weekly (!) sprints to fix bugs on Wednesdays.
http://aspn.activestate.com/ASPN/Mai...-users/3441195
http://www.unixreview.com/documents/s=10116/ur0701j/

Exception-handling is important. You need to learn 'most
everything about it you can. See, for example, this thread
about disaggregating IOError:
http://groups.google.com/group/comp....b8e52d2642537/

Reasons to enjoy Python--but read the comments:
http://blog.cbcg.net/articles/2007/0...nd-to-drizzown
=============== =============== =============== =============== ============
Everything Python-related you want is probably one or two clicks away in
these pages:

Python.org's Python Language Website is the traditional
center of Pythonia
http://www.python.org
Notice especially the master FAQ
http://www.python.org/doc/FAQ.html

PythonWare complements the digest you're reading with the
marvelous daily python url
http://www.pythonware.com/daily
Mygale is a news-gathering webcrawler that specializes in (new)
World-Wide Web articles related to Python.
http://www.awaretek.com/nowak/mygale.html
While cosmetically similar, Mygale and the Daily Python-URL
are utterly different in their technologies and generally in
their results.

For far, FAR more Python reading than any one mind should
absorb, much of it quite interesting, Planet Python indexes
much of the universe of Pybloggers.
http://www.planetpython.org/

The Python Papers aims to publish "the efforts of Python enthusiats".
http://pythonpapers.org/

Readers have recommended the "Planet" sites:
http://planetpython.org
http://planet.python.org

comp.lang.pytho n.announce announces new Python software. Be
sure to scan this newsgroup weekly.
http://groups.google.com/groups?oi=d...ython.announce

Python411 indexes "podcasts ... to help people learn Python ..."
Updates appear more-than-weekly:
http://www.awaretek.com/python/index.html

Steve Bethard continues the marvelous tradition early borne by
Andrew Kuchling, Michael Hudson, Brett Cannon, Tony Meyer, and Tim
Lesher of intelligently summarizing action on the python-dev mailing
list once every other week.
http://www.python.org/dev/summary/

The Python Package Index catalogues packages.
http://www.python.org/pypi/

The somewhat older Vaults of Parnassus ambitiously collects references
to all sorts of Python resources.
http://www.vex.net/~x/parnassus/

Much of Python's real work takes place on Special-Interest Group
mailing lists
http://www.python.org/sigs/

Python Success Stories--from air-traffic control to on-line
match-making--can inspire you or decision-makers to whom you're
subject with a vision of what the language makes practical.
http://www.pythonology.com/success

The Python Software Foundation (PSF) has replaced the Python
Consortium as an independent nexus of activity. It has official
responsibility for Python's development and maintenance.
http://www.python.org/psf/
Among the ways you can support PSF is with a donation.
http://www.python.org/psf/donate.html

Kurt B. Kaiser publishes a weekly report on faults and patches.
http://www.google.com/groups?as_usub...python%20patch

Although unmaintained since 2002, the Cetus collection of Python
hyperlinks retains a few gems.
http://www.cetus-links.org/oo_python.html

Python FAQTS
http://python.faqts.com/

The Cookbook is a collaborative effort to capture useful and
interesting recipes.
http://aspn.activestate.com/ASPN/Cookbook/Python

Many Python conferences around the world are in preparation.
Watch this space for links to them.

Among several Python-oriented RSS/RDF feeds available are
http://www.python.org/channews.rdf
http://bootleg-rss.g-blog.net/pythonware_com_daily.pcgi
http://python.de/backend.php
For more, see
http://www.syndic8.com/feedlist.php?...ShowStatus=all
The old Python "To-Do List" now lives principally in a
SourceForge reincarnation.
http://sourceforge.net/tracker/?atid...70&func=browse
http://www.python.org/dev/peps/pep-0042/

The online Python Journal is posted at pythonjournal.c ognizor.com.
ed****@pythonjo urnal.com and ed****@pythonjo urnal.cognizor. com
welcome submission of material that helps people's understanding
of Python use, and offer Web presentation of your work.

del.icio.us presents an intriguing approach to reference commentary.
It already aggregates quite a bit of Python intelligence.
http://del.icio.us/tag/python

*Py: the Journal of the Python Language*
http://www.pyzine.com

Archive probing tricks of the trade:
http://groups.google.com/groups?oi=d...python&num=100
http://groups.google.com/groups?meta....lang.python.*

Previous - (U)se the (R)esource, (L)uke! - messages are listed here:
http://www.ddj.com/topic/python/ (requires subscription)
http://groups-beta.google.com/groups...t=0&scoring=d&
http://purl.org/thecliff/python/url.html (dormant)
or
http://groups.google.c om/groups?oi=djq&a s_q=+Python-URL!&as_ugroup= comp.lang.pytho n
There is *not* an RSS for "Python-URL!"--at least not yet. Arguments
for and against are occasionally entertained.
Suggestions/corrections for next week's posting are always welcome.
E-mail to <Py********@pha seit.netshould get through.

To receive a new issue of this posting in e-mail each Monday morning
(approximately) , ask <cl****@phaseit .netto subscribe. Mention
"Python-URL!". Write to the same address to unsubscribe.
-- The Python-URL! Team--

Phaseit, Inc. (http://phaseit.net) is pleased to participate in and
sponsor the "Python-URL!" project. Watch this space for upcoming
news about posting archives.
Apr 30 '07 #1
6 1139
Cameron Laird wrote:
QOTW: "That is just as feasible as passing a cruise ship through a phone
line." - Carsten Haese, on transporting a COM object across a network.
Less vividly but more formally, as he notes, "A COM object represents a
connection to a service or executable that is running on one computer.
Transferring that connection to another computer is impossible."
While this is indeed a nice turn of phrase, in substance it's incorrect.
You can marshal a live COM object and unmarshal it on a different
machine.

Roger

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Apr 30 '07 #2
In article <11************ **@sp12lax.supe rfeed.net>,
Roger Upole <ru****@hotmail .comwrote:
>Cameron Laird wrote:
>QOTW: "That is just as feasible as passing a cruise ship through a phone
line." - Carsten Haese, on transporting a COM object across a network.
Less vividly but more formally, as he notes, "A COM object represents a
connection to a service or executable that is running on one computer.
Transferring that connection to another computer is impossible."

While this is indeed a nice turn of phrase, in substance it's incorrect.
You can marshal a live COM object and unmarshal it on a different
machine.
Apr 30 '07 #3

"Cameron Laird" <cl****@lairds. uswrote in message news:96******** ****@lairds.us. ..
In article <11************ **@sp12lax.supe rfeed.net>,
Roger Upole <ru****@hotmail .comwrote:
>>Cameron Laird wrote:
>>QOTW: "That is just as feasible as passing a cruise ship through a phone
line." - Carsten Haese, on transporting a COM object across a network.
Less vividly but more formally, as he notes, "A COM object represents a
connection to a service or executable that is running on one computer.
Transferrin g that connection to another computer is impossible."

While this is indeed a nice turn of phrase, in substance it's incorrect.
You can marshal a live COM object and unmarshal it on a different
machine.
.
.
.
... but the *references* in that object are unlikely to be
meaningful on the second machine (or, in many cases, on the
original machine, if at a sufficiently later time).
In practice, you can marshal and unmarshal an object as complex
as Excel.Applicati on which contains references to literally hundreds
of objects.

Roger

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Apr 30 '07 #4
Cameron Laird:
... but the *references* in that object are unlikely to be
meaningful on the second machine (or, in many cases, on the
original machine, if at a sufficiently later time).
The marshaling of the object is responsible for persisting any
contained references in a format that can be revivified on the second
machine. Sometimes these are references to 'short lived' objects in the
original process, in which case they should have been addrefed which
will also lock the process alive. Other times they may be monikers to
stable objects which can be reloaded.

Neil

May 1 '07 #5
In article <11************ **@sp12lax.supe rfeed.net>,
Roger Upole <ru****@hotmail .comwrote:
>
"Cameron Laird" <cl****@lairds. uswrote in message
news:96******* *****@lairds.us ...
>In article <11************ **@sp12lax.supe rfeed.net>,
Roger Upole <ru****@hotmail .comwrote:
>>>Cameron Laird wrote:
QOTW: "That is just as feasible as passing a cruise ship through a phone
line." - Carsten Haese, on transporting a COM object across a network.
Less vividly but more formally, as he notes, "A COM object represents a
connection to a service or executable that is running on one computer.
Transferri ng that connection to another computer is impossible."
While this is indeed a nice turn of phrase, in substance it's incorrect.
You can marshal a live COM object and unmarshal it on a different
machine.
.
.
.
... but the *references* in that object are unlikely to be
meaningful on the second machine (or, in many cases, on the
original machine, if at a sufficiently later time).

In practice, you can marshal and unmarshal an object as complex
as Excel.Applicati on which contains references to literally hundreds
of objects.
May 1 '07 #6
Neil Hodgson <ny************ *****@gmail.com wrote:
Cameron Laird:
... but the *references* in that object are unlikely to be
meaningful on the second machine (or, in many cases, on the
original machine, if at a sufficiently later time).

The marshaling of the object is responsible for persisting any
contained references in a format that can be revivified on the second
machine. Sometimes these are references to 'short lived' objects in the
original process, in which case they should have been addrefed which
will also lock the process alive. Other times they may be monikers to
stable objects which can be reloaded.
Excellent brief summary.

If one COM object in ten implemented marshaling correctly, I might still
be a "Windows guru" instead of having run away screaming years ago
(which played out all right careerwise, actually:-).

Everybody needs to read Don Box's "Essential COM", btw; if one author of
COM code in ten had read and understood it, etc, etc.
Alex
May 2 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2936
by: Arthur Chereau | last post by:
Hi, I'm trying to setup viewcvs to work with subversion 1.2.0 on Linux with Python 2.4.1. The last viewcvs (from CVS) needs subversion python bindings. I installed swig and built subversion from source with it. Everything works fine until I try to build the Python bindings. When I try "make swig-py" I get the following, Python related, error: # make swig-py
11
2555
by: frr | last post by:
Hi, After upgrading to 2.4 (from 2.3), I'm getting a weird syntax error: >>> import themes Traceback (most recent call last): File "<interactive input>", line 1, in ? File "themes.py", line 564 font = self.font.makeBlackAndWhite(), additive = self.additive,
6
3976
by: matey | last post by:
I am have version 2.3.4. I want to write a python script to access a secure HTTPS. I tried the following: import urllib urllib.urlopen("https://somesecuresite.com") s = f.read() f.close()
13
2167
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
4
2108
by: Jack | last post by:
I searched around but could not find win32all source or binaries for earlier versions of Python. Don't ask me why but I have to use Python 1.5.2 in this project :) The sourceforget page only has latest versions. ActiveState does not even have 1.5.2 for download. Is it still available somewhere? Thanks!
7
6677
by: Chi Yin Cheung | last post by:
Hi, Is there a way in python to output binary files? I need to python to write out a stream of 5 million floating point numbers, separated by some separator, but it seems that all python supports natively is string information output, which is extremely space inefficient. I'd tried using the pickle module, but it crashed whenever I tried using it due to the large amount of data involved. Thanks for your help!
9
2271
by: wyleu | last post by:
I'm running on Mandriva 2007 (2.6.17-5mdv) and thus have python2.4.3 installed by default, I'm running code requiring yield(), so need python2.5 and have installed this sucessfully, and linked appropriately to allow me to start python2.5 by typing python2.5. However I'd like to use idle so require to be able to import _tkinter. I gather I need to modift the setup.py script in my python directory but am wary of experimenting since I've...
9
2641
by: Ed Leafe | last post by:
On Apr 21, 2008, at 1:05 PM, Daniel Fetchinson wrote: Don't most binary distributions include SQLite itself? I installed 2.5.2 on a new WinXP VM, and SQLite is working fine. -- Ed Leafe
0
1026
by: | last post by:
(top posting fixed; please keep discussion on this list) --- algaba@droog.sdf-eu.org escribió: <mailman.747.1208720919.17997.python-list@python.org> Which tutorial example?
3
1332
by: james | last post by:
Hi all, I recently updated os x from python 2.4 to 2.5 (from python.org) and in doing so I lost my old python path entries. Python 2.4 was installed using fink. Now when I do: import sys print sys.path my old site-packages directory is not within it (the 2.4 one).
0
9649
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10799
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10515
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10554
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9338
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7761
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5799
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4428
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.