Forum: Python Oct 23rd, 2006 |
| Replies: 1 Views: 1,765 Hi
When i place this in my script
import time.sleep (2)
i would like my script to wait for 2 seconds then continue.
But when i run it the left bracket is highlighted in red then when... |
Forum: Python Oct 23rd, 2006 |
| Replies: 2 Views: 13,067 Hi
Im looking for a time delay code so my script runs to certain line waits for the time specified then continues.Ive found some but they seem to long and complicated. any ideas or links, books... |
Forum: Python Oct 22nd, 2006 |
| Replies: 1 Views: 1,242 Hi
Ive got this word count script when i check it there is no probs but when i run it it says
Traceback (most recent call last):
File "H:\Scripts\count.py", line 9, in <module>
infile... |
Forum: Python Oct 22nd, 2006 |
| Replies: 2 Views: 1,576 HI
When you download python its easy just select what OS you have.
Python comes with an editor (well my one did Ver 2.5)
and you can use notepad to write you scripts just end the name in .py
EG... |
Forum: Python Oct 21st, 2006 |
| Replies: 1 Views: 1,093 Hi
i Made a shell script like this
name = raw_input ("Please enter your name: ")
if name == Harry:
print "Welcome"
else:
print "you smell" |
Forum: Python Oct 21st, 2006 |
| Replies: 3 Views: 2,585 Hi
The info "joeprogrammer's" gave me to place the python directory at the end of my path but im confused.
My path at the moment looks like this
... |
Forum: Python Oct 20th, 2006 |
| Replies: 2 Views: 1,822 Hi Im interested in downloading pythhon and i was looking through the first steps to making a python script. This was in the tutorial
"
Setting the path
You will need to cause the directory... |