About some problem

2014-01-02 Thread raj kumar
Hello, I am beginner to python and i am writing following code

from pytesser import *

and i am getting an error as follow

Traceback (most recent call last):
  File "", line 1, in 
  File "C:\Python33\lib\site-packages\pytesser.py", line 61
print text
 ^
SyntaxError: invalid syntax


How to resolve it ? Give me all steps to resolve it.
-- 
https://mail.python.org/mailman/listinfo/python-list


How to know the starting point

2007-09-19 Thread Raj kumar
Hi,
I need help regarding the starting point in python project,
As we can find main() function in java class to know the starting class in java,
what is the starting point in python project?
How to find the starting point.
Thank you
   
-
 Get the freedom to save as many mails as you wish. Click here to know how.-- 
http://mail.python.org/mailman/listinfo/python-list

Microdom xml file

2007-10-03 Thread Raj kumar
Hi every one,
Can any one send me the sample code/links for
creating a XML file and adding a tag by using microdom in twisted python.
Thank you in advanced.

   
-
 Now you can chat without downloading messenger. Click here to know how.-- 
http://mail.python.org/mailman/listinfo/python-list

Regarding Python.h

2008-02-15 Thread Raj kumar
Hi to all,
I'm new to Python.
I am using python2.4.
I have one application written in c language in which it includes python like

#include "Python.h"

But when i try to install it, i'm getting an error like
Python.h: No such file or directory
I feel gcc is unable to get the path for Python.h
What should i do to get rid of this problem. If i have to add any path pls give 
me details of how to do that.
Thanks in advance.




  Chat on a cool, new interface. No download required. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php-- 
http://mail.python.org/mailman/listinfo/python-list

check a directory

2008-02-25 Thread Raj kumar
Hi all,
I'm using following code...

for x in listdir(path)
some code.

but how i can check whether x is a directory or not?
Because listdir() is giving all the files present in that path

Thanks in advance.




  Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php/ -- 
http://mail.python.org/mailman/listinfo/python-list

library

2008-02-26 Thread Raj kumar
hi,
how to open python api documetation in linux machine?
i think there should be a way to open installed library as a  HTML pages.

Thanks in advance.





  Did you know? You can CHAT without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php/ -- 
http://mail.python.org/mailman/listinfo/python-list

regarding xml elements

2008-03-29 Thread Raj kumar
Hi,
I have an xml file in my application,
I have created an element using 
Example goes like this.

document.createElement("abc")
and i appeneded it by using append() method.
But how i can reflect this change to my xml file?
 and one more thing is i want to create element with some other parameters
like.

  

and i have m and n values as strings with me.
can anybody help me to create this element and write it to the existing xml 
file 
as a child of an existing element?

Thanks in advance..

Raj..




  Forgot the famous last words? Access your message archive online at 
http://in.messenger.yahoo.com/webmessengerpromo.php-- 
http://mail.python.org/mailman/listinfo/python-list