stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Intro to Using PyObjC







Intro to Using PyObjC

Intro to Using PyObjC 03/29/2005 01:40 PM

Overcoming Newbie Hurdles when using Xcode and Interface Builder: “Python is a great fit for the Macintosh.  It’s an elegant language for an elegant computer. We are all indebted to the guys who made the PyObjC bridge, for it springs the doors wide open to what you can do with Python on a Mac.”




This is a GrokNews Entry: (what is grok?)





Similar Items

Intro to Using PyObjC

Grok Headline matches for Intro to Using PyObjC

PyObjC 1.2


PyObjC 1.2 12/31/2004 10:20 AM
A bridge for using Python with Objective-C for Cocoa development.

PyObjC 1.1b2


PyObjC 1.1b2 04/12/2004 10:07 PM
PyObjC is a bridge between Python and Objective-C that allows full featured Cocoa applications to be written in pure Python. It can also be used with other Objective-C class libraries, as well as C and C++ source. The installer package includes a number of Project Builder templates and Python syntax coloring files. It supports full introspection of Objective-C classes and direct invocation of Objective-C APIs from the interactive interpreter.

PyObjc


PyObjc 10/31/2003 03:02 PM
I caught Bill Bumgarner’s presentation on PyObjc at the OS X conference. I was surprised by how complete PyObjc is: according to Bill, it pretty much just works.

You can of course send messages back and forth across the PyObjc bridge: you can call Objective-C from Python and vice versa. You can even subclass Objective-C classes in Python. Things like Web Kit and the new NSController layer work with Python. And with Python you don’t have to deal with memory issues (retain/release/autorelease).

So, while all that’s very cool, I’m not about to switch away from Objective-C. But I can imagine using Python for a few things:

1. XML-RPC and other web services. Python is utterly remarkable as a web services language. I’ve used no other language as nice as Python for this stuff.

2. As a user scripting language. NetNewsWire for instance has a Scripts menu to which you can add AppleScript scripts. It would be cool if you could also put Python scripts in there that have at least the same level of access to NetNewsWire as the AppleScript scripts have. (Actually, it would be easy to give an even bigger level of access.)

3. Writing unit tests. Writing tests should be as frictionless as possible; Python would be a big help here.

I should point out that NetNewsWire already does use Python for one feature, though it’s not using PyObjc: the HTML differences code is a Python script by Aaron Swartz. (NetNewsWire just calls the script on disk via NSTask.)

Update: PyObjC 1.1


Update: PyObjC 1.1 06/01/2004 10:45 AM
The Python/Objective-C bridge adds Mac OS X 10.3 support, Xcode templates, support for WebObjects 4.5, more fine-grained multi-threading support, new examples, and other improvements.

"Intro to WSA"


"Intro to WSA" 09/19/2004 02:22 AM

Intro to MT Blogging at SLS


Intro to MT Blogging at SLS 02/11/2004 03:09 PM

Good news for SLS libraries! In addition to offering free Movable Type blogs for our members, we are now offering a hands-on training class for MT. Actually, all librarians are welcome to take the class, so non-SLS librarians can email itdept@sls.lib.il.us t o register.

Introduction to Blogging: Making Your Web Duties Easier
Instructor: Aaron Schmidt
Dates: April 15, May 20, September 16, and October 14
Time: 9:30 a.m. - 12:30 p.m.
Cost: $60
Limit: 10 registrants per class

"In this hands-on class you'll learn how to start a blog and why you'd want to in the first place! Using Movable Type software on the SLS server, you'll learn how to change the look of your blog and touch on Cascading Style Sheets (CSS) in the process. If you'd like to add an easy to update, dynamic portion to your web site, or even use a blog as the basis for your web site, this is the class for you! SLS offers a free Movable Type blog on its server to every member library!"

Aaron runs the Thomas Ford Memorial Library web site, which is composed entirely with MT blogs.


Intro to 64-Bit Computing


Intro to 64-Bit Computing 03/13/2003 10:21 AM
Ars discusses 64-bit processors

About.com: A Simple Intro to PHP


About.com: A Simple Intro to PHP 05/27/2004 09:27 AM
Just a quick note for anyone out there coming across this site just learning PHP and wondering what it's all about. This new article from the Perl section on About.com is intended to show you the very, very basic steps of how to create a PHP script. It's intention is to help those with a perl background to understand how to get started in the PHP world.

Intro to Bindings


Intro to Bindings 04/30/2004 01:35 PM
Historically, Cocoa developers have had to keep data objects and view objects in sync manually... By just writing a few methods, you give life to very rich, full-featured tables. Cocoa does a lot of the hard work. But if you have multiple controls that depend on each other, there's more work involved... Bindings gives you a way to define relationships, and Cocoa figures out what to do at runtime. You have to write less code, which means faster development and more functionality for free.

Intro to XML grammar


Intro to XML grammar 09/06/2002 10:43 PM
CNET Sep 6 2002 10:06PM ET

RSS Intro in French


RSS Intro in French 01/11/2004 12:25 PM
Introduction à RSS en Français....

Intro Engine


Intro Engine 01/22/2004 11:42 AM
Help Wanted

O'Reilly Intro


O'Reilly Intro 02/10/2004 02:51 AM
Changing the world by spreading the knowledge of innovators. Digital Democracy is an emerging area of innovation. Wonderful moment to hear from the pioneers. Joe is the Edison of the Movement (Brit Blaser), although we are not sure if he...

Zend: PHP 101 - Intro to Databases


Zend: PHP 101 - Intro to Databases 09/01/2004 08:22 AM
As a part of their PHP 101 series, Zend has posted their latest section - PHP 101 (part 8): Databases and Other Animals.

Great CC intro video


Great CC intro video 03/06/2004 01:51 AM

We announced winners of the Creative Commons moving images contest and I really like the winning entry. It looks great, sounds great, and explains all the basic details of the Creative Commons licensing process, using reels of public domain footage to convey the message:

Building on the Past
by Justin Cone

1_buildonpast.jpg

Watch Now (7Mb, mov)

This movie is licensed under a Creative Commons License.


Intro to Flash Remoting MX


Intro to Flash Remoting MX 11/30/2002 02:34 AM
CNET Nov 30 2002 1:03AM ET

Intro to Quality Assurance (QA)


Intro to Quality Assurance (QA) 06/14/2004 02:54 PM

Playmobil Porn Intro


Playmobil Porn Intro 04/10/2004 06:27 AM
Apropos of the Playmobil TSA Playset, Hubert sez, "Another favourite is this bedroom set, which threatens to erupt into Playmobil porn at any second. I think the woman is holding a hookah and the guy's moustache is... just... inappropriate." Link

PHPBuilder.com: An Intro to Web Services
with PHP


PHPBuilder.com: An Intro to Web Services
with PHP
03/19/2005 03:26 AM
New from PHPBuilder.com today is a new article - An introduction to web services with PHP. In this article they give you the basics using as the example a few calls to the Google Web API.

Intro to Server Clustering


Intro to Server Clustering 07/16/2004 10:05 AM

PHP Intro to Objects and Classes


PHP Intro to Objects and Classes 11/27/2002 08:37 AM
PHP's Object Oriented capabilities may not be complete, but the benefits of convenience and code re-use from using Objects and Classes are here now. If you are already dabbling in PHP, but haven't yet checked out Classes, have a look at this simple (but useful) example of an Error Message Class.

An intro to elliptical key cryptography


An intro to elliptical key cryptography 07/21/2004 04:13 AM

Mac OS X 10.4 Tiger Intro Movie?


Mac OS X 10.4 Tiger Intro Movie? 03/31/2005 11:32 PM
It appears one user posted the intro video for Apple's Mac OS X 10.4 (Tiger). The welcome video typically appears one first boot after installation...

Templates and You: An Intro to Smarty


Templates and You: An Intro to Smarty 07/24/2002 07:58 AM

Intro to SVG, and Site News


Intro to SVG, and Site News 06/14/2002 08:14 AM

New Course for Liberal Arts: Intro to
Job Market


New Course for Liberal Arts: Intro to
Job Market
06/18/2004 11:55 PM
College officials are looking for ways to turn their faculty and classes to bolstering the career prospects of their liberal arts students.

Babalu Blog: BlogCuba - Intro


Babalu Blog: BlogCuba - Intro 08/12/2004 01:20 PM
Be sure to check it throughout the day! .. covering Cuba from every possible angle .. BlogCuba

babalublog.com/archives/000926.html
track this site | 4 links


Cisco May Intro New Support for Roaming


Cisco May Intro New Support for Roaming 05/04/2004 05:03 PM
EWeek reports that Cisco is about to introduce new products that will enable roaming between access points: The capability is key to rolling out voice services on WLANs. The products will work in conjunction with Cisco's Catalyst 6500 switches. One apparent downside to the Cisco setup is that it won't support roaming between APs that are connected to different switches. Also, packets will travel from the client to the AP then through to potentially multiple switches before reaching their destination, which could be a client attached to the same AP. Most WLAN switch vendors and security gateway developers already support roaming across networks and even across subnets. But Cisco always has a leg up on startups because of its installed base. Cisco is hosting a Webcast for journalists tomorrow during which executives may detail more about the new platform. EWeek wasn't expecting an announcement from Cisco until Networld+Interop next week, however....

Motorola to Intro Wi-Fi/Cell Phone


Motorola to Intro Wi-Fi/Cell Phone 07/27/2004 12:37 PM
Motorola, Avaya, and Proxim, today introduced an enterprise platform that enables voice roaming between enterprise WLANs and the wide area cellular networks: The solution includes a new handset from Motorola that looks like a typical cellular flip phone but can support voice over WLAN as well as voice over a GSM network. As part of the solution, enterprises must implement APs built by Proxim and Avaya, a call manager gateway from Motorola that enables the handoff between the networks, and an Avaya IP-PBX. The phone automatically reverts to the WLAN when it's available and can seamlessly hand off calls from the WLAN to a GSM network as a user moves between them. While it looks like a cell phone, it features a lot of the capabilities of a desk phone such as buttons for mute, hold, and speakerphone. It runs Win CE so can support Microsoft .Net applications and it includes a VPN. The gateway enables push-to-talk while users are covered by the WLAN. The platform offers some features that aren't available on the PDA introduced yesterday by HP and T-Mobile, namely voice over WLAN. "It's exciting to see the HP/T-Mobile solution, but it's an iPaq that has GSM voice on it," said Chris White, director of business development for enterprise seamless mobility with Motorola. "It doesn't do VOIP except with a softphone." In addition, because of that WLAN voice capability, the Motorola solution supports a single phone number that rings for users regardless of the network they are connected to. Users can also use a single mailbox and access many of the same PBX-type features both inside the office over the WLAN and outside on a GSM network. One obvious capability this phone seems to lack compared to the HP/T-Mobile handheld is GPRS. That means that users won't have any higher speed data access outside of the office. Sales, which will be handled at least initially by Avaya and not a cell phone operator, might be challenging because the decision to implement such a solution is complicated. An enterprise would have to decide to potentially switch existing cell phone users in the company to whichever GSM operators may support the phone--the companies haven't said which may support it. It also presumably means that a company might grapple with feeling the need to sign up additional cellular users in an effort to standardize on the phone. The decision also may...

AT&T Wireless to intro 3G service next
week?


AT&T Wireless to intro 3G service next
week?
07/15/2004 10:14 PM
Engadget Jul 16 2004 0:10AM GMT

Tutorials: Intro to Objects, and
Threading


Tutorials: Intro to Objects, and
Threading
07/19/2002 07:45 AM

DevShed: An Intro to MySQL Transactions


DevShed: An Intro to MySQL Transactions 11/06/2003 08:51 AM
If you use MySQL for the backend of your site, you know there's been a lot of new advances in the latest version of their software - some things that have been missing that the other RDBMS have had for a while. One of these things, transactions, is a little tricky to get a handle on, but this new article from DevShed hopes to help.

PHP Fusebox, SQL Intro, and Incoming
Mail & PHP


PHP Fusebox, SQL Intro, and Incoming
Mail & PHP
06/03/2002 12:05 PM

Perceptrons: Intro to Machine Learning


Perceptrons: Intro to Machine Learning 11/12/2003 03:18 PM
Imagine that you have apples and bananas. Your apples and bananas are in one pile, but you want them to be in separate piles. You don't want to pay some worker to separate the fruits, so you're building a machine to do it. This machine only has two pieces of information about them: their size and how yellow they are. What it needs is a function to discriminate between apples and bananas, so that it can sort them. One way to find a function to discriminate between two classes of things is to use a perceptron. A perceptron is a simple iterative algorithm for finding a discriminant function; in other words, it can find a function to separate our apples and bananas. Although they can only separate two classes of data, and have some other limitations, perceptrons are still an interesting introduction to learning techniques.

DoCoMo to Intro Combo 3G/Voice Over
Wi-Fi


DoCoMo to Intro Combo 3G/Voice Over
Wi-Fi
12/04/2003 01:06 PM
DoCoMo is planning to roll out a dual-mode 3G and voice over WLAN service in the spring: Apparently DoCoMo is working on some tricks to try to extend battery life as 802.11 tends to eat up power. DoCoMo is always on the cutting edge of wireless technology. The company has also asked its handset makers to come out with models based on Linux....

OWC, NewerTech intro battery for 1G, 2G
iPods


OWC, NewerTech intro battery for 1G, 2G
iPods
12/19/2004 03:11 PM
Newer Technology Inc. and Other World Computing (OWC) on Thursday introduced a replacement battery designed for use with first- and second-generation iPods. The US$29.95 battery comes with installation instructions and a non-abrasive nylon tool for opening the MP3 player's case without damaging it. Both companies claim a 46 percent increase in power capacity over the original factory-installed batteries included with the first two iterations of the iPod.

DotGeek: An Intro to Templating Your
Site


DotGeek: An Intro to Templating Your
Site
01/07/2004 02:51 PM
DotGeek.org has a new tutorial posted today for those out there new to creating sites with PHP and looking for that next step to make their sites easier to maintain.

Templates for the Masses: An Intro to
Smarty


Templates for the Masses: An Intro to
Smarty
09/06/2002 09:09 AM

Don't Object to Objects: O'Reilly's
Intro


Don't Object to Objects: O'Reilly's
Intro
08/05/2002 10:44 PM

Grok Description matches for Intro to Using PyObjC
GrokA matches for Intro to Using PyObjC

Intro to Using PyObjC

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

CA buys into
mainframe ID
management

Viva lost Comdex?
Photo: Rowing into
history

HP names NCR leader
as new chief
executive

breathe in the
darkest country road

Japan tightens
personal data
protection

SpikeSource,
SourceLabs set to
launch support
products

Orb scraps
subscription fee on
remote media access

Report puts VeriSign
in lead to continue
running .net

Software AG, Rivet
Software collaborate
on XBRL

Other News:
Fingerprint Sharing
Alliance

Other News: Secret
Service "DNA"

Other News: What's
Next?

Other News: New
Photoshop

Notes and Tips:
Photo Services

Notes and Tips: iPod
Photo Problem

Notes and Tips:
PowerBook Battery
Shortage

Notes and Tips:
QuarkXpress Security
Nightmare

Update: Cyberduck
2.4

Update: SlimServer
6.0

Update: Markzware
FlightCheck 5.52

Update: Smultron 1.1
Update: Lasso Studio
8

Update: SuperCard
4.5

New: FroogleUp 1.0
New: IRIS Explorer
Report: Sony PSP
Report: iDVD 5
Report: Security and
SSH

Company Backs Off
Bounty for Mac OS X
Virus (PC World)

Celtel Says It Has
Agreed to Co. Offer
(AP)

Orb Offers Free
Remote Multimedia
Access (PC World)

No Sympathy For the
Devils
(washingtonpost.com)

From open source to
open services to
open information

Southeast Asian
refugees

Superatoms:
Disagreement Within
the Clustering Field

We are all children
in the arms of
Chivas.

DJ David Byrne
Using KOffice to
create good-looking
reports

Supreme Court hears
P2P case

Adobe plans
directory of digital
photographers

Fundraiser for ill
blogger

Liveblogging
Grokster

Carlo Longino's
Mobile Music Blog

How HDTV killed
firefighters,
birthed the
Broadcast Flag, and
screwed America

qmqtool 1.10
(Default branch)

FreeGuide TV Guide
0.8.6 (Default
branch)

Linux Replicated
High Availability
Manager 0.8.6
(Default branch)

Help Desk Reloaded
3.3.8a (Default
branch)

Veldfire 0.2.9
(Default branch)

what is grok?