473,472 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2503
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: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.