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,
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
&
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
19 matches
Mail list logo