473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

python

i need help.
im just learning to program and
every time i try to do a command more than
a line long it wont work

__________________________________________________ _______________
Get less junk mail with ninemsn Premium. Click here
http://ninemsn.com.au/premium/landing.asp
Jul 18 '05 #1
3 2496
On Thu, 22 Jan 2004 14:17:20 +1030, Jess Martin wrote:
i need help.
<http://www.catb.org/~esr/faqs/smart-questions.html>
im just learning to program
Congratulations; hopefully you'll have a lot of fun. Python is a great
language to be your first.
every time i try to do a command more than a line long it wont work


As you'll read in the above URL on "How To Ask Questions The Smart Way",
you'll need to tell us a litle more about what's going on for someone to
be able to help you. Please read the document for more guidelines.

--
\ "If you go parachuting, and your parachute doesn't open, and |
`\ you friends are all watching you fall, I think a funny gag |
_o__) would be to pretend you were swimming." -- Jack Handey |
Ben Finney <http://bignose.squidly.org/>
Jul 18 '05 #2
Jess Martin:
every time i try to do a command more than a line long it wont work


You must be doing something wrong then :-)

Check the documentation:
http://www.python.org/doc/current/re...structure.html

--
René Pijlman
Jul 18 '05 #3

"Jess Martin" <tr*************@hotmail.com> wrote in message
news:ma**************************************@pyth on.org...
i need help.
im just learning to program and
every time i try to do a command more than
a line long it wont work


Assuming you're using windows:

Take your lines of code and put them into their own file with a .py
extention (ie MyProgram.py).

Then go to the command line and into the directory where MyProgram.py
resides and type "python MyProgram.py". This will run your program
containing as many lines of code as you like.
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.