473,385 Members | 1,409 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,385 software developers and data experts.

Creating a subpackage of a built-in module?

Can I add my own subpackages to modules that are written in C?

I've put /Users/dpeschel/lib/python into my PYTHONPATH variable.
Inside there, I've created a termios directory, and inside termios
I've created __init__.py and signals.py. Now "import termios.signals"
works, but "import termios" only appears to work (it has no effect).
Do I have to do something sneaky in __init__.py to find the original
module, or is there a better way?
Aug 23 '06 #1
0 1096

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

Similar topics

1
by: Alex Elbert | last post by:
Hi I have built dynamic HTMLTable. Now I want to attach it directly to the Email Body - it is already built, so why not to use a ready table. However, I cannot find the way of getting plain HTML...
1
by: William | last post by:
Looking for a pre built dotnet corporate or small business website template.
3
by: Michael L | last post by:
I am in VS2003, building C++ .dll libraries. I want to create a single .dll that combines its own code with code from other dlls. For example, I want to build B.dll, where B has its own source...
0
by: Richard Thayne | last post by:
I hope someone can help. When adding the CrystalReportViewer Control to my C# aspx web form I get the control with red letters "Error Creating Control CrystalReportViewer1". I am using VS .NET...
2
by: GaryDean | last post by:
( First, I'm using .net 1.1 and, yes, I posted this problem on the Adobe Forums but that won't do any good because they have very poor support) In the code pasted below, MyReport is a Crystal...
2
by: ChrisM | last post by:
Hi, I have a C# project that is currently a standalone application. (It compiles to create a single EXE file). A new project that I have now been given to work on needs to be a separate...
12
by: Fuzzy Logic | last post by:
Hey, I've built a continuous form with a delete button on each row using DoCmd.RunCommand acCmdDeleteRecord. (Is there a better way?) Now the problem is that when I click on a button on a...
1
by: brownr9 | last post by:
Hello, We're new to Access 2003 programming, and we are developing a database for our church. We built the database from the IMPORT of a Excel spreadsheet. Now we are trying to write a FORM...
10
by: John Salerno | last post by:
Ok, this is completely unnecessary so I don't intend to get into stuff that's beyond my skill, but I'm wondering how simple it would be to use Python to create a server that runs on my computer so...
2
by: jej1216 | last post by:
We use Joomla for our company Intranet, and have some external links to pages we built using PHP. We need to set up a Forms Repository that will allow users to download PDF forms. At this point...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.