Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 20th, 2007, 05:38 PM
Authorized User
 
Join Date: Apr 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Begining programming with linux

Hi Every body I downloaded ubunto I just wanted to start writing python scripts on it but I don't no how I was just wondering if any of you guys or girls can help me , I know how to open the python shell in the terminal by just typing python but I want to write much larger scripts, can anybody point me in the right direction?

 
Old August 21st, 2007, 01:45 PM
Registered User
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

Try to write your scripts in *.py files and exec it with "python script.py".
Or try to add "#!/usr/bin/python" at the beginning of your *.py file, make this file executable (by "chmod +x script.py") and run it as usual binary.

Good luck!

P.S. Mark Shuttleworth means ubuntu :)

---
Sorry my terrible english...
 
Old September 23rd, 2007, 02:58 AM
Registered User
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For Ubuntu I would recommend downloading the Eric Python IDE from the applications/add remove programs. There you can also add Idle






Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux programming 3rd edition msalihu BOOK Beginning Linux Programming, 3rd Edition 1 November 20th, 2005 12:05 PM
programming on linux with c# yasaman Linux 3 July 14th, 2005 09:10 AM
Professional Linux Programming sonicfei Forum and Wrox.com Feedback 1 May 28th, 2004 08:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.