Description:
The Python computer language.
|
|
|
using distutils to cross-compile extensions?
|
| |
Hi, Please CC me in replying as I am off list. I have an extension module that I've built using distutils. I wonder if it's possible to use distutils to cross-compile it for windows on my linux box, and whether the pain involved is great. Can anyone point me in the right direction? Thanks, --Mike... more »
|
|
Porting to 3.0, test coverage
|
| |
I was just reading what's new with Python 3.0 [link] I like this prerequisite to porting: "Start with excellent test coverage" May I suggest looking into Pythoscope for those looking to boost test coverage. [link] Paul
|
|
Find Files in a Folder Between 2 Dates
|
| |
Is there a way to find all the files in a folder, between 2 dates? For example: Firstdate = 200801010000 Seconddate = 200801020000 Find all the files in C:\Folder that are between Firstdate and SecondDate.
|
|
Running Python 2 and Python 3 on the same machine
|
| |
The migration strategy detailed in PEP 3000 using 2to3 is quite nice. However, I am looking for suggestions for migrating to 3 while I still have code that requires 2. Since the source code is incompatible, I was expecting the Python executable to have a new name such as 'python3' or for the default... more »
|
|
Checking if an int fits in 32 bits?
|
| |
I'm working with marshaling data over a binary wire protocol. I'm using struct.pack() to handle the low-level encoding of ints. One of the things I need to do is make sure an int can be represented in 4 bytes. Is there a portable way to do that? For now, I'm doing signed ints, but I'll certainly have to do unsigned 32-bit ints (and 64-bit... more »
|
|
Announcement: MindTree for Python beta -- feedback appreciated
|
| |
I would like to take the time to announce the first public beta for Mindtree 2. MindTree is an Information Organizer/Outliner, note taker, web publisher written for Python 2.6 and Qt4. MindTree 2.x is a complete rewrite. The original MindTree was written for Tkinter and Tix. The original product,... more »
|
|
Why shouldn't you put config options in py files
|
| |
A colleague of mine is arguing that since it is easy to write config like: FOO = {'bar': ('a': 'b'), 'abc': ('z': 'x')} in config.py and just import it to get FOO, but difficult to achieve the same using an ini file and ConfigParser, and since Python files are just text, we should just write the config options in the Python file and... more »
|
|
GIFTS.BUSINESS OPPORTUNITY
|
| |
Dear friend I'm writing to you because I just came across some businesses that I think have great potencial. All Solutions Network.A World of Opportunity and Solutions!! Make Money from Eveything...Loans,cars,meds,ta xes,credit cards,vacations etc. Not Only can you make money for giving away free vacation packages,you... more »
|
|
To Troll or Not To Troll
|
| |
...ROFL! I'm sorry, you're right -- this has all been a figment of my imagination... [link] [link] So don't mind me -- I clearly don't know what I'm talking about.
|
|
Python 3 read() function
|
| |
Good day. I have installed Python 3 and i have a problem with the builtin read() function. [code] huge = open ( 'C:/HUGE_FILE.pcl', 'rb', 0 ) import io vContent = io.StringIO() vContent = huge.read() # This line takes hours to process !!! vSplitContent = vContent.split ( 'BIN;SP1;PW0.3,1;PA100,700;PD6 25,700;PU;' ) # This one i have neve... more »
|
|
|