Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,374 Programmers. There are 1,422 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

How to compile the python

 
Reply to this topicStart new topic

How to compile the python

jorrigal
post 1 Feb, 2007 - 11:27 PM
Post #1


New D.I.C Head

Group Icon
Joined: 18 Jul, 2006
Posts: 21



i want to learn python i downloaded and installed the setup.
I want the help from you guys , How to compile a programs?.

I want a example with one input and one output, if anybody give the links for the tutorial that will be helpful for me.


User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Amadeus
post 2 Feb, 2007 - 09:21 PM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,385

Generally speaking, python is not a compiled language, it is an interpreted one.

Are you looking to understand how to write and run a python program? If so, everything you need is here:

http://wiki.python.org/moin/BeginnersGuide/Programmers

http://docs.python.org/tut/

Or are you specifically referring to the more specialized act of having your python applications compiled into some sort of .exe, as opposed to their native .py files?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

NeoGreen
post 10 Mar, 2007 - 06:29 PM
Post #3


D.I.C Head

**
Joined: 28 Apr, 2006
Posts: 202

Outstanding link, I was looking into learning Python but did no where to start. thanks. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

jxftw
post 25 Apr, 2008 - 09:05 AM
Post #4


New D.I.C Head

*
Joined: 22 Mar, 2008
Posts: 10

Python doesn't really have an Assembler, so you can't really say it's "compiled".
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

MitkOK
post 26 Apr, 2008 - 12:18 AM
Post #5


D.I.C Head

Group Icon
Joined: 9 Aug, 2007
Posts: 102

Python source code is "compiled" to python byte code and it is usually stored in PYC file wink2.gif
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 02:47AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month