473,513 Members | 2,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help to start python

Hi All,

I'm new to python. I installed python 2.5 and IDLE 1.2.1 . I'm able
to run shell commands.

But I don't know how to execute a python program using this. When I'm
opeing a py program a seperate IDLE window opeing with program text.
But I don't know to to execute the prg.

Please help me on this .

thank you

regards
Sat

Sep 13 '07 #1
5 1278

python_lover wrote:
Hi All,

I'm new to python. I installed python 2.5 and IDLE 1.2.1 . I'm able
to run shell commands.

But I don't know how to execute a python program using this. When I'm
opeing a py program a seperate IDLE window opeing with program text.
But I don't know to to execute the prg.

Please help me on this .

thank you

regards
Sat
When in IDLE, you can go to the Run menu and choose Run Module (or
press F5) in the window that has the program code.

Hope that helps!

Mike

Sep 13 '07 #2
On Sep 13, 7:23 pm, kyoso...@gmail.com wrote:
python_lover wrote:
Hi All,
I'm new to python. I installed python 2.5 and IDLE 1.2.1 . I'm able
to run shell commands.
But I don't know how to execute a python program using this. When I'm
opeing a py program a seperate IDLE window opeing with program text.
But I don't know to to execute the prg.
Please help me on this .
thank you
regards
Sat

When in IDLE, you can go to the Run menu and choose Run Module (or
press F5) in the window that has the program code.

Hope that helps!

Mike- Hide quoted text -

- Show quoted text -
Thankx mike.

It is working well.

Please guide me some good sites to start web based programing on
python.

thank you.

sat

Sep 13 '07 #3
python_lover wrote:
Please guide me some good sites to start web based programing on
python.
Here's a good one:
<http://www.google.de/search?hl=de&q=python%20web%20programming&btnG=Goo gle-Suche&meta=>

Always remember: GIYF
If you don't know what that means:
<http://www.google.de/search?hl=de&q=GIYF&btnG=Google-Suche&meta=>

/W
Sep 13 '07 #4
On Sep 13, 9:39 am, python_lover <govisath...@gmail.comwrote:
On Sep 13, 7:23 pm, kyoso...@gmail.com wrote:
python_lover wrote:
Hi All,
I'm new to python. I installed python 2.5 and IDLE 1.2.1 . I'm able
to run shell commands.
But I don't know how to execute a python program using this. When I'm
opeing a py program a seperate IDLE window opeing with program text.
But I don't know to to execute the prg.
Please help me on this .
thank you
regards
Sat
When in IDLE, you can go to the Run menu and choose Run Module (or
press F5) in the window that has the program code.
Hope that helps!
Mike- Hide quoted text -
- Show quoted text -

Thankx mike.

It is working well.

Please guide me some good sites to start web based programing on
python.

thank you.

sat
Check out
http://wiki.python.org/moin/WebProgramming
http://www.boddie.org.uk/python/HTML.html
http://www.crummy.com/software/BeautifulSoup/

And the many Python web frameworks, like Django, TurboGears, Zope/
Plone, etc.

Mike
Sep 13 '07 #5
HI,

Please help how to execute a py file with xitami.

I installed xitami , downloaded lrwp file.

accessing the first web application program

import urllib
# Get a file-like object for the Python Web site's home page.
f = urllib.urlopen("http://www.python.org")
# Read from the object, storing the page's contents in 's'.
s = f.read()
f.close()

through browser like "http://localhost/first.py

it is dispaying the source code of the first.py.

Please help me how to execute the file.

thank you.
Sep 17 '07 #6

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

Similar topics

10
2243
by: Jacek Generowicz | last post by:
Where can I find concise, clear documentation describing what one has to do in order to enable Python's internal help to be able to provide descriptions of Python keywords ? I am in a situation...
4
2339
by: eight02645999 | last post by:
hi i need help with converting a piece of perl code to python ...... my $start = '\'; my $file = '\'; my $end = '\'; ..... while(<FILE>) #open a file {
3
2596
by: zxo102 | last post by:
Hi there, I have a python application (many python scripts) and I start the application like this python myServer.py start in window. It is running in dos window. Now I would like to put it...
1
3694
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
1
4318
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
0
7267
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
7175
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
7553
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
7120
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
5697
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
3247
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
1609
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 ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
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.