SpreadTooThin wrote:
Jean-Paul many thanks for this and your effort.
but why is it every time I try to do something with 'stock' python I
need another package?
Twisted has it's fan, but you don't need it. Your code had a few
specific problems, and fixing them has little or nothing to do with
On 5 Oct 2006 22:54:46 -0700, MonkeeSage [EMAIL PROTECTED] wrote:
hanumizzle wrote:
Why a subset?
I don't think JSON is a subset of YAML.
Apparent slip of the fingers by OP. From JSON website:
JSON (JavaScript Object Notation) is a lightweight data-interchange
format. It is easy for humans
Fredrik Lundh wrote:
Ranjitha wrote:
I want to store my data in a database on the disk. I also want to be
able to reload the tables into the RAM whenever I have a lot of disk
accesses and commit the changes back to the database.
using the cache_size and synchronous pragmas sounds like
SpreadTooThin wrote:
but why is it every time I try to do something with 'stock' python I
need another package?
it's well known that all problems known to man can be solved by down-
loading Twisted, PyParsing, the Stream Editor, or that other programming
language that cannot be named.
/F
On Oct 6, 1:06 am, hanumizzle [EMAIL PROTECTED] wrote:
I'm happy with my Pythonesque YAML syntax, thank you. :)
YAML is a little more complex, and a little more mature. But JSON
should not be ruled out. I actually like JSON personally.
Regards,
Jordan
--
On 5 Oct 2006 23:19:18 -0700, MonkeeSage [EMAIL PROTECTED] wrote:
On Oct 6, 1:06 am, hanumizzle [EMAIL PROTECTED] wrote:
I'm happy with my Pythonesque YAML syntax, thank you. :)
YAML is a little more complex, and a little more mature. But JSON
should not be ruled out. I actually like JSON
MonkeeSage wrote:
YAML is a little more complex
a little? when did you last look at the spec?
and a little more mature.
than JavaScript's expression syntax? are you sure you're not confusing
libraries with standards here? (has anyone even managed to write a YAML
library that's small
On 5 Oct 2006 16:21:50 -0700, Eddie [EMAIL PROTECTED] wrote:
Hi,
I am looking for a method to profile memory usage in my python program.
The program provides web service and therefore is intended to run for a
long time. However, the memory usage tends to increase all the time,
until in a day
On 10/6/06, Fredrik Lundh [EMAIL PROTECTED] wrote:
MonkeeSage wrote:
YAML is a little more complex
a little? when did you last look at the spec?
and a little more mature.
than JavaScript's expression syntax? are you sure you're not confusing
libraries with standards here? (has
hanumizzle wrote:
I guess I'll keep an open mind. But I like editing YAML for the same
reason that I like editing Python.
JSON is almost identical to Python's expression syntax, of course, while
YAML isn't even close.
/F
--
http://mail.python.org/mailman/listinfo/python-list
Blair P. Houghton wrote:
But they do about 10 things totally wrong with Google groups that
I'd've fixed in my spare time in my first week if they'd hired me back
when I was interviewing with them.
So if they want it to work, they know where to find me.
Doesn't seem likely, does it? But
On 10/6/06, Fredrik Lundh [EMAIL PROTECTED] wrote:
hanumizzle wrote:
I guess I'll keep an open mind. But I like editing YAML for the same
reason that I like editing Python.
JSON is almost identical to Python's expression syntax, of course, while
YAML isn't even close.
Getting the source
Ranjitha wrote:
Fredrik Lundh wrote:
Ranjitha wrote:
I want to store my data in a database on the disk. I also want to be
able to reload the tables into the RAM whenever I have a lot of disk
accesses and commit the changes back to the database.
using the cache_size and
On Oct 6, 1:28 am, Fredrik Lundh [EMAIL PROTECTED] wrote:
when did you last look at the spec?
I'm fairly versed in JS objects, having written 10 or so extensions for
firefox; but I've only used YAML for trivial tasks like config files.
So I can't really say how they stack up in the big
On 5 Oct 2006 23:43:50 -0700, MonkeeSage [EMAIL PROTECTED] wrote:
On Oct 6, 1:28 am, Fredrik Lundh [EMAIL PROTECTED] wrote:
when did you last look at the spec?
I'm fairly versed in JS objects, having written 10 or so extensions for
firefox; but I've only used YAML for trivial tasks like
Dustan wrote:
Neil Cerutti wrote:
On 2006-10-05, Dustan [EMAIL PROTECTED] wrote:
Steve Holden wrote:
Dustan wrote:
I'm hiding some of the details here, because I don't want to
say what I'm actually doing.
[...]
I have the answer to your problem but I don't actually want to
tell you what it
Ilias Lazaridis wrote:
You need just 2 active contributors - and the python community, not
more
Hmm, this number does not say much. It really depends on the required
service level and how much time these two people can spend for
maintaining the tracker service.
Ciao, Michael.
--
On 10/4/06, Blacktiger [EMAIL PROTECTED] wrote:
Hi all, I'm new to this list because I had a question about parsing
python block structure. I am taking a programming languages course
this semester and for our final project we are writing an interperator
in scheme(awful language) for whatever
Steve Holden wrote:
Even when it smacks you in the face, apparently. Anyway, I'm sorry if
you thought I was getting at you in any way. Just trying to amuse the
group ...
time to reinstate mandatory use of the wink tag ?
/F
--
http://mail.python.org/mailman/listinfo/python-list
On 10/5/06, Neil Cerutti [EMAIL PROTECTED] wrote:
It was a joke, based on you hiding what you are doing, he decided
to hide the solution to your problem. Get it?
What if it was for a proprietary software of some kind?
-- Theerasak
--
http://mail.python.org/mailman/listinfo/python-list
content is great, my comments are editorial.
I prefer PDF with bookmarks rather than HTML.
1. easy to print the whole thing and read offline.
2. easy to find a secion from bookmarks, rather that chasing links
3. easy to save on my local doc folder so I can be sure It will always be
there. (i.e.
On 2006-10-04, Fredrik Lundh [EMAIL PROTECTED] wrote:
Georg Brandl wrote:
This is an issue in most Python documentation: you're not told
if the described function is implemented in C, and if it is
keyword arg-enabled. The arguments must be given names though,
to be able to document them.
On 10/6/06, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Thu, 5 Oct 2006 11:28:08 +0100, Matthew Warren
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
Now, I started programming when I was 8 with BBC Basic.
Remember what the acronym BASIC stands for?
Dennis Lee Bieber wrote:
On Thu, 5 Oct 2006 14:40:23 +0100, Matthew Warren
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
This email is confidential and may be privileged. If you are not the intended
recipient please notify the sender immediately and delete the email from
On 10/5/06, Sells, Fred [EMAIL PROTECTED] wrote:
content is great, my comments are editorial.
wrt what document?
I prefer PDF with bookmarks rather than HTML.
1. easy to print the whole thing and read offline.
2. easy to find a secion from bookmarks, rather that chasing links
3. easy to
Hi,
I would like print tabular values on terminal (stdout). Are there
package to handle table text render ?
Thanks for your help,
Stephane
--
http://mail.python.org/mailman/listinfo/python-list
Ilias Lazaridis wrote:
Ben Finney wrote:
Ilias Lazaridis [EMAIL PROTECTED] writes:
I admit it is difficult to detect that this post is in-topic.
But it is.
Really, it's not. If you want a voice, you already have your
website. Mailing lists and other discussion forums have conventions
about
On 10/6/06, KLEIN Stéphane [EMAIL PROTECTED] wrote:
Hi,
I would like print tabular values on terminal (stdout). Are there
package to handle table text render ?
Have a look at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/267662
-- Theerasak
--
[EMAIL PROTECTED] wrote:
Thanks for all the help guys ... in almost every way using a metaclass
seems to be the right solution for what I'm trying to do here. I say
almost because there is one thing that is still confusing me: what is
the most elegant way to provide base-class
Steve Menard wrote:
I have a need to create class instance without invokking the class' __init__
method.
Were I using old-style classes, I'd use new.instance() function. However, I
am using new-style classes and new.instance() complain TypeError:
instance() argument 1 must be classobj,
hanumizzle a écrit :
On 10/6/06, KLEIN Stéphane [EMAIL PROTECTED] wrote:
Hi,
I would like print tabular values on terminal (stdout). Are there
package to handle table text render ?
Have a look at:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/267662
Thanks, this package is
Martin v. Löwis wrote:
That, in principle, could happen to any other free software as well.
What is critical here is that SF *hosted* the installation. If we
would use a tracker that is free software, yet hosted it elsewhere,
the same thing could happen: the hoster could make modifications to
[EMAIL PROTECTED] wrote:
Martin The regular admin tasks likely include stuff like this:
Martin - the system is unavailable, bring it back to work
Martin This is really the worst case, and a short response time
Martin is the major factor in how users perceive the service
Giovanni Bajo [EMAIL PROTECTED] writes:
Are bug-tracker configuration issues so critical that having to wait
48-72hrs to have them fixed is absolutely unacceptable for Python
development? It looks like an overexaggeration. People easily cope
with 2-3 days of SVN freezing, when they are
Hi,
The data is simple dictionary with one or more keys. If i use YAML at
the client (webui) do i have to change serialisation method to YAML at
server also. Without changing serialisation method at server, can i use
any of the deserialisation methods at the client. We cannot change the
On 10/6/06, KLEIN Stéphane [EMAIL PROTECTED] wrote:
hanumizzle a écrit :
On 10/6/06, KLEIN Stéphane [EMAIL PROTECTED] wrote:
Hi,
I would like print tabular values on terminal (stdout). Are there
package to handle table text render ?
Have a look at:
On 6 Oct 2006 01:41:48 -0700, virg [EMAIL PROTECTED] wrote:
Hi,
The data is simple dictionary with one or more keys. If i use YAML at
the client (webui) do i have to change serialisation method to YAML at
server also. Without changing serialisation method at server, can i use
any of the
Franz Steinhaeusler [EMAIL PROTECTED] wrote:
Hello NG,
I'm asking this, (although I know a mailing list on gmane
gmane.comp.python.tkinter and there is so little traffic
compared to the mailing list of wxPython also mirrored
on gmane gmane.comp.python.wxpython.
I cannot imagine, that
Steve Holden [EMAIL PROTECTED] wrote:
Hendrik van Rooyen wrote:
Fredrik Lundh [EMAIL PROTECTED] wrote:
Eric Brunel wrote:
AFAIK, Tkinter is not thread safe. Using some kind of lock to serialize
the calls from different threads may seem to work (I never tested it
actually), but the
Antoon Pardon wrote:
Is this general rules documeted somewhere? My impression is that readers
of the documentation will treat arguments as keyword arguments unless
this is explicitly contradicted.
Sorry, I missed that this was comp.lang.python.alternate.reality. My
mistake.
/F
--
Fredrik Lundh wrote:
MonkeeSage wrote:
YAML is a little more complex
a little? when did you last look at the spec?
and a little more mature.
than JavaScript's expression syntax? are you sure you're not confusing
libraries with standards here? (has anyone even managed to
At the server, based on client request it does some computations , it
sends the result as dictionary (serialized) to the client.
hanumizzle wrote:
On 6 Oct 2006 01:41:48 -0700, virg [EMAIL PROTECTED] wrote:
Hi,
The data is simple dictionary with one or more keys. If i use YAML at
the
On 10/6/06, Steve Holden [EMAIL PROTECTED] wrote:
I have to agree that YAML, having started out with simplicity in mind,
has become a monster that threatens to collapse under its own weight.
The very existence of JSON is a good indicator that YAML has failed to
meet its design goals for a
On 6 Oct 2006 02:03:07 -0700, virg [EMAIL PROTECTED] wrote:
At the server, based on client request it does some computations , it
sends the result as dictionary (serialized) to the client.
If I interpret your message correctly, you are receiving a Python
dictionary object from the server. Yes?
Hello,
there is an example how to use groupby in the itertools documentation
(http://docs.python.org/lib/itertools-example.html):
# Show a dictionary sorted and grouped by value
from operator import itemgetter
d = dict(a=1, b=2, c=1, d=2, e=1, f=2, g=3)
di = sorted(d.iteritems(),
Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Thu, 5 Oct 2006 11:28:08 +0100, Matthew Warren
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
Now, I started programming when I was 8 with BBC Basic.
Remember what the acronym BASIC stands for?
On 5 Oct 2006 12:49:53 -0700, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Actually was about to post same solution and got same results. (BTW
Simon, the OP date is Aug 9th, 2006). Scratched head and googled for
excel date calculations... found this bug where it treats 1900 as leap
year
On 2006-10-06 04:50:33 +0200, [EMAIL PROTECTED] wrote:
say i have variables like these
var1 = blah
var2 = blahblah
var3 = blahblahblah
var4 =
var5 = .
bcos all the variable names start with var, is there a way to
conveniently print those variables out...
eg print var* ??
i
On 2006-10-06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Antoon Pardon wrote:
Is this general rules documeted somewhere? My impression is that readers
of the documentation will treat arguments as keyword arguments unless
this is explicitly contradicted.
Sorry, I missed that this was
Yes your are right. I will send a dictionary object from the server to
the client.
I already have client which is written in python. But we are migrating
the python client which is a command line tool to Web UI client
(java). If it is possible to call python function from java, i need to
read
Nobody's mentioned the ability to save a formatted string and then
substitute the variables later...
string = There are %s ways to skin a %s
print string % (3, furry animal)
print string % (166, beast)
~half.italian
Matthew Warren wrote:
Ok, not really python focused, but it feels like the
EP wrote:
[Client-only application with shared storage and concurrent access]
Can I get there with MySQL? Or do I need to pair a pure python
approach (including the database) with py2exe? Has anyone achieved
this with a db framework like Dabo? Or is there another, entirely
different and
Hi,
I would like to remove certain lines from a log files. I had
some sed/awk scripts for this, but now, I want to use python
with its re module for this task.
Actually, I have two different log files. The first file looks
like:
...
'some text'
...
ITER I-
No, you should have found a forum where you know that the topic is
appropriate -- even if that restricts it to your own website.
??? my website is not a forum (and I'm currently reducing it to the
minimum necessary information.)
You obviously lack the skill to comprehend that a forum isn't
On 6 Oct 2006 09:21:11 GMT, Antoon Pardon [EMAIL PROTECTED] wrote:
On 2006-10-06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Antoon Pardon wrote:
Is this general rules documeted somewhere? My impression is that readers
of the documentation will treat arguments as keyword arguments unless
On 10/6/06, Gerrit Holl [EMAIL PROTECTED] wrote:
import fnmatch
var1, var2, var3 = foo, bar, baz
for k in fnmatch.filter(locals(), var*):
... print locals()[k]
...
foo
baz
bar
This is evil.
It's unpythonic.
It's so evil, Perl 4 would look upon it in scorn.
-- Theerasak
--
Le jeudi 05 octobre 2006 20:24, Steve Holden a écrit :
class mystr(oldstr):
... def __new__(*a, **kw):
... print called:, a, kw
...
you don't return the string here...
import __builtin__
__builtin__.str = mystr
Readline internal error
Traceback (most recent call
On Thu, Oct 05, 2006 at 10:48:36AM +, Duncan Booth wrote:
The other main reason for preferring format strings is that they make it
easier to refactor the code. If you ever want to move the message away from
where the formatting is done then it's a lot easier to extract a single
string
On 6 Oct 2006 02:29:59 -0700, virg [EMAIL PROTECTED] wrote:
Yes your are right. I will send a dictionary object from the server to
the client.
I already have client which is written in python. But we are migrating
the python client which is a command line tool to Web UI client
(java).
The trouble is, I havent got a clue where to start and would
appreciate
a couple of pointers to get me going...
I'd suggest taking a look at Twisted, which contains a more complete
telnet implementation (not as important for being able to launch vi),
an ssh implementation (which you
Diez B. Roggisch wrote:
[...]
really very important (if you don't look to much at the subject but the
message contents).
All that I have seen were some accusations + a few ridiculously small
subversion entries that showed default parameters changed and the like.
This is on the same
Ian Bicking wrote:
It handles some other kinds of repositories now (bzr, I think?). From
what I understand fully abstracting out the repository format seems to
still be a work in progress, but it is in progress and you can write
repository plugins right now.
That covers Trac, but other
Diez B. Roggisch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This is on the same level of interest to the communities of python, ruby
java as the
color of my socks this morning - a deep black with cute little skulls
imprinted.
I did find Andy's claim that he expected
Corrado Gioannini [EMAIL PROTECTED] wrote:
I often do things like this:
sql = a_complex_select_sql % (id_foo, value_bar, ...)
cursor.execute(sql)
inside the body of a function (or a class method), where
a_complex_select_sql is a string, containing several %s, %d ecc.,
that is
On 10/6/06, Diez B. Roggisch [EMAIL PROTECTED] wrote:
This is on the same level of interest to the communities of python, ruby
java as the color of my socks this morning - a deep black with cute
little skulls imprinted.
Where did you get these?
-- Theerasak
--
hanumizzle wrote:
Not sure exactly what is going on / being argued about in this
thread
I'm describing best practices based on long experience of using and
developing and teaching and writing about Python stuff. Others have
other priorities, it seems.
This doesn't say anything positive
Steve Holden wrote:
I have to say I find the colour of your socks *much* more interesting.
Especially what with the skulls and all.
--
Erik Max Francis [EMAIL PROTECTED] http://www.alcyone.com/max/
San Jose, CA, USA 37 20 N 121 53 W AIM, Y!M erikmaxfrancis
Can I lay with you / As
Diez B. Roggisch wrote:
This is on the same level of interest to the communities of python, ruby
java as the color of my socks this morning - a deep black with cute
little skulls imprinted.
are they perhaps red or green? and look something like the skulls on this:
On 2006-10-06, hanumizzle [EMAIL PROTECTED] wrote:
On 6 Oct 2006 09:21:11 GMT, Antoon Pardon [EMAIL PROTECTED] wrote:
On 2006-10-06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Antoon Pardon wrote:
Is this general rules documeted somewhere? My impression is that readers
of the documentation
John Machin wrote:
[EMAIL PROTECTED] wrote:
excel_date = 38938.0
python_date = datetime.date(1900, 1, 1) +
datetime.timedelta(days=excel_date)
python_date
datetime.date(2006, 8, 11)
Err, that's the wrong answer, isn't it? Perhaps it shoud be
datetime.date(1900,
In message [EMAIL PROTECTED], Robert
Kern wrote:
Lawrence D'Oliveiro wrote:
In message [EMAIL PROTECTED],
Connelly Barnes wrote:
The main point of autoimp is to make usage of the interactive Python
prompt more productive by including from autoimp import * in the
PYTHONSTARTUP file.
The
On 2006-10-06, Fredrik Lundh [EMAIL PROTECTED] wrote:
hanumizzle wrote:
Not sure exactly what is going on / being argued about in this
thread
I'm describing best practices based on long experience of using and
developing and teaching and writing about Python stuff. Others have
other
In message [EMAIL PROTECTED], Paul
Boddie wrote:
Various sites forbid wget and friends as a rule, understandably ...
No, that is not understandable.
--
http://mail.python.org/mailman/listinfo/python-list
In message [EMAIL PROTECTED], Diez B. Roggisch wrote:
I have to admit that I have difficulties to compare LR(k) to recursive
descent, but the fact that the latter contains backtracking makes it at
least more powerful than LL(k)
LR(k) is more powerful than LL(k).
--
John Machin wrote:
[EMAIL PROTECTED] wrote:
excel_date = 38938.0
python_date = datetime.date(1900, 1, 1) +
datetime.timedelta(days=excel_date)
python_date
datetime.date(2006, 8, 11)
Err, that's the wrong answer, isn't it? Perhaps it shoud be
datetime.date(1900,
Antoon Pardon wrote:
IMO this is a very natural thought process for a python programmer.
So a python programmer seeing the first will tend to expect that
last call to work.
on the other hand, if a Python programmer *writes* some code instead;
say, a trivial function like:
def
This email is confidential and may be privileged. If you are not the intended
recipient please notify the sender immediately and delete the email from your
computer.
You should not copy the email, use it for any purpose or disclose its
contents to any other person.
Please note that any
Matthew Warren wrote:
No problem, and thanks for pointing it out. It gets silently added on
its way through, and i just hadnt noticed it in my posts.
oh, no need to apologize. and it did make a certain sense in some of
your posts:
Okok, I'm silly.
This email is confidential and may be
Hi,
import xlrd
book = xlrd.open_workbook(testbook1.xls)
sh = book.sheet_by_index(0)
sh.cell_value(rowx=1,colx=0)
38938.0
type(sh.cell_value(rowx=1,colx=0))
type 'unicode'
xlrd.xldate_as_tuple( sh.cell_value( rowx = 1,colx= 0 ), 0 )
Traceback (most recent call last):
File
Funniest bit of my day so far :)
Fredrik Lundh wrote:
Matthew Warren wrote:
No problem, and thanks for pointing it out. It gets silently added on
its way through, and i just hadnt noticed it in my posts.
oh, no need to apologize. and it did make a certain sense in some of
your posts:
hanumizzle schrieb:
On 10/6/06, Diez B. Roggisch [EMAIL PROTECTED] wrote:
This is on the same level of interest to the communities of python, ruby
java as the color of my socks this morning - a deep black with cute
little skulls imprinted.
Where did you get these?
You can buy them at
kath wrote:
xldays = int(xldate)
ValueError: invalid literal for int(): Date
because xlrd.xldate_as_tuple() function expects first argument to be an
integer. How do I convert an unicode character to integer, so that I
could get the date using xlrd.xldate_as_tuple() function.
the error
On 2006-10-06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Antoon Pardon wrote:
IMO this is a very natural thought process for a python programmer.
So a python programmer seeing the first will tend to expect that
last call to work.
on the other hand, if a Python programmer *writes* some code
Paul Rubin schrieb:
How often should a tracker freeze anyway? People with no technical
knowledge at all run BBS systems that almost never freeze. Is a
tracker somehow more failure-prone? It's just a special purpose BBS,
I'd have thought.
For whatever reason, the SF bug tracker is often
On Fri, Oct 06, 2006 at 10:09:14AM +, Duncan Booth wrote:
I hope you have a good reason why you don't do:
cursor.execute(a_complex_select_sql, (id_foo, value_bar, ...))
instead.
hehe.
i was just trying to be didactic, simplifying the actual situation.
(anyway, sometimes i had to
Fredrik Lundh schrieb:
Diez B. Roggisch wrote:
This is on the same level of interest to the communities of python,
ruby java as the color of my socks this morning - a deep black with
cute little skulls imprinted.
are they perhaps red or green? and look something like the skulls on
Hi,
Yes, using python client we are able deserialize data using
r = pickle.loads(result).
where result is a response from the server and r is a dictionary after
deserialization.
For serialisation at the server written in python using
pickle.dumps(result, 2)
Now we are developing web based
I am using the following code. It is used to spawn a new process (using
popen) and to change the file handles so that subsequent writes to
standard output with printf goes into this child process standard input.
import os
child_stdin = os.popen(cat -, w)
old_stdout = os.dup(1)
Fredrik Lundh wrote:
kath wrote:
xldays = int(xldate)
ValueError: invalid literal for int(): Date
because xlrd.xldate_as_tuple() function expects first argument to be an
integer. How do I convert an unicode character to integer, so that I
could get the date using
Richard Brodie schrieb:
Diez B. Roggisch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This is on the same level of interest to the communities of python, ruby
java as the
color of my socks this morning - a deep black with cute little skulls
imprinted.
I did find Andy's
Martin v. Löwis wrote:
For whatever reason, the SF bug tracker is often down, or not
responding. I'm uncertain why that is, but it's a matter of
fact that this was one of the driving forces in moving away
from SF (so it is a real problem).
As I asked before, did anyone look into asking
Diez B. Roggisch wrote:
Due to the unexpected interest in my foot-garments, I here present
an image of my current collection of skullsocks(tm)
http://www.roggisch.de/img/skullsocks.jpg
ah, pretty close, and the green color is absolutely the right one, but
my socks has the skulls drawn on
Jia,Lu [EMAIL PROTECTED] writes:
Hi all
I write a program to detect key press,but , why there is a *space*
before the character I typed.??
There is none. The output I see when I type 1 2 q is:
-1
-2
-q
If that is what you see, the problem is in your
print -%s%ch
statement.
Sells, Fred wrote:
content is great, my comments are editorial.
I prefer PDF with bookmarks rather than HTML.
clip
If you choose to go the PDF route, I've found OpenOffice 2.0 pretty good at
generating PDF with bookmarks. Just don't get too complex or OO may hose
you.
Since you replied
Hi,
the following shows the contents of datebook.xls
Date
8/9/2006
8/9/2006
8/9/2006
8/9/2006
8/9/2006
# read_date.py
import xlrd
book = xlrd.open_workbook(datebook.xls)
sh = book.sheet_by_index(0)
ex_qdate=sh.cell_value(rowx=1,colx=0)
no need for all that,i wrote a basic Ajax framework for cherrypy that
features a Ajax.Net feature,exposing functions to JavaScript via
attributes(or in python via decorators),here is a decorator that run
one time(i.e. before running the actual code) and get the name of the
class
[code]
def
I'm sorry. I tried with windows=myscript.py but it doesn't seem to
work.
I really don't know where find this information that's extremely
important for me.
I googled a lot but I didn't found a solution for my problem. :-\
--
http://mail.python.org/mailman/listinfo/python-list
Paul Boddie schrieb:
As I asked before, did anyone look into asking large-scale users of the
various considered products about their experiences with regard to
reliability, scalability, and so on?
I didn't ask anyone, primarily because of lack of time.
Regards,
Martin
--
billie wrote:
I'm sorry. I tried with windows=myscript.py but it doesn't seem to
work.
it does work, so you've probably made some simple mistake. figuring
out what that is is a bit hard if you don't provide more information,
though.
can you perhaps post (the relevant portions of) your
Hi Fabian,
I'm still a youngster in Python but I think I can help with the
extracting data from the log file part. As I'm seeing it right now,
the only character separating the numbers below is the space character.
You could try splitting all the lines by that character starting from
the NO
1 - 100 of 269 matches
Mail list logo