Convert text file data into RDF format through the Python

2017-04-29 Thread marsh
Hi, I would like to ask how can I convert text file data into RDF fromat. data look like this: # sent_id = weblog-juancole.com_juancole_20051126063000_ENG_20051126_063000-0001 # text = Al-Zaman : American forces killed Shaikh Abdullah al-Ani, the preacher at the mosque in the town of Qaim,

[issue28579] nan != nan

2016-11-01 Thread Liam Marsh
New submission from Liam Marsh: I found a really weird comportment with NANs: >>> from math import nan, isnan, inf >>> nan==nan False >>> nan!=nan True >>> a=nan # maybe get another instance would fix it (or so I thought) >>> a==nan False &

[issue23884] New DateType for argparse (like FileType but for dates)

2015-04-08 Thread Peter Marsh
Peter Marsh added the comment: The consensus seems to be that this is simple enough for people to implement themselves (if they need it) and it's probably not worth adding to argparse, so I've closed this :) -- resolution: - rejected status: open - closed

[issue23884] New DateType for argparse (like FileType but for dates)

2015-04-07 Thread Peter Marsh
New submission from Peter Marsh: Hello, Reasonably frequently I find myself needing to pass a date as a command line argument to a Python script I've written. Currently, argparse does not have a built support for dates - this adds a new class to argparse (much like the existing FileType

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-25 Thread Liam Marsh
Liam Marsh added the comment: thank you for all this hard work. really. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546 ___ ___ Python-bugs

[issue23546] Windows, 'Edit withIDLE', and multiple installed versions

2015-03-22 Thread Liam Marsh
Liam Marsh added the comment: er... is the fact that py -m module ignore module's shebang deliberate? (using the 3.4.2 version of py.exe) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-15 Thread Liam Marsh
Liam Marsh added the comment: Why run a batch file instead of directly running the .pyw script via pythonw.exe? A batch file is executed by cmd.exe, which is a console application. the strange thing is that it exists -- ___ Python tracker rep

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-15 Thread Liam Marsh
Liam Marsh added the comment: to do that we need to start shipping an EXE launcher, probably with a unique name (e.g. idle35-32.exe). nope, the windows packages already include an idle.bat launcher next to the idle.py and idle.pyw files. However, this launcher is (strangely enough) not used

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-15 Thread Liam Marsh
Liam Marsh added the comment: (uploaded file: dd.bmp) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546 ___ ___ Python-bugs-list mailing list

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-14 Thread Liam Marsh
Liam Marsh added the comment: in fact, the idlelib.__main__ file exists in the 3.4 version... the question is: is it possible to make it exist on older versions? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23546

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-08 Thread Liam Marsh
Liam Marsh added the comment: the py -m idlelib -e file command failed! (issue 23610 created) otherwise, yes, different versions of the edit with idle command sounds better. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23610] -m arg behavior

2015-03-08 Thread Liam Marsh
New submission from Liam Marsh: hello! trying the solutions proposed by the 23546'th issue, i found that the -m argument, for packages (like tkinter, or idlelib; not io or socket), trys to find the __main__ file, not the __init__ file, which is the main file of any package

[issue23546] windows, IDLE and pep 397

2015-02-28 Thread Liam Marsh
New submission from Liam Marsh: hello, pep 397 describes a Python launcher for the Windows platform. A Python launcher is a single executable which uses a number of heuristics to locate a Python executable and launch it with a specified command line. Problem: that affects only

[issue23443] XMLRPCLIB Exception uses str not class or instance

2015-02-11 Thread Ken Marsh
New submission from Ken Marsh: xmlrpclib.Fault: Fault 1: type 'exceptions.TypeError':exceptions must be classes or instances, not str Exception handling appears to be improperly coded. Occurs when far side gives an unexpected response to an RPC call. -- components: XML messages

[issue20099] a new idea

2013-12-31 Thread Liam Marsh
New submission from Liam Marsh: idea: var(): input var name (str), outputs var value useful for(example in a chess program): count=1 while count=8: ...var('a', count)='black queen' ...count=count+1 -- messages: 207118 nosy: Liam.Marsh priority: normal severity: normal status

[issue20099] a new idea

2013-12-31 Thread Liam Marsh
Liam Marsh added the comment: first, it was for the second idea, which can be replaced, but maybe sameone needs it, when you reed theese lines, this idea is sent. meen while, have a happy new year. -- status: pending - open ___ Python tracker rep

[issue20095] what is that result!?

2013-12-30 Thread Liam Marsh
New submission from Liam Marsh: when does 3*0.1 make 0.30004 ? YES it is the same program! -- components: Regular Expressions messages: 207092 nosy: Liam.Marsh, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: what is that result!? versions

[issue20095] what is that result!?

2013-12-30 Thread Liam Marsh
Liam Marsh added the comment: can you add an approximation of the result in the command? (ex: the biggest precision in the values is 0.1, so it won't show after 4.0) meen while, thank you. -- ___ Python tracker rep...@bugs.python.org http

Re: Pycon disappointment

2008-03-17 Thread Dianne Marsh
This was my first PyCon as well. I had heard glowing recommendations about the lightning talks (from Bruce) previously, and I was really looking forward to them. I, too, was disappointed. I help to organize a community based conference, and we have struggled with providing value for sponsors as