LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2003, 04:31 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Programming in Python?


Hi. I'm interested to learn Python, but I would like to know what kind of projects I can do?, I know that Python has a very simple and consistent syntax and a large standard library, but how can I package and compile Python code ? what can I do to run download Python code?, it is possible to make Windows or Forms, Buttons, etc.?
 
Old 09-25-2003, 04:55 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
What projects can you do? Pretty much anything you want. I started earlier this year, and have a few small programs under my belt. Nothing great, but fun.

Python programs are usually just plain text. They're compiled into a binary form as they're run. It creates a .PYC from your .PY or .PYW. The latter two are plain text, and any of them can be distributed.

To run a Python program, you can run it "python program_name.py" or chmod the program to add execution and just run "./program_name.py". If you are in a file manager, you can set it up so you just double-click it. You can either download a program off the internet, or cut-and-paste into any text editor.

GUI windows can easily be made. Python comes with Tkinter toolkit, but you can get others like wxPython. I've made a few forms for work to analyze some of my data.

www.python.org
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help in python programming... dirty_bastard Programming 1 08-14-2005 02:00 PM
Programming maths in Python DiagonalArg Programming 4 08-05-2005 10:33 AM
Best python tutorial for programming games. r3dhatter Programming 9 05-17-2004 04:43 AM
books on python programming wirednb Programming 3 09-05-2003 02:20 PM
Programming with python Relfx Linux - Newbie 1 08-22-2001 08:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration