n
> in PHP. Is there a similar system that's written in Python?
> I found pwyky but it's functionality is a bit too simple.
A TiddlyWiki with a python backend.
http://www.cs.utexas.edu/~joeraii/pytw/
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list
org, or must I use IronPython?
Don't know how to do that, but I suggest you post your question on the
IronPython list: http://groups.google.com/group/ironpy?lnk=li
Python is not a .NET language, IronPython is.
HTH,
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list
I just tried your code with similar results: it does nothing on PyPy
2.0.0-beta2 and Python 2.7.4. But on Python 3.3.1 it caused core dump.
It's a little weird but so is the code. You have defined a function that
calls itself unconditionally. This will cause a stack overflow, which is a
RuntimeErro
er the Py3 behavior here a bug, that code is unreliable by
design. It's an infinite loop at the best.
2013/5/29 Joshua Landau
> On 29 May 2013 13:30, Marcel Rodrigues wrote:
> >
> > I just tried your code with similar results: it does nothing on PyPy
> 2.0.0-beta2 and Pyt
Note that
print [shape(m)[1],1]
just prints a list with two elements where the first element is shape(m)[1]
and the second is the number 1 (regardless of the value of m). I'm pretty
sure that's not what you want.
2013/6/18 zoom
> Hi, I have a strange problem here. Perhaps someone would care t
Error: 'ascii' codec can't encode character '\xe1' in position
2: ordinal not in range(128)
My interpretation of this output is that even though gettext correctly
detects the MO file charset as UTF-8, it tries to encode the translated
message with the system's "preferred encoding", which happens to be ASCII.
Anyone know why this happens? Is this a bug on my code? Maybe I have
misunderstood gettext...
Thanks,
Marcel
--
http://mail.python.org/mailman/listinfo/python-list
Thank you Terry!
I was trying to follow the documentation but somehow didn't payed attention
to the lgettext/gettext distinction until I read your first response.
Changing lgettext to gettext solved the problem.
It prints correctly to my console because I have to environmental
variable PYTHONIOEN
ackages". The file is has only one row:
/usr/lib/Tktable2.10
This is the directory where my Tktable-module is stored. ".pth"-files are
working as "pointer" to modules.
I don't know how your directories are built, but I think the structure is equal.
Marcel
> On
...
I built a file named 'tkTable.pth' in the directory
"/usr/lib/python3.1/dist-packages"
...
Submitted via EggHeadCafe
Pass Values Between Windows Forms
http://www.eggheadcafe.com/tutorials/aspnet/a3e1e170-21d9-4a59-a659-3ead05bb36f2/pass-values-between-windows-forms.aspx
--
http://mail.py
I don't know why, but every time when I have "sent" the directories name, it's
not to see in the site.
=> '/usr/lib/python3.1/dist-packages'
=> Got to the home-directory of python and then save the file in the
subdirectory "dist-packages".
Mar
Hi,
I have problems to get ZOracleDA run in Zope - I cannot found a solution
wheter in Zope Groups nor searching google and I think it's a python
problem. The connection in python - without zope - functions without
problems and the missing library (see errors later) is obviously found.
Is it
As Chris said, if your needs are simple, use SQLite back-end. It's probably
already installed on your computer and Python has a nice interface to it in
its standard library. [1]
If you decide to use MySQL back-end instead, consider using PyMySQL [2].
It's compatible with both Python 2 and Python 3
Another option is PyMySQL [1]. It's developed in the open at GitHub [2].
It's pure Python, compatible with both Python 2 and Python 3. It's DB-API 2
compliant. It also implements some non-standard bits that are present in
MySQLdb, in order to be compatible with legacy code, notably Django
(personal
at 9:20 PM, Marcel Rodrigues
> wrote:
> > As Chris said, if your needs are simple, use SQLite back-end. It's
> probably
> > already installed on your computer and Python has a nice interface to it
> in
> > its standard library.
>
> Already installed? I th
What about this:
Put a Frame() inside the root: `frame = Frame(root)`. This frame will be
the only immediate child of root. Everything else will be put inside the
frame. When you need to clear the root, call `frame.destroy()`. This will
destroy `frame` and all its children. You will need to recrea
I don't know how to completely solve this problem, but here is something
that can alleviate it considerably.
If you have a recent version of pip, you can use wheels [1] to save built
packages locally. First create a new virtualenv and install the common
packages. Then put these packages in a wheel
Hello,
I would like to know if there is something in distutils (or in Python
stdlib) which allow me to check for dependencies (shared libraries,
headers or any other progs) before building/installing ?
I am aware of this nice utility :
http://trentm.com/projects/which/
which is useful (and cross
I'm using LDAPUserFolder for Zope 2.7.6 and it works fine.
Is it possible to do the mapping to zope roles by the _value_ of the
group and not the group name?
We defined in LDAP many groups to define access to different
applications - one is named "zope". I want to map the values of this
group "
).
Is there a way to make the IXMLDOMNodeList support slicing?
I've tried to give the rgelem object a __len__ member, but got
an exception from __setattr__:
File "C:\Python24\Lib\site-packages\win32com\client\__init__.py",
line 462, in __setattr__
raise AttributeError, "
For future reference:
The solution to this problem is a simple one.
rgelem = list(xmldoc.selectNodes('/root/elem'))
returns a real list of IXMLDOMElements that can be sliced.
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list
to the
world - because there is only one place you have to go...
What do you think???
Is this crazy??? Or simply stupid?
Or is this the way to world domination...? ;-)
Unfortunately I'm not expert enough to build such a system - but if there is
enough interest in the community I gladly wo
ible
to the world - because there is only one place you have to go...
What do you think???
Is this crazy??? Or simply stupid?
Or is this the way to world domination...? ;-)
Unfortunately I'm not expert enough to build such a system - but if
there is enough interest in the community I
pported platform) is a front-end
application for the (PSF-) hosted "super-cheeseshop", which end-users are
not expected to access directly.
Is my nirvana really that far away? ;-)
Best regards,
Marcel
PS
A "Souq" is an Arab market (similar to a bazaar):
http://en.wiki
?
Regards, Marcel Wild
The integrity and confidentiality of this email is governed by these terms /
Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende
bepalings gere?l. http://www.sun.ac.za/emaildisclaimer
--
https://mail.python.org/mailman/listinfo/python-list
Hello every body,
I'm new here and this is my first question.
I really don't know anything about Python (I use Mathematica) but with the help
of others learned that
g=expr2bdd(f)
makes the BDD g of a Boolean function f. But what is the easiest (fool-proof)
way to print out the diagram of g (i.
this money is very well spent!
Question: Apart from a few commands not available in Mathematica, such as
expr2bdd, is there really any domain of computation where Mathematica is
inferior to Python?
Marcel
-Original Message-
From: Python-list [mailto:python-list-bounces+mwild=sun.ac...@python
Lad wrote:
>How can I check that a string does NOT contain NON English characters?
try:
foobar.encode('ascii')
except:
bla
or use string.ascii_letters and enhance it.
mfg
Daniel
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>i have a file something like this
>
>abcdefgh
>ijklmnopq
>12345678
>rstuvwxyz
>.
>.
>.
>12345678
>.
>
>whenever i search the file and reach 12345678, how do i get the line
>just above and below ( or more than 1 line above/below) the pattern
>12345678 and s
Am Dienstag 06 Mai 2008 16:07:01 schrieb Mike Driscoll:
> If so, then it looks like an Interface is a generic class with method
> stubs. You can do that with Python just as easily by creating empty
> methods with just the "pass" keyword.
Well, no. It's a litte different. Interfaces force to impl
Am Mittwoch 07 Mai 2008 22:39:30 schrieb Luis Zarrabeitia:
> There you have it, interfaces are not enough to ensure that the
> implementors actually implement the methods. They are useful for
> warning at compile time if there is a missing method, but nothing
> more.
It's not the fault of the en
Am Donnerstag 08 Mai 2008 00:12:26 schrieb
[EMAIL PROTECTED]:
> very often sees do-nothing catch-all try/catch blocks in Java - which
> is way worse than just letting the exception propagate. I find all
> this totally pointless, because there's just no way for a compiler to
> check if your code i
Am Freitag 09 Mai 2008 10:19:45 schrieb Bruno Desthuilliers:
> >> very often sees do-nothing catch-all try/catch blocks in Java -
> >> which is way worse than just letting the exception propagate. I
> >> find all this totally pointless, because there's just no way for a
> >> compiler to check if y
a look at the following URLs:
http://www.methods.co.nz/docindexer/
http://www.divmod.org/Home/Projects/Lupy/index.html
http://www.divmod.org/Home/Projects/Pyndex/index.html
HTH,
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list
ok at this:
http://www.devshed.com/c/a/Python/File-Management-in-Python/
HTH,
-- Marcel
--
http://mail.python.org/mailman/listinfo/python-list
34 matches
Mail list logo