hello
here is my code for sending the mail, using this code email is going
'CODE
''
import smtplib
from time import strftime
from email.mime.multipart
On Fri, Feb 6, 2009 at 5:43 AM, Emad Nawfal (عماد نوفل)
wrote:
> Hi Tutors,
> I'm a little, actually a lot confused by the behavior of the enumerate
> function here. I have a text and I want to get each word within the context
> of the three preceding and the three following words. I tried this:
Hi,
I am working one tool, which will do compile/run the workspace (that code
is written on c/c++). on that my requirment is i need to compile subfolder
also, i have wrote code for that also.
My problem is , i am unable to write the Unit test case for that. Since
my method (called run_subfolder)
Hi
I need to write the unit test cases for similary kind of sitution.
I need to write the unit test case for Foo.testCall. for both case true or
false. I am unalbe to do that.
kindly please help me on this. as function is not returning any thing. from
google i got mox is good for this case. but
Hi
I just want to create a new xm file from existing xml file. so basically i
want to put contry details in countryName.xml from these file.
I thought to do via read a line by line with normal file handling. but
there a problem with that. So i want to handle python XML . Could you
please suggest
@All thanks,
I cant use etree/SAX because there we cant get complete line , of course we
can get it by tag name but we are not sure about tag also. Only we know
what ever child of we need to put in new file with country name.
Note: File size is around 800MB, for other requirement(Like converti
no only XML (Complex)
On Thu, May 8, 2014 at 1:51 AM, Danny Yoo wrote:
> On Wed, May 7, 2014 at 6:13 AM, jitendra gupta
> wrote:
>
> > I just want to create a new xm file from existing xml file. so basically
> i
> > want to put contry details in countryName.xml from
Hi
This will solve your purpose:
Yes we can write in better way also :
--
#The Dice Game
#add libraries needed
import random
#the main function
def main():
print
#initialize variables
playerOne = 'No Name'
playerTwo = 'No Name'
endProgram ="no"
Hi All
My shell script is not throwing any error when I am having some error in
Python code.
test.py ~~
def main():
print "Test"
#some case error need to be thrown
raise Exception("Here is error")
if __name__ == "__main__"
main()
~~
second.py ~~
def
@All Thanks a lot,
Yes "set -e" It work fine. This is what I am looking for but I got some
extra things to learn :) .
Thanks you again
Thanks
Jitendra
On Thu, Jul 24, 2014 at 6:10 PM, Wolfgang Maier <
wolfgang.ma...@biologie.uni-freiburg.de> wrote:
> On 24.07.2014 14:37, Chris “Kwpolska” Warr
10 matches
Mail list logo