473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

sublassing as a verb

docs on urllib module say this about the FancyUrlOpener:
"class FancyURLopener( ...)

FancyURLopener subclasses URLopener providing default handling
for ..."

does that mean the FancyURLopener is a subclass of URLopener?
Jun 27 '08 #1
2 916
On 20 juin, 22:34, davidj411 <davidj...@gmail.comwrote:
docs on urllib module say this about the FancyUrlOpener:
"class FancyURLopener( ...)

FancyURLopener subclasses URLopener providing default handling
for ..."

does that mean the FancyURLopener is a subclass of URLopener?
You could easily find out by yourself, you know ?-)

Python 2.5.1 (r251:54863, Apr 6 2008, 17:20:35)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>from urllib import URLopener, FancyURLopener
issubclass(FancyURLopener, URLopener)
True

Jun 27 '08 #2
On Jun 20, 4:34*pm, davidj411 <davidj...@gmail.comwrote:
docs on urllib module say this about the FancyUrlOpener:
"class FancyURLopener( ...)

FancyURLopener subclasses URLopener providing default handling
for ..."

does that mean the FancyURLopener is a subclass of URLopener?
Yes. Anthimeria is very common in English.
Carl Banks
Jun 27 '08 #3

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

Similar topics

1
by: Kenneth Myhra | last post by:
Hi all, while trying to convert a C++ ISAPI-filter, used to authorize file requests, to .NET we have gotten into a problem with the 'PUT' verb. First I will explain how we do this. We are...
3
by: Reza Solouki | last post by:
Hello, I ran the Microsoft Baseline Security analyzer 1.2 on my developement machine, then as one of the requests. Also updated the machine 1.1 Framework with service pack 1. Now everytime I...
2
by: Cy Huckaba | last post by:
I am writing a program that will search xml files for some of our dev team here and list the files in a list box. I would like to be able to double-click on the file name and have the file open...
2
by: Richard L Rosenheim | last post by:
I'm trying to add a designer verb to my custom control. I'm using the document...
0
by: Randy | last post by:
Hello, I ran the Microsoft Baseline Security analyzer 1.2 on my developement machine, then as one of the requests. Also updated the machine 1.1 Framework with service pack 1. Now everytime I...
0
by: Gaetan | last post by:
Anyone knows why IIS 6.0 requires that the user account required write access to the web application folder when a custom verb is used? I configured my web application and added COMP to the list...
0
by: Bram | last post by:
Hello, I'm designing a PageControl which hosts a number of pages. I added a verb to the designer of the pages in the PageControl to select the parent control, like this: public class...
0
by: Brian | last post by:
I have an ASP.NET 1.1 application that does URL rewriting via a custom HttpModule. We recently migrated this application from Win2k/IIS5 to Win2k3/IIS6. In IIS5, I added a wildcard application map...
2
by: jb | last post by:
Hi there, After installing and using MSAJAX 1.0 in one of my servers and websites, sometimes, I get the next error surfing the site: Bad Request (Invalid Verb) Somebody knows what does it...
6
by: piyusht | last post by:
Hello, I have a small piece of code to launch a file and print it to desired printer. The code is as follows: objProcess.StartInfo.FileName = "C:\test.jpg"; objProcess.StartInfo.WindowStyle...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.