I am trying to run a program from python command line. I installed python on D: drive. PLZZ help me in fixing this problem.
syeda amna
0
Light Poster
Recommended Answers
Jump to PostHi,
May be, os.system() is useful to you:
Click Here
Forgive me if I am wrong.
Jump to PostSee the light with python guru Mark Hammond.
Jump to PostI believe that what you are looking for is the
import
statement. If you have a Python file, say test.py, and wish to run the program in that source file while in the interpreter prompt, you can enterimport test
and, provided that the file …
All 10 Replies
untio
36
Light Poster
syeda amna
0
Light Poster
Gribouillis
1,391
Programming Explorer
Team Colleague
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
syeda amna
0
Light Poster
TrustyTony
888
pyMod
Team Colleague
Featured Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
syeda amna
commented:
Thank u.
+1
Gribouillis
1,391
Programming Explorer
Team Colleague
syeda amna
0
Light Poster
syeda amna
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.