473,486 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

New line

Hi all

This is probably going to sound very dull but, how do you get to the next
line after youve finished typing the first line?

Thanks in advance

--

"It's all in fun or life isn't worth it!"

Jul 19 '05 #1
9 1488
In the absence of any context to this question: Hit the button that says
"Enter".

James

On Thursday 21 April 2005 01:15 pm, ionic wrote:
Hi all

This is probably going to sound very dull but, how do you get to the next
line after youve finished typing the first line?

Thanks in advance

--

"It's all in fun or life isn't worth it!"


--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
Jul 19 '05 #2
"ionic" wrote:
This is probably going to sound very dull but, how do you get to the next
line after youve finished typing the first line?

Thanks in advance


if you don't know how to get a new line, how did you write that message? </F>

Jul 19 '05 #3

Ok sorry guys,

using the python gui, if i hit the 'enter' key python just executes what
ever ive typed. It doesnt take me to the next line.

How do i type several lines without executing after each line?

Cheers
--

"It's all in fun or life isn't worth it!"
"James Stroud" <js*****@mbi.ucla.edu> wrote in message
news:ma**************************************@pyth on.org...
In the absence of any context to this question: Hit the button that says
"Enter".

James

On Thursday 21 April 2005 01:15 pm, ionic wrote:
Hi all

This is probably going to sound very dull but, how do you get to the next line after youve finished typing the first line?

Thanks in advance

--

"It's all in fun or life isn't worth it!"


--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/

Jul 19 '05 #4
okay, you type your code in idle, and run your code by hitting the F5
key?

Jul 19 '05 #5
ionic said unto the world upon 2005-04-21 16:34:
Ok sorry guys,

using the python gui, if i hit the 'enter' key python just executes what
ever ive typed. It doesnt take me to the next line.

How do i type several lines without executing after each line?

Cheers

A bit more precision in your question would help. I'm going to assume
that by "Python GUI" you mean IDLE.

You are likely trying to work in the interactive prompt. Very useful,
but not for writing programs to save. For that, File->New and you will
be in an IDLE window that lets you edit, run, and save files. (Be sure
to save them with the .py extension, as IDLE doesn't automatically do so.)

Best,

brian vdB
Jul 19 '05 #6
Got it now thanks all

--

"It's all in fun or life isn't worth it!"
"wi******@hotmail.com" <ma**********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
okay, you type your code in idle, and run your code by hitting the F5
key?

Jul 19 '05 #7
ionic wrote:
Ok sorry guys,

using the python gui, if i hit the 'enter' key python just executes what
ever ive typed. It doesnt take me to the next line.


try shift + enter

/Esben
Jul 19 '05 #8
Dan
On Thu, 21 Apr 2005 21:34:03 +0100, "ionic" <ju***@dfgt.com> wrote:

Open a text editor and write your code. Save the file with a .py
extension, i.e., myprogram.py. From the command line type 'python
myfile.py'

Dan

Ok sorry guys,

using the python gui, if i hit the 'enter' key python just executes what
ever ive typed. It doesnt take me to the next line.

How do i type several lines without executing after each line?

Cheers


Jul 19 '05 #9
On Thu, 21 Apr 2005 22:07:45 +0100, "ionic" <ju***@dfgt.com> declaimed
the following in comp.lang.python:
Got it now thanks all
Or in almost any other editor...

If the window you were typing in was showing a prompt ">>>", you
were in the interactive window.

To create a multi-line script, you need to pick whatever the
toolset uses for "new file" (I don't know idle -- I use PythonWin), then
save the file...

-- ================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Jul 19 '05 #10

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

Similar topics

8
3192
by: Peter A. Schott | last post by:
Per subject - I realize I can copy/paste a line at a time into an interactive session when I'm trying to debug, but was wondering if there is any tool out there that allows me to copy sections of...
65
12501
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
22
4480
by: DraguVaso | last post by:
Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't...
3
3018
by: Double Echo | last post by:
Hi all, I'm using PHP 4.4.2, and use PHP on both the command-line and the web. I am running PHP on SuSE 10 Linux , in a VMware 5.5 workstation, using Apache 2.0.55 , on my Dell laptop. ...
9
5187
by: Adi | last post by:
Hello eveyone, I wanna ask a very simple question here (as it was quite disturbing me for a long time.) My problem is to read a file line by line. I've tried following implementations but still...
6
5761
by: magix | last post by:
Hi, when I read entries in file i.e text file, how can I determine the first line and the last line ? I know the first line of entry can be filtered using counter, but how about the last line...
6
2664
by: Jacob Rael | last post by:
Hello, I have a simple script to parse a text file (a visual basic program) and convert key parts to tcl. Since I am only working on specific sections and I need it quick, I decided not to...
14
2700
by: WStoreyII | last post by:
the following code is supposed to read a whole line upto a new line char from a file. however it does not work. it is producing weird results. please help. I had error checking in there for...
11
2775
by: xdevel | last post by:
Hi, I don't understand option. if I write: #line 100 "file" I change file numeration to start to line 100 but what "file" ? any example?
19
2432
by: =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post by:
This is an example of the data; 2007/07/27 11:00:03 ARES_INDICATION 010.050.016.002 404.2.01 (6511) RX 74 bytes 2007/07/27 11:00:03 65 11 26 02 BC 6C AA 20 76 93 51 53 50 76 13 48...
0
6964
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
7126
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,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
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
7330
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...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1378
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 ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.