python, while generating playlist was adding some kind of unsupported char near "http".
I had to change in my xml provider
Code:
print "<media>" print sqllite_media print "</media>"
Code:
print "<media>"+sqllite_media+"</media>"
...
print "<media>" print sqllite_media print "</media>"
print "<media>"+sqllite_media+"</media>"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"
echo $user." Wrote:".chr(10).$comment.chr(10).chr(10);
function ste (element) { // scroll to end the chat if (typeof element.scrollTop != 'undefined' && typeof element.scrollHeight
def createhtmlmail (from, to, html, text, subject): out = cStringIO.StringIO() # output buffer for our message htmlin = cStringIO.StringIO(html) txtin = cStringIO.StringIO(text) writer = MimeWriter.MimeWriter(out) # # set up some basic headers... we put subject here # because smtplib.sendmail
sp=self.listBox1.GetStringSelection().split("-") new="%s-%s-%s-%s-%s" % (sp[0],sp[3],sp[2],sp[1],sp[4]) var="%s%s.fty" % (percorsob,mnew) print "THIS IS VAR: ", var f=open(var).read()
THIS
open("\\NOTEBOOK\\SharedDocs\\Musica\\Musica campione\\a.wma","r").read() Traceback (most recent call last): File "<pyshell#3>",
tofind="some" f=open ("your_db.db","r) f=f.read().split('\n') #change \n with your divisor... found=False for i in f: if i==tofind: found=i break if not found: ##no entry has been found, write your code here else: ##found an entry, write your code here
c:\>cd pyinstaller-1.3 c:\pyinstaller-1.3>Makespec -w --noconsole ..\\fatture\\fatture.py [...]project compiled...now run Build to build (more or less) c:\pyinstaller-1.3>Build
Leave a comment: