473,605 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mac OS X, Fink, Python, and web browser

Hi.
I'm running Mac OS X (10.2.6), Fink 0.5.3, Python2.2 and all requisite
libraries, VPython (http://www.vpython.org). VPython comes with and
installs IDLE_fork. Pressing F1 inside IDLE_fork is supposed to bring up
help documents in the system's default web browser.

Could someone please tell me where and how to get IDLE_fork to use Safari
(1.0)?

JH

Jul 18 '05 #1
4 2379
Joe Heafner <he******@spam. vnet.net> wrote in message news:<pd******* *************@c tc.net>...
Hi.
I'm running Mac OS X (10.2.6), Fink 0.5.3, Python2.2 and all requisite
Could someone please tell me where and how to get IDLE_fork to use Safari
(1.0)?


You can change your default web browser to Safari using the preferences
pane (under internet, I believe). If IDLE_fork uses the default browser
property then Safari should launch.

Cheers,

don
Jul 18 '05 #2
Don Hiatt <do******@acm.o rg> wrote:
You can change your default web browser to Safari using the preferences
pane (under internet, I believe). If IDLE_fork uses the default browser
property then Safari should launch.

Hi.
I just double checked and Safari is indeed my system default under System
Preferences -> Internet -> Web. There's no mention of Safari in
webbrowser.py though.

JH

Jul 18 '05 #3
Joe Heafner <he******@spam. vnet.net> writes:
Don Hiatt <do******@acm.o rg> wrote:
You can change your default web browser to Safari using the preferences
pane (under internet, I believe). If IDLE_fork uses the default browser
property then Safari should launch.

Hi.
I just double checked and Safari is indeed my system default under System
Preferences -> Internet -> Web. There's no mention of Safari in
webbrowser.py though.


IIRC, webbrowser.py uses internet config on the mac, so you certainly
should get the default browser. I've had trouble getting with
webrowser.py on Mac OS X before now, though, but I didn't dig.

Cheers,
M.

--
Academic politics is the most vicious and bitter form of politics,
because the stakes are so low. -- Wallace Sayre
Jul 18 '05 #4
Michael Hudson <mw*@python.net > wrote:
IIRC, webbrowser.py uses internet config on the mac, so you certainly
should get the default browser. I've had trouble getting with
webrowser.py on Mac OS X before now, though, but I didn't dig.

I have the file webbrowser.py in two places, one with the python that
ships with OS X and one with Fink's Python22 and they're virtually
identical. I'm lost as to what to do.

JH

Jul 18 '05 #5

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

Similar topics

0
1193
by: Gary | last post by:
I'm trying to install various things via fink, in particular numeric-py23. The process stops with a dependency error: dpkg: dependency problems prevent configuration of python23: python23 depends on python23-shlibs (= 2.3-1); however: Version of python23-shlibs on system is 1:2.3-1.
7
12486
by: Rune Strand | last post by:
What would it take to create a Firefox extension that enables Python as a script language in the browser - just like Javascript? Is it at all possible? Are the hundred good reasons not to bother? I once made an application that used MozPython. It was fun and very fast compared to the Mod_Python I eventually replaced it with. I had to, because of all the mess updating Mozilla caused. ActiveState has a project too . But none of these can...
4
1728
by: WGW | last post by:
I would like to automate some simple browser navigating using python. Ideally, I would like a package like pyexpect, but that can handle a browser in much the same way as pyexpect handles a terminal (tall order!). In short, I want a macro language for a browser (I know about the commercial packages such as Easy Bee and Internet macros, but I want more programmability and less cost!) ClientForms goes in the right direction. Can Grail be...
47
3460
by: Kenneth McDonald | last post by:
Is there any emerging consensus on the "best" UI for toolkit. Tk never quite made it but from what I can see, both qt and wxWin are both doing fairly well in general. I'm already aware of the licensing issues surrounding qt (fwiw, I think their license fee for commercial use is eminently reasonable), so aside from that, I was wondering if there was any feedback readers could provide on the following: 1) Which plays best with Python?...
6
3435
by: test | last post by:
Hi everyone, I'm creating a desktop Python application that requires web-based authentication for accessing additional application features. HTTP GET is really simple. HTTP POST is not (at least for me anyway) ;) I have tried a few different sources, but I cannot get HTTP POST to successfully log in. I can login using FireFox at
7
6529
Chittaranjan
by: Chittaranjan | last post by:
Hi All, I am new to Python. I am not able to get the python script run in the browser. I am using IIS as my webserver and my python version is Python-2.4. I am under Windows-XP OS. I have done one my directories to be a virtual directory to run in my web browser. I have written some sample codes as follows - form.html <html><body> <form method="get" action="process_form.py"> Name: <input type="text" name="name"> <input type="submit"...
8
1577
by: jmDesktop | last post by:
I have been to the main python site, but am still confused. I have been using .net, so it may be obvious how to do this to everyone else. I am aware there are various frameworks (Django, Pylons, etc.), but I would like to know how to create web pages without these. If I have mod_python or fastcgi on apache, where do I start? I don't have clue where to begin to create a web page from scratch in python. I am sure I will want to access...
7
2130
by: Michele Simionato | last post by:
I have noticed that the python-mode for Emacs that comes with the latest Ubuntu is missing the class browser. Moreover if works differently from the python-mode I was used to (for instance CTRL-c-c works as CTRL-c-! whereas CTRL-c-! is missing, etc). How can I go back to the old python-mode or at least how do I get back the class browser? Michele Simionato
37
9042
by: Michael Palmer | last post by:
As anyone knows, the state of Python GUI programming is a little fractured at this time, with many toolkits, wrappers and meta-wrappers dead and alive, with or without documentation. I've come across two projects that have the appeal of striving for simple, pythonic APIs: PyGUI and wax. The latter is a wrapper around wxPython. It is lacking documentation but actually quite usable and concise. The other, PyGUI, has an even nicer API and...
0
8001
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8424
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
8415
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
8069
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
8286
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6742
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...
0
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2438
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
0
1270
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.