Hi
Thanks for your reply's
and sorry guys for not explaining properly
ok the problem with the code, which i never realised before, is it sends the
first txt file as the header or subject field in an email and the rest in
the body of the email which i don't want. I would like all the txt files in
I have the DOS box with the message
Localhost CGI server started
But when i try this
Back in the www directory,
1.. Open the web link http://localhost:8080/adder.html (preferably in a new
window, separate from this this tutorial).
2.. You should see an adder form in your browser
#I adjusted the 2nd main function so i test what im trying to do can someone
point me in the right direction please
Exercise 2.3.3.1. ** Rename the example file locationsStub.py to be
locations.py, and complete the function printLocations, to print the index of
each location in the string
'''Test animation of a group of objects making a face.
Combine the face elements in a function, and use it twice.
Have an extra level of repetition in the animation.
'''
from graphics import *
import time
def moveAll(shapeList, dx, dy):
''' Move all shapes in shapeList by (dx, dy).'''
''' program.
1.What type of data will the input be? What type of data will the output be?
2.Get the phrase from the user.
3.Convert to upper case.
4.Divide the phrase into words.
5.Initialize a new empty list, letters.
6.Get the first letter of each word.
7.Append the first letter to the
'''exercise to complete and test this function'''
import string
def joinStrings(items):
'''Join all the strings in stringList into one string,
and return the result. For example:
print joinStrings(['very', 'hot', 'day'])
'veryhotday'
'''
word = [items]
for item in
'''exercise to complete and test this function'''
import string
def joinStrings(items):
'''Join all the strings in stringList into one string,
and return the result. For example:
print joinStrings(['very', 'hot', 'day'])
'veryhotday'
'''
for i in items:
return
I'm stuck on a tutorial Hands on Python3
Exercise 1.13.7.3. ** Complete the following function. This starting code is in
joinAllStub.py. Save it to the new name joinAll.py. Note the way an example is
given in the documentation string. It simulates the use of the function in the
Shell. This is
Can someone recommend a good tutorial for Python 3, ideally that has tasks or
assignments at the end of each chapter.
Please,
--
http://mail.python.org/mailman/listinfo/python-list