473,385 Members | 1,615 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,385 software developers and data experts.

how to run python file from the python IDLE editor

Greetins all
1. I can easily run python file from a comand prompt just typing
"python filname.py".
How can I do this from the python IDLE shell
2. How to create EXE in python.
thanks all for making me to be more copnfortable with python
Seid M

--
"RABI ZIDNI ILMA"
Oct 31 '08 #1
1 5487
r
On Oct 31, 1:33*am, "Seid Mohammed" <seidy...@gmail.comwrote:
Greetins all
1. I can easily run python file from a comand prompt just typing
"python filname.py".
How can I do this from the python IDLE shell
2. How to create EXE in python.
thanks all for making me to be more copnfortable with python
Seid M

--
"RABI ZIDNI ILMA"
normally you open the file in IDLE and "RUN" it. not call it like from
CMD
-or-
use execfile() funtion:
>>execfile(filename, globals, locals)

Oct 31 '08 #2

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

Similar topics

1
by: Vin Jovanovic | last post by:
Trying to start Python IDLE through Start>Programs>Python 2.3> IDLE doesn't work From DOS ... I get this .... C:\>python C:\Python23\Lib\idlelib\idle.py Traceback (most recent call last):...
7
by: kartik | last post by:
2 enable non-backward compatible changes to be made to the language or the standard library (or other libraries, for that matter), i feel there should be a way to version python files. the current...
2
by: Kevin | last post by:
i have a python file called pyq which outputs stock quotes, currently i also have a html file that takes stock ticker inputs, i would like to bridge the two by building another program that takes...
10
by: mistral | last post by:
I have installed ActivePython http://www.activestate.com/Products/ActivePython/ How I can run Python file, test.py?
4
by: Michael Malinowski | last post by:
Is there a way to read the directory that the currently running python file is located in? Cheers Mike.
2
by: yinglcs | last post by:
How to modify the source of a python file inside a python egg file? I can see the file by unzipping it, but how can I package it back as a python egg file after my modification. Thank you.
2
by: Llessur16 | last post by:
I recently installed Python 2.5 for windows XP. It seemed to be working great. I was writing a simple program, and had tested it a couple times. When I was nearly done I tried to run it, and a box...
3
by: yinglcs | last post by:
Hi, i have 2 python files in *different directory* , how can I import python functions from 1 python file to another? i get this error: import task ImportError: No module named task/ Thank...
4
by: Shalini Bhalla | last post by:
I wan to include external file in fck editor , pls tell me how can i do so .....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.