On 9 Sep 2008, Karthik Krishnan wrote:
> File "", line 1
> python main_test.py
>
> Syntax Error: invalid syntax
I get:
File "/tmp/x.py", line 11
if __name__ = "__main__":
^
SyntaxError: invalid syntax
> if __name__ = "__main__":
^
= is used for assignment in
Hi,
I am a newbie to python and I hope this is not a stupid question. I am
trying to run a main method from a Python command line using the command
shell using the command.
python main_test.py
I get the following error.
File "", line 1
python main_test.py
Syntax Error: invalid syntax
My ma
"Marcus.CM" <[EMAIL PROTECTED]> wrote:
>
>Where should i report the bug?
>smtpd bug.
Why don't you tell us about it? There may be another explanation.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list
W. eWatson wrote:
drift = 4.23 # seconds per day
format = '%Y%m%d_%H%M%S'
ts1 = "20080901_12" # base date-time
ts2 = "20080904_18"
d1 = datetime(*(time.strptime(ts1, format)[0:6]))
d2 = datetime(*(time.strptime(ts2, format)[0:6]))
#d += timedelta(seconds=sec)
delta = d2-d1
# delta for
thanks Fredrik, yeah it works !!!
On Mon, Sep 8, 2008 at 8:11 PM, Fredrik Lundh <[EMAIL PROTECTED]>wrote:
> abhilash pp wrote:
>
> I don't know if this question will fit on this section,
>> any way my query is , i have used one script demork.py to extract details
>> from Firefox history.dat file
I have two dates, ts1, ts2 as below in the sample program. I know the clock
drift in seconds per day. I would like to calculate the actual date of ts2.
See my question at the end of the program.
# time differences with addition of drift
from datetime import datetime, timedelta
import time
drif
On Mon, Sep 8, 2008 at 21:02, Steven D'Aprano wrote:
> I'm guessing that you'd probably have more success asking on ally mailing
> lists
I'm on a couple of a11y mailing lists.
My experience with them has been, "disappointing".
> Have you checked out this? http://live.gnome.org/Orca
Not cross p
Diez B. Roggisch wrote:
W. eWatson wrote:
Apparently, use of strptime of datetime needs a workaround in Python 2.4
to work properly. The workaround is d =
datetime.datetime(*(time.strptime(date_string, format)[0:5])). However,
when I try to use it, or even use it the regular way, it fails with
On Mon, 08 Sep 2008 20:41:55 -0700, jonathon wrote:
> All:
>
> A year or so ago, I read a tutorial on writing self-voicing apps using
> python. It also covered other a11y issues. However, I didn't bookmark
> it, and it doesn't show up in the first 1000 hits on the Google search I
> did.
While G
On Sep 8, 2:21 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2008-09-08, Chris Rebert <[EMAIL PROTECTED]> wrote:
>
> > On Mon, Sep 8, 2008 at 9:03 AM, Eric Wertman <[EMAIL PROTECTED]> wrote:
>
> >> To expand on this a little bit, I've been subscribed to this
> >> group for a couple of months, b
> i couldn't find any binary distribution of tix8.4.So i think i have to
> reinstall python.
> i also have numpy and PIL installed.If i reinstall python on top of
> the current python directory will i lose them?
You should run a "repair" installation. In Add-and-remove-programs,
select Python, the
All:
A year or so ago, I read a tutorial on writing self-voicing apps using
python. It also covered other a11y issues.
However, I didn't bookmark it, and it doesn't show up in the first
1000 hits on the Google search I did.
Can somebody point me to either that, or any other tutorials on
programm
On Mon, Sep 8, 2008 at 01:51, Laszlo Nagy wrote:
> possible to use UTF 8 strings but there is a problem with the font.
Use Code2000
http://www.code2000.net/
xan
jonathon
--
http://mail.python.org/mailman/listinfo/python-list
Ross Ridge wrote:
Terry Reedy <[EMAIL PROTECTED]> wrote:
My OpenOffice on WinXP uses a unicode font, I believe Lucida Sans
Unicode, that seems to cover the entire BMP.
Lucida Sans Unicode only covers a small subset of Unicode. It may seem
to cover a wider range because Windows (and possibl
Terry Reedy <[EMAIL PROTECTED]> wrote:
>My OpenOffice on WinXP uses a unicode font, I believe Lucida Sans
>Unicode, that seems to cover the entire BMP.
Lucida Sans Unicode only covers a small subset of Unicode. It may seem
to cover a wider range because Windows (and possibly OpenOffice) will
au
Hi
What do you mean by a 3% performance hit? And compared to what ?
Any performance hit or for that matter
a performance improvement would very much dependant on the problem
domain
, how it maps to the data store and what you are trying to do with it,
and
your choice of algorithms.
T
On Sep 9,
On 3 Sep, 18:52, ToPostMustJoinGroup22 <[EMAIL PROTECTED]>
wrote:
> I'm coming from a .NET, VB, C background.
> Any suggestions for someone new to the scene like me?
Welcome! Unfortunately, you probably have a lot of bad habits to
unlearn. Don't use Python like another C, VB or Java. It will ca
I built python-2.5.1 from source using Visual Studio 2005, and am also
trying to build my extension using distutils and Visual Studio 2005.
Distutils complains about python being built with VS 2003, which is
not on my system, and the only python binaries I have on my system are
the ones I built fro
On Sep 8, 2:41 pm, Emile van Sebille <[EMAIL PROTECTED]> wrote:
> brianrpsgt1 wrote:
> > I have attempted downloading and installing several different version
> > of the win32api from Source Forge,
>
> Whe win32 tools come bundled with ActiveState's python distribution.
>
> Maybe that'll move you f
On Sep 8, 7:19 pm, "Blubaugh, David A." <[EMAIL PROTECTED]> wrote:
> Pauli,
>
> Yes, I am utilizing the windows environment. I cannot install f2py.
>
> I obtain the following error when I try to execute the setup.py file
> within the f2py folder located within the numpy master folder:
You shou
BigTable looks great! There's a 3% performance hit for these types of
databases. However it makes up for it in other ways.
"Dive Into Python" seems to suggest there is less busy work, but I am
still looking into the GUI components of Python. Say, a grid of 10x10
tiles of PNGs.
___
On Mon, 08 Sep 2008 22:04:29 +, KLEIN Stéphane wrote:
>> You found the ls() function in a docstring from Zope. The doctest seems
>> to be testing ls(). That suggests to me that ls() is defined in Zope,
>> not doctest.
>
> Well, ls() is one test utility function defined in zc.buildout.testing
On Sep 9, 6:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
[big snip]
> In the interests of academia (although this isn't homework :)) I'll
> answer some of those questions:
Understanding your own requirements is , I would have thought, not
much to do with "academia" but a very practical id
Eric Wertman wrote:
Perhaps the wrong idea of what the group is. I would have thought
that
if one had a sufficiently developed idea and wanted to have it /
formally/
rejected, rather than merely sniped at, then writting a PEP would be
more
apposite than posting to c.l.py.
It's fine to post your
Pauli,
Yes, I am utilizing the windows environment. I cannot install f2py.
I obtain the following error when I try to execute the setup.py file
within the f2py folder located within the numpy master folder:
Warning: Assuming default configuration
(lib\parser/{setup_parser,setup}.py was no
Peter Anderson wrote:
Stef Mientki said: In PyScripter, you should run wxPython in the plain
remote machine (not the wxPython remote),and you should set "reset
before run flag" or reset the remote machine each time yourself.
Stef,
Thanks for the help! It has taken several hours to find and in
On Thu, Sep 4, 2008 at 10:22 AM, Alexander Schmolck
<[EMAIL PROTECTED]> wrote:
>
> It's amazing that after over half a century of computing we still can't denote
> numbers with more than 4 digits readably in the vast majority of contexts.
>
I agree. So did Forth's early designers. That is why Fort
Subclassing 'object' makes the class new-style as opposed to
old-style. object is the ultimate superclass of all new-style classes.
Old-style classes are deprecated and will be removed in Python 3.0,
but they're currently the default for backward-compatibility reasons.
See http://docs.python.org/re
Le Mon, 08 Sep 2008 12:51:04 +, Steven D'Aprano a écrit :
> On Mon, 08 Sep 2008 12:15:15 +, KLEIN Stéphane wrote:
>
>> Hi,
>>
>> for example, in http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/
>> tests.py?rev=89831&view=auto test file, there is this doctests :
>
> [snip]
>
>>
To All,
Has anyone worked with the F2PY generator? This is something that is
supposedly built within numpy and scipy for the Python environment. I
was wondering if anyone has encountered any issues with this
environment?? This is important to find the answers to these questions.
Thanks,
D
AON LAZIO wrote:
Hi, Pythoners.
I would like to know that in some class, it uses __XX__ but in some it
uses only XX
for example,
class Test:
def __som__(self):
...
def som(self):
...
What does "__XX__" make the method different from XX?
Thanks in advance
Hi,
Perhaps you might want to
try out using a sample spider
I wrote and base your code of
this ?
See:
http://hg.shortcircuit.net.au/index.wsgi/pymills/file/b9936ae2525c/examples/spider.py
cheers
James
On Tue, Sep 9, 2008 at 2:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I can
Hi,
This is convention only
and typically used to denote
that a particular class attribute
is "private". Though note,
there is really no such thing in
Python.
cheers
James
On Tue, Sep 9, 2008 at 7:31 AM, AON LAZIO <[EMAIL PROTECTED]> wrote:
> Hi, Pythoners.
> I would like to know that in s
Hi again pythoners,
I notice in the class of a code having (object) and (type) attached to
the name of the class.
I know that in other cases, that means the class inherits methods and
properties from other but
In this case, what does it mean?
For example,
class PY(object):
def __init__(se
Hi Jean-Paul,
Jean-Paul Calderone wrote:
On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <[EMAIL PROTECTED]>
wrote:
Gary Robinson wrote:
In Python 2.5.2, I notice that, in the interpreter or in a script, I
can exit with:
exit()
The exit callable is defined in the site module. Chec
Hi, Pythoners.
I would like to know that in some class, it uses __XX__ but in some it
uses only XX
for example,
class Test:
def __som__(self):
...
def som(self):
...
What does "__XX__" make the method different from XX?
Thanks in advance
Aonlazio
--
http://m
KLEIN Stéphane wrote:
Hi,
for example, in http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/
tests.py?rev=89831&view=auto test file, there is this doctests :
def develop_verbose():
"""
We should be able to deal with setup scripts that aren't setuptools based.
>>> mkdir('foo')
[EMAIL PROTECTED] wrote:
John Machin:
Consider this:>>> hash(123) == hash(123.0) == hash(123L)
True
Right... Can you explain me why Python designers have chosen to build
a hash() like that?
Because that's the kind of hash that dicts expect. If two objects are equal
(i.e. (x==y) is True), th
The simplest solution would be to use a font that is able to handle all
encodings that I need.
My OpenOffice on WinXP uses a unicode font, I believe Lucida Sans
Unicode, that seems to cover the entire BMP. I don't know whether it
was already installed or installed by OO or how one would get
Chris Rebert wrote:
On Mon, Sep 8, 2008 at 9:03 AM, Eric Wertman <[EMAIL PROTECTED]> wrote:
To expand on this a little bit, I've been subscribed to this group
for a couple of months, but there seems to be a bit more gray area
between what would go to a 'python-dev' group and a 'python-user
On Sep 8, 10:20 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Sep 8, 10:47 am, MK Bernard <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sep 7, 3:37 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
> > > On Sep 8, 7:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > > Hello...
>
> > > > I have a
I want to create a class derived from a Borg class that can
instantiated as part of a script or be contained in other classes.
When methods from the Borg class are called, I would like to know the
name of the class that contains the Borg class.
I've played a bit with inspect and _getframe from th
brianrpsgt1 wrote:
I have attempted downloading and installing several different version
of the win32api from Source Forge,
Whe win32 tools come bundled with ActiveState's python distribution.
Maybe that'll move you forward...
Emile
however, each time I try to install
I get the following
On Sep 6, 1:00 pm, [EMAIL PROTECTED] (Ville M. Vainio) wrote:
> Background: PyOS_InputHook is something that gets run when python is
> doing raw_input. TkInter and friends use it to run their event loops,
> so that their events are handled while python is doing raw_input.
>
> What I'd like to do is
On 2008-09-08, Chris Rebert <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 8, 2008 at 9:03 AM, Eric Wertman <[EMAIL PROTECTED]> wrote:
>
>> To expand on this a little bit, I've been subscribed to this
>> group for a couple of months, but there seems to be a bit more
>> gray area between what would go to
On Sep 8, 2:04 pm, "Chris Rebert" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 8, 2008 at 9:03 AM, Eric Wertman <[EMAIL PROTECTED]> wrote:
> >> Perhaps the wrong idea of what the group is. I would have thought
> >> that
> >> if one had a sufficiently developed idea and wanted to have it /
> >> formall
On Sep 8, 11:23 am, "Dan Upton" <[EMAIL PROTECTED]> wrote:
> On Sun, Sep 7, 2008 at 10:59 PM, castironpi <[EMAIL PROTECTED]> wrote:
> > On Sep 7, 7:34 pm, MRAB <[EMAIL PROTECTED]> wrote:
> >> On Sep 7, 11:28 pm, "Eric Wertman" <[EMAIL PROTECTED]> wrote:
>
> >> > +1 Bot
>
> >> I think it's like duck
On Sep 8, 8:54 am, Boris Borcic <[EMAIL PROTECTED]> wrote:
> David C. Ullrich wrote:
>
> > (ii) If A is a subset of B then we should have
> > max(A) <= max(B). This requires that max(empty set)
> > be something that's smaller than everything else.
> > So we give up on that.
>
> Er, what about insta
On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <[EMAIL PROTECTED]> wrote:
Gary Robinson wrote:
In Python 2.5.2, I notice that, in the interpreter or in a script, I can
exit with:
exit()
The exit callable is defined in the site module. Check out site.py! It
shouldn't be used in cod
On Mon, Sep 8, 2008 at 9:03 AM, Eric Wertman <[EMAIL PROTECTED]> wrote:
>> Perhaps the wrong idea of what the group is. I would have thought
>> that
>> if one had a sufficiently developed idea and wanted to have it /
>> formally/
>> rejected, rather than merely sniped at, then writting a PEP would
Gary Robinson wrote:
In Python 2.5.2, I notice that, in the interpreter or in a script, I can exit
with:
exit()
The exit callable is defined in the site module. Check out site.py! It
shouldn't be used in code. It was added to help newbies to 'escape' from
an interactive Python shell.
In Python 2.5.2, I notice that, in the interpreter or in a script, I can exit
with:
exit()
But I don't see exit() mentioned as a built-in function; rather the Python
Library Reference says we should use sys.exit(). Also, the reference says
sys.exit() is like raising SystemExit. But so is j
On Sep 8, 2008, at 1:56 PM, Gerhard Häring wrote:
But AFAIK it's possible to compile a custom SQLite with appropriate
flags to ./configure that will include the fulltext search extension.
It's indeed rather straightforward to integrate FTS, e.g.:
% CFLAGS="-DSQLITE_ENABLE_FTS3=1" ./configur
Monu> When I am using shelve on my local machine it generates the db
Monu> file as given filename. But in another machine it's generating
Monu> .dat and .dir. can anyone tell me how can I force sheve
Monu> module to write the db in .dir and .dat,
Monu> instead of ? Do I have t
I don't know if this is going to help you
but a free&open alternative to Matlap is FreeMat just search for it
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
When I am using shelve on my local machine it generates the db file as
given filename. But in another machine it's generating .dat
and .dir.
can anyone tell me how can I force sheve module to write the db in
.dir and .dat, instead of ? Do I have to
install a specific version of the python?
Iain Dalton wrote:
Why don't you want to use multiple typefaces? Many programs that deal
with multilingual strings use multiple fonts (cf. any Web browser and
Emacs).
You are right, but these PDF documents will show mixed strings. The end
user can enter arbitrary strings into the database, a
I like two 1. www.diveintopython.com and 2. Core Python Programming.
On Mon, Sep 8, 2008 at 6:15 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> On 9/6/2008 5:17 AM James Pilling apparently wrote:
>
>> Hi im currently starting to learn python in sixth form at school any tips?
>>
>
> The books sugge
On Sun, Sep 7, 2008 at 5:41 PM, Mars creature <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I am new to Python, and thinking about migrating to it from matlab
> as it is a really cool language. Right now, I am trying to figure out
If you're trying to migrate from matlab to python I'd take a look at num
I have attempted downloading and installing several different version
of the win32api from Source Forge, however, each time I try to install
I get the following error message:
"Only part of a ReadProcessMemory or WriteProcessMemory request was
completed"
This occurred with the following files:
py
We are currently seeking talented Lisp Game Developers who are
passionate about game development and want to play a major role in
developing and maintaining new features for one of our persistent
browser games.
This particular title uses Hunchentoot, but all other code has been
developed in house
We are currently seeking talented Lisp Game Developers who are
passionate about game development and want to play a major role in
developing and maintaining new features for one of our persistent
browser games.
This particular title uses Hunchentoot, but all other code has been
developed in house
On Mon, Sep 8, 2008 at 4:43 PM, aha <[EMAIL PROTECTED]> wrote:
> On Sep 8, 7:23 am, [EMAIL PROTECTED] wrote:
>> On Mon, Sep 8, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote:
>> > Hi,
>>
>> > I'm using the subprocess module's Popen() to start a batch file. This
>> > batch file basically calls an exe
On Sep 8, 12:32 am, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> mathieu a écrit :
>
> > Hi there,
>
> > I am trying to write something very simple to test if a list
> > contains another one:
>
> > a = [1,2,3]
>
> > b = [3,2,1,4]
>
> > but 'a in b' returns False.
>
> Indeed. Lists are not set
Hi,
I can read the home page using the mechanize lib. Is there a way to
load in web pages using filename.html instad of servername/
filename.html. Lots of time the links just have the file name. I'm
trying to read in the links name and then vsit those pages.
here is the sample code I am ussing
On Sun, Sep 7, 2008 at 10:59 PM, castironpi <[EMAIL PROTECTED]> wrote:
> On Sep 7, 7:34 pm, MRAB <[EMAIL PROTECTED]> wrote:
>> On Sep 7, 11:28 pm, "Eric Wertman" <[EMAIL PROTECTED]> wrote:
>>
>> > +1 Bot
>>
>> I think it's like duck typing: it doesn't matter whether he's actually
>> a bot, only whe
> Perhaps the wrong idea of what the group is. I would have thought
> that
> if one had a sufficiently developed idea and wanted to have it /
> formally/
> rejected, rather than merely sniped at, then writting a PEP would be
> more
> apposite than posting to c.l.py.
>
> It's fine to post your not
Mike P a écrit :
Thanks for the solution above,
The raw data looked like
User-ID,COUNTS
576460840144207854,6
576460821700280307,2
576460783848259584,1
576460809027715074,3
576460825909089607,1
576460817407934470,1
and i used
CSV_INPUT1 = "C:/Example work/Attr_model/Activity_test.csv"
fin1 = op
On Sep 8, 7:23 am, [EMAIL PROTECTED] wrote:
> On Mon, Sep 8, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote:
> > Hi,
>
> > I'm using the subprocess module's Popen() to start a batch file. This
> > batch file basically calls an exe which also gets started.
> > Unfortunately, this does not produce any
Bruno Desthuilliers a écrit :
Benjamin Watine a écrit :
Hi,
I'm about to develop a small python application and I wonder how to
organize files in this application.
I'm familar to java, so I'm tempted to use the same convention
http://dirtsimple.org/2004/12/python-is-not-java.html
: 1 file
Dear all
I have tkinkter based frontend to a Fortran based program. I use
subprocess to launch the fortran program as a child process and I wish
to see the output of the fortran program as it is created in the
console.
The fortran program can take up to 20 minuttes to finish and at the
moment the
Thanks for the solution above,
The raw data looked like
User-ID,COUNTS
576460840144207854,6
576460821700280307,2
576460783848259584,1
576460809027715074,3
576460825909089607,1
576460817407934470,1
and i used
CSV_INPUT1 = "C:/Example work/Attr_model/Activity_test.csv"
fin1 = open(CSV_INPUT1, "rb"
abhilash pp wrote:
I don't know if this question will fit on this section,
any way my query is , i have used one script demork.py to extract
details from Firefox history.dat file
and now the problem is how to convert the TIMESTAMP given by that to
normal date and time.
example timestams are l
[EMAIL PROTECTED] a écrit :
Bruno Desthuilliers:
This doesn't look like a CSV file at all... Is that what you actually
have in the file, or what you get from the csv.reader ???
I presume you are right, the file probably doesn't contain that stuff
like I have assumed in my silly/useless solutio
Bruno Desthuilliers:
> This doesn't look like a CSV file at all... Is that what you actually
> have in the file, or what you get from the csv.reader ???
I presume you are right, the file probably doesn't contain that stuff
like I have assumed in my silly/useless solutions :-)
Bye,
bearophile
--
h
Few solutions, not much tested:
data = """{None: ['User-ID', 'Count']}
{None: ['576460847178667334', '1']}
{None: ['576460847178632334', '8']}"""
lines = iter(data.splitlines())
lines.next()
identity_table = "".join(map(chr, xrange(256)))
result = {}
for line in lines:
parts = line.translate
David C. Ullrich wrote:
(ii) If A is a subset of B then we should have
max(A) <= max(B). This requires that max(empty set)
be something that's smaller than everything else.
So we give up on that.
Er, what about instances of variations/elaborations on
class Smaller(object) : __cmp__ = lambda
Mike P a écrit :
Hi All
i have a CSV file that i'm reading in and each line has the look of
the below
{None: ['User-ID', 'Count']}
{None: ['576460847178667334', '1']}
{None: ['576460847178632334', '8']}
This doesn't look like a CSV file at all... Is that what you actually
have in the file, or
On 7 Sep, 12:54, [EMAIL PROTECTED] wrote:
> I'm working on a remote object system, something kinda like Pyro.
> For the purposes of caching I need to be able to tell if a given
> dict / list / set has been modified.
> Ideally what I'd like is for them to have a modification count
> variable that in
On 9/6/2008 5:17 AM James Pilling apparently wrote:
Hi im currently starting to learn python in sixth form at school any tips?
The books suggestions of others are quite good.
Here is another approach: pick an easily understandable
application, and work doing things with it.
Perhaps immodestly,
I'm trying to implement a file server using the code below. However
the locking doesn't work. I can delete while put'ing a file.
Anyone got an idea about why?
best regards,
seb
#! /usr/bin/env python
import Pyro.core, Pyro.naming
from Pyro.errors import PyroError, NamingError
import sys
impo
The GNU Unifont http://en.wikipedia.org/wiki/GNU_Unifont>
http://unifoundry.com/unifont.html> covers an impressive range of
the Unicode Basic Multilingual Plane.
Unifont is originally a bitmap font, but was recently made available
in TrueType format
http://www.lgm.cl/trabajos/unifont/index.en
Hi All
i have a CSV file that i'm reading in and each line has the look of
the below
{None: ['User-ID', 'Count']}
{None: ['576460847178667334', '1']}
{None: ['576460847178632334', '8']}
i want to make a dictionary of items in the form
{576460847178667334:1, 576460847178632334:8, . } for all r
On Mon, 08 Sep 2008 12:15:15 +, KLEIN Stéphane wrote:
> Hi,
>
> for example, in http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/
> tests.py?rev=89831&view=auto test file, there is this doctests :
[snip]
> >>> ls('develop-eggs')
> I wonder where does the "ls('develop-eggs')" comm
On Sep 7, 8:55 pm, Patrick Maupin <[EMAIL PROTECTED]> wrote:
> On Sep 7, 5:41 pm, Mars creature <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
> > I am new to Python, and thinking about migrating to it from matlab
> > as it is a really cool language. Right now, I am trying to figure out
> > how to con
[EMAIL PROTECTED] wrote:
> On Sep 7, 8:54 pm, [EMAIL PROTECTED] wrote:
>> I'm working on a remote object system, something kinda like Pyro.
>> For the purposes of caching I need to be able to tell if a given
>> dict / list / set has been modified.
>> Ideally what I'd like is for them to have a mod
Laszlo Nagy <[EMAIL PROTECTED]> writes:
I could not find any free TTF font that can do latin1, latin2,
arabic, chinese and other languages at the same time. Is there a
single font that is able to handle these languages?
The GNU Unifont http://en.wikipedia.org/wiki/GNU_Unifont>
http:/
On Sep 7, 8:54 pm, [EMAIL PROTECTED] wrote:
> I'm working on a remote object system, something kinda like Pyro.
> For the purposes of caching I need to be able to tell if a given
> dict / list / set has been modified.
> Ideally what I'd like is for them to have a modification count
> variable that
Hi,
for example, in http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/
tests.py?rev=89831&view=auto test file, there is this doctests :
def develop_verbose():
"""
We should be able to deal with setup scripts that aren't setuptools based.
>>> mkdir('foo')
>>> write('foo', 'setup.p
Matthias Huening wrote:
Gerhard Häring (08.09.2008 10:12):
Error is:
con.execute("select load_extension('./fts3.so')")
pysqlite2._sqlite.OperationalError: Das angegebene Modul wurde nicht
gefunden.
Where should I look for the module?
The sources are in ext/fts3 in the SQLite source tree.
On Mon, Sep 8, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using the subprocess module's Popen() to start a batch file. This
> batch file basically calls an exe which also gets started.
> Unfortunately, this does not produce any results. I looked into the
> Task bar that this exe ha
I have a Python script expecting 11 or 12 input parameters. How do I
use execfile to execute the Python script in my new Python script? How
do I pass in the input parameters?
Yours sincerely,
David
This email has been scanned for all viruses by the MessageLabs Email
Security System.--
h
On Sep 8, 2:31 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Sep 8, 7:05 pm, Praveena P <[EMAIL PROTECTED]> wrote:
>
> > Hi folks,
>
> > I am new to Python... so am not too sure about how the type conversion
> > works.
>
> > I have to read a file that contains hexadecimal data and use the data
>
W. eWatson wrote:
> Apparently, use of strptime of datetime needs a workaround in Python 2.4
> to work properly. The workaround is d =
> datetime.datetime(*(time.strptime(date_string, format)[0:5])). However,
> when I try to use it, or even use it the regular way, it fails with
> AttributeError: t
>> Apparently, use of strptime of datetime needs a workaround in Python
>> 2.4 to work properly. The workaround is d =
>> datetime.datetime(*(time.strptime(date_string,
>> format)[0:5])). However, when I try to use it, or even use it the
>> regular way, it fails with AttributeE
Hi,
I'm using the subprocess module's Popen() to start a batch file. This
batch file basically calls an exe which also gets started.
Unfortunately, this does not produce any results. I looked into the
Task bar that this exe has started but it does not consume and cpu so
I believet that this exe is
Gerhard Häring (08.09.2008 10:12):
Error is:
con.execute("select load_extension('./fts3.so')")
pysqlite2._sqlite.OperationalError: Das angegebene Modul wurde nicht
gefunden.
Where should I look for the module?
The sources are in ext/fts3 in the SQLite source tree. I haven't found
any Mak
Apparently, use of strptime of datetime needs a workaround in Python 2.4 to
work properly. The workaround is d =
datetime.datetime(*(time.strptime(date_string, format)[0:5])). However, when
I try to use it, or even use it the regular way, it fails with
AttributeError: type object 'datetime.date
Laszlo Nagy <[EMAIL PROTECTED]> writes:
> I could not find any free TTF font that can do latin1, latin2,
> arabic, chinese and other languages at the same time. Is there a
> single font that is able to handle these languages?
The GNU Unifont http://en.wikipedia.org/wiki/GNU_Unifont>
http://unifou
On 2008-09-07 15:00, Mike Hostetler wrote:
> I built and installed mx-experimental 3.0.0 from source and it seemed to go
> fine. But when I try to import it, I get this:
>
> localhost% python -c "import mx.Tidy"
> Traceback (most recent call last):
> File "", line 1, in ?
> File "mx/T
1 - 100 of 119 matches
Mail list logo