Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Python

Vote on your favorite hash algorithm here!

Python Discussion forum for Python, a high-level language with simple syntax, but yet powerful.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-29-2006, 05:38 PM
Sionofdarkness Sionofdarkness is offline
Programming Expert
 
Join Date: Jul 2006
Posts: 385
Credits: 0
Rep Power: 11
Sionofdarkness is on a distinguished road
Default Compression

I know (a little) about how compression is done in other programming languages, but I don't think it's done the same way with Python. With other languages, they are compressed when they are compiled, correct? But Python is interpreted (I believe), so how does Python do it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-29-2006, 06:32 PM
Kaabi's Avatar   
Kaabi Kaabi is offline
Programming God
 
Join Date: Jul 2006
Posts: 884
Credits: 0
Rep Power: 14
Kaabi is on a distinguished road
Default

I'm not sure, and I've fiddled with Python before. Of course, I didn't get very far with it, so no wonder I don't know the answer. Sorry.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-30-2006, 03:06 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 2,572
Last Blog:
wxWidgets is NOT code ...
Credits: 978
Rep Power: 29
WingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the rough
Default

I believe Java's .jar files are also compressed. All that needs to happen is for the interpreter to decompress the file into memory, and then interpret the code. Whether it actually happens that way in Python or not, I don't know, but it's how I'd probably do it.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
gzip compression Ronin PHP Forum 2 12-31-2006 12:23 PM


All times are GMT -5. The time now is 09:50 PM.

Contest Stats

Xav ........ 1455.48
MeTh0Dz|Reb0rn ........ 1089.45
WingedPanther ........ 977.76
marwex89 ........ 962.9
John ........ 914.37
morefood2001 ........ 911.18
Brandon W ........ 823.79
chili5 ........ 312.39
Steve.L ........ 276.28
dcs ........ 253.49

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 84%

Ads