LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-21-2004, 05:00 AM   #1
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
python/email


hello i have a programme called "whats your name"
i want to send this programme in an email can some one please tell me how?
when i open my email click add attachments no problems when you open it it displays the whole programme when i want to run it, here is my example.
s = raw_input ("hello whats your name? ")
print "Thats a nice name ",s,
s = raw_input ("what do you do for a living? ")
print "Ahh thats easy you dont do much then",s,"my boss is a Truck driver."
print "He works harder than anyone else i know."
s = raw_input ("do you live in birmingham?")
print " Its not a bad place to live."
raw_input ("how long have you lived there for?")
print "This programme was written in the python programming language my boss is becoming a very clever man dont you think?."

so i want to send this programme to some one else and in want them to be able to run the programme line by line i dont want them to see the whole programme as you can see it now i hope this makes sense.
 
Old 11-28-2004, 05:31 AM   #2
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
the answer was easy you send it as an attachment open a terminal type "python fileame"
thats python space filename
thanks nige

Last edited by master; 11-28-2004 at 01:33 PM.
 
  


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
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 12:11 PM
python email module extracting headers artur Programming 3 02-06-2004 01:59 PM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM

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

All times are GMT -5. The time now is 01:46 PM.

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