Hi!
I have a php program (test.php) on a server. eg:
http://abc.xyz.com/test.php
I need my python scripts to make a http call to these program pass some
data and get back a secret key from the php program..
Could anyone help me this, what will i need to make a http call to the
php application?
>
> there's a page on the py2exe site about tweaks necessary for specific
> modules:
>
> http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules
>
> look for:
>
> If you're getting File "xml\sax\saxexts.pyc", line 77, in
> make_parser; xml.sax._exceptions.SAXReaderNotAv
I have a simple scrips that Parses a XML file and prints its element.
1)Main.py
2)Handler.py
3)test.xml
The scripts works fine from comand prompt.
Now i wanted to convert it to an exe. So i wrote a setup.py scripts as
folows:
#-Setup.py--
jimburton wrote:
> Kirt wrote:
> > Hi! I need some help in file I/O
> >
> > I have an xml file..
> [snip]
> See http://diveintopython.org/xml_processing/
i dont wanna parse the xml file..
Just open the file as:
f=open('test.xml','a')
jimburton wrote:
> Kirt wrote:
> > Hi! I need some help in file I/O
> >
> > I have an xml file..
> [snip]
> See http://diveintopython.org/xml_processing/
i dont wanna parse the xml file..
Just open the file as:
f=open('test.xml','a')
and write
Hi! I need some help in file I/O
I have an xml file..
xyz
I want to open these file in append mode and add the line
abd
Such that i have:
xyz
xyz
can anyone show me the way to achieve this??
thanx
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin wrote:
> "Kirt" <[EMAIL PROTECTED]> writes:
> > Actually here in my code ['1', 'a', '6'], ['1', 'b', '6'], ['1', 'c',
> > '6'] means:
> > 1==&g
Kirt wrote:
> Fredrik Lundh wrote:
> > Fredrik Lundh wrote:
> >
> > >> I have a code
> > >> ==CODE=
> > >> List=[['1', 'a', '6'], ['1', 'b', '6'], ['1
Fredrik Lundh wrote:
> Fredrik Lundh wrote:
>
> >> I have a code
> >> ==CODE=
> >> List=[['1', 'a', '6'], ['1', 'b', '6'], ['1', 'c', '6'],
> >> ['1', 'd', '6'],['2', 'a','6'], ['2', 'b', '6'],
> >> ['2', 'c', '6'], ['2', 'd', '6'], ['3', 'a', '6'],
> >>
Fredrik Lundh wrote:
> Fredrik Lundh wrote:
>
> >> I have a code
> >> ==CODE=
> >> List=[['1', 'a', '6'], ['1', 'b', '6'], ['1', 'c', '6'],
> >> ['1', 'd', '6'],['2', 'a','6'], ['2', 'b', '6'],
> >> ['2', 'c', '6'], ['2', 'd', '6'], ['3', 'a', '6'],
> >>
I am a newbie and stuck over this for a week
I have a code
==CODE=
List=[['1', 'a', '6'], ['1', 'b', '6'], ['1', 'c', '6'],
['1', 'd', '6'],['2', 'a','6'], ['2', 'b', '6'],
['2', 'c', '6'], ['2', 'd', '6'], ['3', 'a', '6'],
['3','b', '6'], ['4', '
By locked files i mean Outlook PST file while Outlook has it open
Simon Forman wrote:
> Kirt wrote:
> > i have a code that backsup file from src to dest.
> > Now if some of the files are locked , i need to skip those files..
> > I was trying to use fctl module but it can b
i have a code that backsup file from src to dest.
Now if some of the files are locked , i need to skip those files..
I was trying to use fctl module but it can be used only in unix i
suppose.
is there anyother way? i am using windows os.
--
http://mail.python.org/mailman/listinfo/python-list
i have a List
modifiedfiles= [['/home/moq/buc/2/mod2.py', '200607131001'],
['/home/moq/buc/1/mod2.py', '200607131000'],
['/home/moq/buc/1/mod3.py', '200607131001'],
['/home/moq/buc/1+mod1.py', '200607131001']]
i have to put them in am xml format like the follg.
/home/moq/buc/2
thanx stefan ur approach worked.
Stefan Behnel wrote:
> Kirt wrote:
> > How do i append characters to a string?
>
> I think the normal approach is to store an empty string (or list) in an
> attribute in startElement(), append to it in characters() and use the result
> in
e this
y+def.txt,200607130417
C:\Documents and Settings\Administrator\Desktop\1\hii
wx\abc.txt,200607130415
But i wont the output as
C:\Documents and Settings\Administrator\Desktop\1\bye
w&y\def.txt,200607130417
C:\Documents and Settings\Administrator\Desktop\1\hii
wx\abc.txt,200607130415
Stefan
i have walked a directory and have written the foll xml document.
one of the folder had "&" character so i replaced it by "&"
#--test1.xml
C:\Documents and Settings\Administrator\Desktop\1\bye
w&y
def.txt
200607130417
C:\Documents and Settings\Administrator\Deskt
Thanx Dennis Lee Bieber for ur suggestion.
After following ur suggestion i am getting 3 list after reading and
comparing the 2 xml document.
+,
adds ['/home/moq/buc/2+add.py,200606281354\r \n',
'/home/moq/buc/1+add.py,200607031215\r \n']
Modified ['/home/moq/buc/2+
i have two xml documemts of type
test
2006-12-12
12:12:12
/home/
test2
12:12:12
/home/test
test3
12:12:12
i have to compare 2 similar xml document and get the add, changed and
deleted files.and write it into acd.xml file.
can u help me with
19 matches
Mail list logo