473,545 Members | 1,981 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 GB files

From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but
distributing and installing on dozens of computers in my
organisation). Then every time we switch to a new release of Python
this has to be repeated over and over!

I believe, that automatic 64 bit support (large files) can and should
be included in standard library (on platforms which support this
feature).
Jul 18 '05 #1
11 1686

"Elbert Lev" <el*******@hotm ail.com> wrote in message
news:94******** *************** ***@posting.goo gle.com...
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but


Elbert: you might get a positive response if you rephrased your post.

"Our corporation needs functionality ___. We would be happy to pay a
contract consultant $n000 to come up with a solution that will work with a
future trajectory of Python releases."

Or you could pray to the OSS gods.

David
Jul 18 '05 #2
At some point, "David Pokorny" <da******@soda. csua.berkeley.e du> wrote:
"Elbert Lev" <el*******@hotm ail.com> wrote in message
news:94******** *************** ***@posting.goo gle.com...
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but


Elbert: you might get a positive response if you rephrased your post.

"Our corporation needs functionality ___. We would be happy to pay a
contract consultant $n000 to come up with a solution that will work with a
future trajectory of Python releases."

Or you could pray to the OSS gods.


Or do better research, as it already has it.

My python (from Debian) has large file support, for instance. Python's
configure script will use if it can find it.

The OP doesn't mention what he's using that doesn't have large files
(OS, platform, python version...)

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)phy sics(dot)mcmast er(dot)ca
Jul 18 '05 #3
David M. Cooke wrote:
At some point, "David Pokorny" <da******@soda. csua.berkeley.e du> wrote:

"Elbert Lev" <el*******@hotm ail.com> wrote in message
news:94****** *************** *****@posting.g oogle.com...
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but


Elbert: you might get a positive response if you rephrased your post.

"Our corporation needs functionality ___. We would be happy to pay a
contract consultant $n000 to come up with a solution that will work with a
future trajectory of Python releases."

Or you could pray to the OSS gods.

Or do better research, as it already has it.

My python (from Debian) has large file support, for instance. Python's
configure script will use if it can find it.

The OP doesn't mention what he's using that doesn't have large files
(OS, platform, python version...)


Yeah, many older filesystems won't go over 2GB... remeber the 2GB
partition limit in fat?
Jul 18 '05 #4
> Elbert: you might get a positive response if you rephrased your post.

"Our corporation needs functionality ___. We would be happy to pay a
contract consultant $n000 to come up with a solution that will work with a
future trajectory of Python releases."
David
David!

I appreciated your sarcasm very much.

I want to assure you that our corporation is perfectly able to hack
code not worse then others can. But reading the postings, which talk
about this issue I thought, that if this feature is "half" supported
and is widely requested, why not to explain why it is needed.

IMHO the most attractive feature of Python is not its syntax, but the
library and the size of distribution. In fact, straight from the box
8-9 MB distribution is sufficient to solve many everyday
programming/administration problems. This is good, but can be
improved. There are some needed pieces missing in standard
distribution and this is one of them. By the way I (almost) do not
care about the speed: it is reasonable right now, can be improved, by
proper data structure/algorithm selection and if one really needs
speed – C is available.

I suggest start discussing additions to the library. This will improve
the package and make it easier to administer.
Or you could pray to the OSS gods.


All is about language acceptance.

In my daily programming activities there are several alternatives to
Python, f.e. Java or .NET with their comprehensive libraries of
classes (much richer then Python's). And what stops me from using it?
The size of the distributive! I understand that adding too much will
result in an increase of the size of distribution, but something has
to be done.
Jul 18 '05 #5
Elbert Lev wrote:
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines.
Why do you say that? This is not true.
I believe, that automatic 64 bit support (large files) can and should
be included in standard library (on platforms which support this
feature).


And indeed, this is how Python works.

Regards,
Martin
Jul 18 '05 #6
Elbert Lev wrote:
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but
distributing and installing on dozens of computers in my
organisation). Then every time we switch to a new release of Python
this has to be repeated over and over! It is necessary with old python versions like 2.1.3 (The one used by
zope 2.6.x). Have you tried to install a newer version of python (ie:
2.3.4)? I think you haven't. It already supports autodetection of large
file support. If it fails, it means that your system doesn't support
large files (ie: on old versions of glibc it wasn't included).

I believe, that automatic 64 bit support (large files) can and should
be included in standard library (on platforms which support this
feature).

It's already there.
Jul 18 '05 #7
Elbert Lev wrote:
Elbert: you might get a positive response if you rephrased your post.

"Our corporation needs functionality ___. We would be happy to pay a
contract consultant $n000 to come up with a solution that will work with a
future trajectory of Python releases."
David

David!

I appreciated your sarcasm very much.

I want to assure you that our corporation is perfectly able to hack
code not worse then others can. But reading the postings, which talk
about this issue I thought, that if this feature is "half" supported
and is widely requested, why not to explain why it is needed.

IMHO the most attractive feature of Python is not its syntax, but the
library and the size of distribution. In fact, straight from the box
8-9 MB distribution is sufficient to solve many everyday
programming/administration problems. This is good, but can be
improved. There are some needed pieces missing in standard
distribution and this is one of them. By the way I (almost) do not
care about the speed: it is reasonable right now, can be improved, by
proper data structure/algorithm selection and if one really needs
speed – C is available.

I suggest start discussing additions to the library. This will improve
the package and make it easier to administer.

Or you could pray to the OSS gods.

All is about language acceptance.

In my daily programming activities there are several alternatives to
Python, f.e. Java or .NET with their comprehensive libraries of
classes (much richer then Python's). And what stops me from using it?
The size of the distributive! I understand that adding too much will
result in an increase of the size of distribution, but something has
to be done.


Having never used Java or .NET... how do they compare in size to Python?
I've found that the standard Python download works for me in 95% of the
tasks in Windows (sys admin tasks). But sometimes I need Hammond's win32
extensions, but only rarely. I've also used the pexpect module a lot...
I wish that would be integrated into the main distro, but overall, I'm
very pleased with the balance of bang for the buck...

Oh, I forgot, Python is free. Perhaps the developers are willing to
provide a refund to dissatisfied users ;)
Jul 18 '05 #8
"Bart Nessux" <ba*********@ho tmail.com> wrote in message
news:cg******** **@solaris.cc.v t.edu...
<snip>
Oh, I forgot, Python is free. Perhaps the developers are willing to
provide a refund to dissatisfied users ;)


Just like Microsoft - return the unused portion of the software, and we'll
return the unused portion of your money!

-- Paul
Jul 18 '05 #9
el*******@hotma il.com (Elbert Lev) writes:
From postings to this group and other resources I understood that the
only way to make Python programs to work correctly with files lager
then 2 GB is building Python interpreter with some "magic spell"
defines. For me this is ABSOLUTELY unacceptable (Not the building, but
distributing and installing on dozens of computers in my
organisation). Then every time we switch to a new release of Python
this has to be repeated over and over!


Did this post drop through a time warp from 2001? :-)

You might want to check your facts more carefully before getting so
angry.

Cheers,
mwh

--
Java sucks. [...] Java on TV set top boxes will suck so hard it
might well inhale people from off their sofa until their heads
get wedged in the card slots. --- Jon Rabone, ucam.chat
Jul 18 '05 #10

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

Similar topics

2
14151
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
44
3995
by: Xah Lee | last post by:
here's a large exercise that uses what we built before. suppose you have tens of thousands of files in various directories. Some of these files are identical, but you don't know which ones are identical with which. Write a program that prints out which file are redundant copies. Here's the spec. -------------------------- The program is...
0
6091
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL"...
18
3145
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now you have your ".cpp" files all ready, without any "#include" or "#define" in them. Let's assume that there's 2 source files in this project,...
3
3080
by: pooja | last post by:
Suppose i have created a class c1 with f1()in c1.cpp and included this c1.cpp in file1.cpp file , which is also having main() by giving the statement #include "c1.cpp". the same i can do by using header file. i can create a class c1 with f1() in c1.h and include this c1.h in file1.cpp by giving the statement #include "c1.h" tell me that...
11
5557
by: ambika | last post by:
Iam just trying to know "c". And I have a small doubt about these header files. The header files just contain the declaration part...Where is the definition for these declarations written??And how does that get linked to our program when we run it??I would appreciate any helpful info..And I would like to thank you for that in advance -ambika
22
2981
by: Daniel Billingsley | last post by:
Ok, I wanted to ask this separate from nospam's ridiculous thread in hopes it could get some honest attention. VB6 had a some simple and fast mechanisms for retrieving values from basic text files, which in turn could be simply and easily maintained with notepad. I understand the benefits of XML, really, but in the case of configuration...
18
2276
by: UJ | last post by:
Folks, We provide custom content for our customers. Currently we put the files on our server and people have a program we provide that will download the files. These files are usually SWF, HTML or JPG files. The problem as I see it - if you know the name of the file, you could download it off the server (currently we are using an HTTP/Get but...
0
1500
by: wal | last post by:
How does one attach files to emails using libgmail? The following code http://pramode.net/articles/lfy/fuse/4.txt works fine when said files are simple text files, but it failes as soon as the files are wild binary files, even attaching the source of an email in a text file (.eml files) failes. What am I missing here? Any hints? The output...
3
5163
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
0
7484
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...
0
7415
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7675
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. ...
1
7440
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...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4963
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1902
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

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.