Windows.
Please, can you give me some instructions how can I build embeddable Python
from source in Linux? Is it possible in the Linux environment?
Please let me know if I can assist any further.
With best regards,
M.Eng. Filip Bascarevic
--
https://mail.python.org/mailman/listinfo
HI folks,
We have recently launched Python support on our continuous integration and
deployment service and are looking for communities feedback. If you're up for
it, please give a test drive to our service with your Python projects and give
us your thoughts on what we could further improve up
again, but I really, really don't
wanto to touch autotools again.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
anything with it.
I have posted a gzipped version with a fix. Would you care to take a look?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
/
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
http://code.google.com/p/fathom-tools
qfathom
QFathom is graphical tool written in python3 and PyQt for inspecting
the database. It is basically a graphical frontend for fathom.
http://code.google.com/p/qfathom/
And once again any kind of ideas or comments would be greatly appreciated.
--
Filip Gruszcz
ction for finding procedures that access a table
-> fathom2graphviz draws lines between columns for foreign key
-> fathom2graphviz and fathom2django can now print output to a file,
rather than to std
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ity-relationship diagrams in
graphviz dot language, that can be turned into pdf or image files
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
I forgot links:
Homepage: http://code.google.com/p/fathom/
Documentation: http://code.google.com/p/fathom/wiki/Manual
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
comments and additional ideas for new features..
Documentation can be found here: http://code.google.com/p/fathom/wiki/Manual
Package can be downloaded from PyPi or from here:
http://code.google.com/p/fathom/downloads/list
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python
Thanks for the links.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Do you know any open source python3 projects that use function
annotations? I would like to see some real use, so maybe I find them
useful to use in my own project.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
You could use dictionary of lists
test = {
A: [1, 3],
B: [2, 4]
}
print test[A]
[1, 3]
test[A].append(5)
print test[A]
[1, 3, 5]
Cheers,
Fil
_
From: melbourne-pug-bounces+filipz=3g.nec.com...@python.org
[mailto:melbourne-pug-bounces+fil
Maybe this is a stupid question. I don't know, I don't use windows.
But what's so special about msvcr and visual studio compiler? Python
compiles fine with gcc under unixes, so is it a problem to compile
python interpreter with mingw and get rid of the proprietary runtime
dependecies? Or does the w
more information, please come to http://code.google.com/p/logbuilder/.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
combo
box. Still, it's two lines instead of one, so maybe it's not the best.
So, which one is?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
the dirty work of checking that arguments are all
right for me and wanted to know the reason, it doesn't.
I guess I should write a subclass, which would do just that.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
rgument in OptionParser. Is it possible to do this, or was
it intentionaly left this way?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
page templates) to say that the
library is 'tested'...
On Jul 26, 5:51 pm, John Machin wrote:
> On Jul 23, 11:53 am, Paul McGuire wrote:
>
> > On Jul 22, 5:43 pm, Filip wrote:
>
> > # Needs re.IGNORECASE, and can have tag attributes, such as > CLEAR="ALL&q
h them all by myself.
regards,
Filip Sobalski
--
http://mail.python.org/mailman/listinfo/python-list
Oh, and there is additional requirement: it must be a one liner with
at most 80 characters ;-)
W dniu 30 czerwca 2009 10:44 użytkownik Filip Gruszczyński
napisał:
> This is purely sport question. I don't really intend to use the answer
> in my code, but I am wondering, if such a fe
a', 'b', 'b']
The easy way is to return a tuple ('b', 'b') for 1s and then flatten
them. But this doesn't seem very right - I'd prefer to create a nice
iterable right away. Is it possible to achieve this? Curiosly, the
other way round is pret
tool written in C#,
that also uses those web services and it worked much faster, so it
doesn't seem to be connection problem.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I need to create a script, that performs ECG segmentation, but I can
hardly find any useful materials on the web. Did anyone try to do this
and could point me to some good materials/snippets about this?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Yes, I get the difference. If x is [], than
if x:
won't be executed and
if x is not None:
will be.
Thanks for clarifying.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
None:
Because I often encounter it and would like to know, if I can simplify
it. Especially that I liked similar construction in C/C++.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
lly wrong with the design. It was then, that I started wondering:
maybe I should first prepare some good design documents, I don't know
some SAD or something.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ign get so
annoying, that you need to do something about them. Usually at that
point it's a bit problematic ;-)
So, do you know some good methods to prevent myself from just starting
coding (which I like very much) and do some thinking about the problem
(which I like a little less ;-))?
--
Fil
Works great. Thanks a lot.
2009/3/22 Maxim Khitrov :
> 2009/3/22 Filip Gruszczyński :
>> I am having a project built like this:
>>
>> project
>> module1.py
>> module2.py
>> packages1/
>> module3.py
>>
>> etc.
>>
>> I
r. I like to keep it
clean.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ripts: i put an import statement there and run
them (they are outside of development directory) and they import stuff
just the way they should. But when I put them into /usr/bin they stop.
Could anyone help me on this?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
t value:
>
>myClass(5.0)
>
> I can override the "()" operator in C++, so I'm wondering if there's a way to
> do it in Python as well.
>
> Thanks!
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
.
But I am looking for a different type of flexibility. I would like to
be able to add more classes to my hierarchy and not have to change my
code in many places when I add new class to the hierarchy. If I have
to change every class in the hierarchy because I add new class, then
it's not somethi
in the gui). I believe it's just the same as asking for
the class, but we hide it under static methods. It's no different
though.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
d provide
additional info, but then I had to keep relations between objects in
two places (relations between real groups and elements and wrapper
groups and wrapper elements), which wasn't the right way to do. I just
can figure a simple, elegant way to do this.
--
Filip Gruszczyński
--
http
gt; e.operations
> 'Element operations'
>>>> g.operations
> 'Group operations'
But this is the same as asking for a class, except for having to write
a method giving some form of a class name and then basing on this
classname display operations. I know this solution, but this is what I
would like to evade.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
is wrong.
But I can hardly see any easy and more maintainable solution for this
problem. Could you help me with this?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
>>> 'foo' in dir(a)
>True
>>>> del A.foo
>>>> 'foo' in dir(a)
>False
Thanks, now I see, what happens, but don't exactly know why. Could you
point me to some good explanation how object creation is performed in
Pytho
uteError: A instance has no attribute 'foo'
Why is it so and how may still delete it?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Just to be clear, I decided to use generator by alex23, as it seems
simple, short and understandable. Still reading this thread was quite
interesting, thanks :-)
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ever. I like the last one a lot :)
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
I don't mean memory, but space in code ;-)
I'll try this generator :)
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ow if
that's the best way. I checked itertools, but the only thing that
seemed ok, was ifilter - this requires seperate function though, so
doesn't seem too short. How can I get it the shortest and fastest way?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
I see. Thanks for a really good explanation, I like to know, how to do
things in the proper way :)
2008/12/1 Nick Craig-Wood <[EMAIL PROTECTED]>:
> Rafe <[EMAIL PROTECTED]> wrote:
>> On Dec 1, 7:26?am, "Filip Gruszczy?ski" <[EMAIL PROTECTED]> wrote:
>
e, precise class names
> mightn't be mentioned (since we mightn't know what is being used
> then), but having *some* description would certainly be helpful (I
> feel).
>
> Even if no-one else is interested in this feature, I think it could
> help my own development (and
rbage"
to this storage and make those searches longer?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
> http://jcalderone.livejournal.com/39794.html
That's exactly what I have read before posting here ;-)
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
. When I use
pychecker, it can't import this module and fails. Any suggestions, how
can I avoid this and what structure should I use?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Every day something new. Thanks a lot :)
2008/11/15 Cameron Simpson <[EMAIL PROTECTED]>:
> On 15Nov2008 22:41, Filip Gruszczyński <[EMAIL PROTECTED]> wrote:
> | I really don't understand, what's happening with the following code.
> | Am I doing something wrong?
&g
elf.__values keeps old list? Can anyone explain it to me?
I am using:
Python 2.5.2 (r252:60911, Sep 14 2008, 23:49:00)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I took a look at the standard library and tried to find some
validation against schema tools, but found none. I googled, but found
only links to external libraries, that can do some validation. Does it
mean, that there is no validation in stdlib or have I just missed
something?
--
Filip
d would be close enough to the OOP, so I could present it
to a mentor (he is cool with doing something for OSS community).
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
On Út, kvě 13, 2008 at 06:49:33 +0200, globalrev wrote:
> if i do something like
> while 1:
> print "x"
>
> will the program ever stop because it runs out of memory?
No, there is no reason to run out of memory. This will simply
make an everlasting x-printer and there is no need to store
anyth
Hello,
> so it would be clean if Python would convert anything put into ( ) to
> be a tuple, even if just one value was put in (without having to use
> that ugly looking comma with no value after it).
if it worked that way, it will absolutely mess up Python syntax, because
we mathematicians are u
The main problem are references to objects within a module, because
we can NEVER be sure there aren't any, even though we cleaned up
everything, that's just a consequence of Python nature. We can keep
the old objects referenced and it would make an equivalent to the
reload() builting, just without
et
in certain function (the same with fields in a class).
I am finishing a small tool, that allows to create such declarations
in similar manner to Smalltalk declarations. I hope I can post a link
to it soon.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
on't quite get. How it may help me? Could you explain?
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
t;", line 1, in
> @uses("x")
> File "", line 8, in decorator
> raise ValueError("%s: %s assigned but not declared" % (f.func_name,
> ','.join(undeclared)))
> ValueError: f: y assigned but not declared
>
>
> >>>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
ear only specified variables. Like in smalltalk, if I
remember correctly.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
.
--
Filip Gruszczyński
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 5, 7:40 am, sandipm <[EMAIL PROTECTED]> wrote:
> I did fair amount of programming in python but never used c/c++ as
> mentioned below.
> any good tutorials for using C/C++ to optimize python codebase for
> performance?
> how widely do they use such kind of mixed coding practices?
[...]
Sinc
On Oct 29, 11:26 am, Dick Moores <[EMAIL PROTECTED]> wrote:
> Windows XP Pro, Python 2.5.1
>
> import msvcrt
> while True:
> if msvcrt.kbhit():
> key = msvcrt.getch()
> if key == 'Enter'
> do something
>
> Is there a way to catch the pressing of the 'Enter' key?
Yes
(perhaps adding <http://code.google.com/p/wikimarkup/> to convert the
wiki markup to HTML).
--
filip salomonsson
--
http://mail.python.org/mailman/listinfo/python-list
Jon Harrop wrote:
> Filip Wasilewski wrote:
> > Jon Harrop wrote:
> >> Filip Wasilewski wrote:
> >> > Jon, both Python and Matlab implementations discussed here use the
> >> > lifting scheme, while yours is a classic convolution based approach.
> >
Jon Harrop wrote:
> Filip Wasilewski wrote:
> > Jon, both Python and Matlab implementations discussed here use the
> > lifting scheme, while yours is a classic convolution based approach.
>
> I've done both in OCaml. The results are basically the same.
Have you tried
Jon Harrop wrote:
> Filip Wasilewski wrote:
> > Besides of that this code is irrelevant to the original one and your
> > further conclusions may not be perfectly correct. Please learn first
> > about the topic of your benchmark and different variants of wavelet
> > t
Jon Harrop wrote:
[...]
> I first wrote an OCaml translation of the Python and wrote my own
> little "slice" implementation. I have since looked up a C++ solution and
> translated that into OCaml instead:
>
> let rec d4_aux a n =
> let n2 = n lsr 1 in
> let tmp = Array.make n 0. in
> for i=0
sturlamolden wrote:
>
> Actually, there was a typo in the original code. I used d1[l-1] where I
> should have used d1[l+1]. Arrgh. Here is the corrected version, the
> Matlab code must be changed similarly. It has no relevance for the
> performance timings though.
>
>
> def D4_Transform(x, s1=None,
sturlamolden wrote:
[...]
> Here is the correct explanation:
>
> The factorization of the polyphase matrix is not unique. There are
> several valid factorizations. Our implementations corresponds to
> different factorizations of the analysis and synthesis poyphase
> matrices, and both are in a senc
robert wrote:
> I have an integer array with values limited to range(a,b) like:
>
> ia=array([1,2,3,3,3,4,...2,0,1])
>
> and want to speedly count the frequencies of the integers into get a density
> matrix.
> Is this possible without looping?
See numpy.bincount (for integers >= 0) if you mean 'w
sturlamolden wrote:
> Boris wrote:
> > Hi, is there any alternative software for Matlab? Although Matlab is
> > powerful & popular among mathematical & engineering guys, it still
> > costs too much & not publicly open. So I wonder if there's similar
> > software/lang that is open & with comparable
robert wrote:
> I'd like to use multiple CPU cores for selected time consuming Python
> computations (incl. numpy/scipy) in a frictionless manner.
>
> Interprocess communication is tedious and out of question, so I thought about
> simply using a more Python interpreter instances (Py_NewInterprete
On 10/24/06, Sergei Organov <[EMAIL PROTECTED]> wrote:
> I'd be very upset to see, say, 5-6 highly intersecting
> scientific plots on the same picture drawn using the
> "marching ants" approach.
I'd be a bit upset to see scientific plots *on a picture* at all
documentation isn't clear enough, that means the documentation
should be fixed.
It does _not_ mean "you are free to introduce new behavior because
nobody should trust what this function does anyway".
--
filip salomonsson
--
http://mail.python.org/mailman/listinfo/python-list
Milos Prudek wrote:
> > A better solution would be to extract cookies from headers in the
> > request method and return them with response (see the code below). I
>
> Full solution! Wow! Thank you very much. I certainly do not deserve such
> kindness. Thanks a lot Filip!
Gla
Milos Prudek wrote:
> > Overload the _parse_response method of Transport in your
> > BasicAuthTransport and extract headers from raw response. See the
> > source of xmlrpclib.py in the standard library for details.
>
> Thank you.
>
> I am a bit of a false beginner in Python. I have written only sho
Milos Prudek wrote:
> I perform a XML-RPC call by calling xmlrpclibBasicAuth which in turn calls
> xmlrpclib. This call of course sends a HTTP request with correct HTTP
> headers. The response is correctly parsed by xmlrpclib, and I get my desired
> values.
>
> However, I also need to get the raw H
Jerry Hill wrote:
> Hello all,
>
> I have a piece of code I could use some help optimizing. What I'm
> attempting to do is periodically grab a screenshot, and search for 2D
> patterns of black pixels in it. I don't care about any color other
> than black. Here's some simple code that simulates m
Jarek Zgoda wrote:
> Filip Wasilewski napisa³(a):
>
> > There is an easy way to build Python extensions on Windows with MinGW
> > and it works fine for me. Just follow these steps:
>
> It was brougt to my attention that mingw-compiled extensions for Python
> 2.4 use oth
Kevin D. Smith wrote:
> I've written a simple Python extension for UNIX, but I need to get it
> working on Windows now. I'm having some difficulties figuring out how
> to do this. I've seen web pages that say that MS Visual Studio is
> required, and other that say that's not true, that MinGW will
an reuse your message object, but you need to delete the old
header before setting a new one:
<http://docs.python.org/lib/module-email.Message.html#l2h-3843>
--
filip salomonsson
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Sat, 24 Jun 2006 05:36:17 -0700, Filip Wasilewski wrote:
>
> > Steven D'Aprano wrote:
> >> On Fri, 23 Jun 2006 02:17:39 -0700, Filip Wasilewski wrote:
> >>
> >> > [EMAIL PROTECTED] wrote:
> >> >
> >
Steven D'Aprano wrote:
> On Fri, 23 Jun 2006 02:17:39 -0700, Filip Wasilewski wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> >> Logically, I should be able to enter x[-2:-0] to get the last and next to
> >> last characters. However, since Python doesn
[EMAIL PROTECTED] wrote:
> Logically, I should be able to enter x[-2:-0] to get the last and next to
> last characters. However, since Python doesn't distinguish between positive
> and negative zero, this doesn't work. Instead, I have to enter x[-2:].
Hooray! Logically there is no such thing as
sonjaa wrote:
> Hi
>
> last week I posted a problem with running out of memory when changing
> values in NumPy arrays. Since then I have tried many different
> approaches and
> work-arounds but to no avail.
[...]
Based on the numpy-discussion this seems to be fixed in the SVN now(?).
Anyway, you
[EMAIL PROTECTED] wrote:
> Hi all
>
> I am trying to create a lighweight tcp proxy server.
[...]
There is a bunch of nice recipies in the Python Cookbook on port
forwarding. In the [1] and [2] case it should be fairly simple to add
an extra authentication step with pyOpenSSL.
[1] http://aspn.acti
MethodDef is one simple line
Bottomline: you need 5 additional lines of C code per procedure to
make it usable from Python.
Unless you have hundreds of procedures, there is no point in using
special tools to do that. Especially if you need full control over the
results.
regards,
Filip Dreger
lowing you to use all the
names without "wx.". If you change "from something import *" to
"import something", your code will always break, this is normal.
regards,
Filip Dreger
--
http://mail.python.org/mailman/listinfo/python-list
e, probably something like:
c:
cd \
python24\python -OO)
and then import your example.py, you will get a file example.pyo,
which is also stripped of any documentation strings (a bit harder to
decode).
regards,
Filip Dreger
--
http://mail.python.org/mailman/listinfo/python-list
ou really need *full* local namespace access? Why isn't access to
> the actor.actor instance sufficient?
!!! Yep, of course it is sufficient. Abondoning the obvious
role_func() must have had some good reasons some time ago, but now I
can not even remember them, probably they were not
is also
the case here :-).
> But I'd have to know what your real use case is to tell you whether
> or not this is worth the trouble. Why do you want to exec the
> func_code anyway? Why can't you just call the function?
I put the description in the other post. Perhaps it's jkust my design
that's broken.
Thanks again.
regards,
Filip Dreger
--
http://mail.python.org/mailman/listinfo/python-list
Uzytkownik "Steven Bethard" <[EMAIL PROTECTED]> napisal w
wiadomosci news:[EMAIL PROTECTED]
> Filip Dreger wrote:
>> I am trying to find a way of executing functions without creating a
>> nested scope, so they can share local and global namespace (even if
>
ey can share local and global namespace (even if
they are declared in some other module). I _could_ turn them into
strings and pass around as compiled objects, butthis would be very
ugly. I am sure Python has some better, cleaner way to do this.
regards,
Filip Dreger
--
http://mail.python.org/mailman/listinfo/python-list
i=foo()
i.checkstring()
i.checkfunction() # this throws exception; why???
4. I try to find some help here, and hope to also gain better
undesrtanding of how Python works :-)
Thanks for any suggestions,
regards,
Filip Dreger
--
http://mail.python.org/mailman/listinfo/python-list
94 matches
Mail list logo