473,799 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
1
4,029
thread by: Sean Davis | last post Oct 12 '07 by: Tim Churches
I would like to parse some OWL files, but I haven't dealt with OWL in python or any other language for that matter. Some quick google searches do not turn up much in the way of possibilities for doing so in python. Any suggestions of available code or using existing libraries for doing so? Thanks, Sean
0
287
thread by: TidyTrax | last post Oct 12 '07 by: TidyTrax
www.forumgratiz.com.br www.forumgratiz.com.br www.forumgratiz.com.br Download de : Filmes Games XXX Programas Isso e muito ++ totalmente gratis
0
1,831
thread by: TidyTrax | last post Oct 12 '07 by: TidyTrax
www.forumgratiz.com.br www.forumgratiz.com.br www.forumgratiz.com.br Download de : Filmes Games XXX Programas Isso e muito ++ totalmente gratis
1
1,593
thread by: JSagar | last post Oct 12 '07 by: Motoma
Hello Expert ! I am new to python , i had done 'C' Code , which extracted file data , But i don't want to give my exe On remote side. Following thing is it Possible using python? - using python i can run my exe OR write Whole code in python which run at client side But extracting data from Server side . - If not, is their any...
1
1,202
thread by: timaranz | last post Oct 12 '07 by: George Sakkis
Hi, I have a container class A and I want to add functionality to it by using a decorator class B, as follows: class A(object): def __len__(self): return 5 class B(object):
1
27,870
thread by: smarras | last post Oct 12 '07 by: Peter Otten
Hello everyone, I keep obtaining an error message whenever I execute some very simple routines; the error that follows says that I am calling certain functions that, in reality, I am not calling from any of the routines that I wrote: error: 0, 0, 0, 0 , 0, 1, 2, 3 , 0, 2, 4, 6 Traceback (most recent call last):
0
254
thread by: smarras | last post Oct 12 '07 by: smarras
Hello everyone, I keep obtaining an error message whenever I execute some very simple routines; the error that follows says that I am calling certain functions that, in reality, I am not calling from any of the routines that I wrote: error: 0, 0, 0, 0 , 0, 1, 2, 3 , 0, 2, 4, 6 Traceback (most recent call last):
1
2,173
thread by: ashish | last post Oct 12 '07 by: Roger Upole
Hi All, I wanted to know how to handle events like 'logoff' in the main thread so that any process which is being run by svcDoRun method of service does not get 'interrupted function call' exception. I am posting a very simple service program , and i want to know that is there a way to handle such interrupts without explicitly calling try...
4
6,648
thread by: KDawg44 | last post Oct 12 '07 by: Tim Golden
Hi, I am frustrated with my users who send large files around the office instead of using the network shares. For instance, this is one of many emails I have sent around: "If you take the this kit it looks like J sent it to D, D sent it to you, then you sent it to me. The problem with that is just that now there are copies of this...
2
9,678
thread by: T00l | last post Oct 12 '07 by: dninja
I'm a newbie to python and for my first project i'm trying to create a packet filter. Having looked around i think pcapy will be the best way, there is a sniffer script available that incorporates a filter function here .. http://oss.coresecurity.com/impacket/sniff.py I want to filter all SYN packets into a dump file, can anyone tell me how I...
4
11,845
GTXY20
thread by: GTXY20 | last post Oct 12 '07 by: bartonc
Hi there, I have been pulling my hair out with the following error - here is the code: os.chdir("..\data") uhdatafile = open("%s.txt" % self.datafile, 'r') which gives me the following error:
5
8,201
thread by: RyanL | last post Oct 12 '07 by: Marc 'BlackJack' Rintsch
I'm a newbie with a large number of data files in multiple directories. I want to uncompress, read, and copy the contents of each file into one master data file. The code below seems to be doing this perfectly. The problem is each of the data files has a header row in the first line, which I do not want in the master file. How can I skip...
0
1,052
thread by: est | last post Oct 12 '07 by: est
I am writing a GTalkBot which provides a webservice http://xxx.com/services/sendmessage.html If someone POST some text to http://xxx.com/services/sendmessage.html it will transfer the text to some friends on GTalk. I tried using django's __init__.py function to build this service but it seemed too stupid, here is the discuss thread:...
0
750
thread by: luca72 | last post Oct 12 '07 by: luca72
Hello i use under linux cx-freeze My python program import a small module were i set the encoding to iso 8859-1. When i make the executable with cxfreeze and i run it i get this error: Traceback (most recent call last): File "/home/luca72/Desktop/Luca/python/cx_Freeze-3.0.3/initscripts/ Console.py", line 27, in <module> exec code in...
12
1,208
thread by: python101 | last post Oct 12 '07 by: bartonc
#assume that I have a string stringA = 'ASD DSA DASFSADSA FSAFSADSAF AS' # I would like to make it stringA = '1$ASD DSA D2$ASFSADSA FSASADSAF 3$AS' #whatever there is 'AS' it should become 'i$AS', where i is its occurrence in the string #how can I do that?
3
6,500
thread by: python101 | last post Oct 12 '07 by: bartonc
I would like to plot something like Sin(x), Cos(x), etc using python, I wonder if python has built-in graphic class for plot.
1
2,152
thread by: stelegraph | last post Oct 12 '07 by: stelegraph
my script looks like this: def getXML(self, param): feed = urllib.urlopen (param) ergebnis = feed.read () zusammen = '<?xml version="1.0" encoding="iso-8859-1" ?>\n'+ergebnis return zusammen ok here i put something in the content but still IE handels ist like text. so i want to but something in the header so he renders it...
5
1,424
Motoma
thread by: Motoma | last post Oct 12 '07 by: bartonc
Check it: >>> sum() 0.75426795426795445 If you need some help understanding this, let me know.
4
2,181
thread by: stef mientki | last post Oct 12 '07 by: Scott David Daniels
hello, my program has become a bit large, and now I want to split the files over several subdirectories. So in the example shown below, I just moved the files f1.py and f2.py to a deeper subdirectory. basedirectory\ mainfile.py file1.py
5
1,272
thread by: John Nagle | last post Oct 12 '07 by: John Nagle
I just "upgraded" from M2Crypto 0.17 to M2Crypto 0.18, and I'm running my regression tests. I'm seeing occasional cases where M2Crypto raises the exception SSL.SSLError, and the associated error is "(0, 'Error')", which is the bogus error you get if you feed 0 to "perror". It failed once on "verisign.com"'s cert, then worked on the next...
0
1,038
thread by: Eric_Dexter | last post Oct 12 '07 by: Eric_Dexter
I have found a couple of ways to include python in my pascal program http://arctrix.com/nas/python/standalone.html and an example I compiled from the embeded examples and I was wanting to know if there are more examples or comiled versions I can execute from my program... I am getting an error from the embeded and the standalone would...
0
257
thread by: jsnx | last post Oct 12 '07 by: jsnx
I'd like a program, call it 'pipe-fitter', that connects and interactive app to three named pipes. The program will filter out EOF from the input pipe, to keep the interactive program alive for multiple commands. When the interactive app dies, by receiving 'exit', say, then we are done with it -- pipe- fitter bails out.
4
2,854
thread by: commander_coder | last post Oct 12 '07 by: commander_coder
Hello, I write a lot of CGI scripts, in Python of course. Now I need to convert some to long-running processes. I'm having trouble finding resources about the best practices to do that. I've found a lot of email discussions that say something like, "You need to educate yourself about the differences when you have long- running...
3
1,180
thread by: marc | last post Oct 11 '07 by: marc
Hi why I can call an .py GUI (wxpython) from a program and control it? I'm newbie in python.
0
925
thread by: Ladislav Andel | last post Oct 11 '07 by: Ladislav Andel
Hello, I have an application which is running in a loop(client/server app using twisted and reactor) and where are kept list of instances in memory. Each instance has it's own loop and it periodically sends requests to given network endpoints. I would like to use a tool(module) which accesses this list of instances and the access would be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.