Is it possible to extract (and view) the Python script from the Windows
executable which was made by pyinstller?
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum IZUS/TIK E-Mail: horlac...@tik.uni-stuttgart.de
Universitaet Stuttgart Tel:++49-711-685
Ok, double-checked again, and if force it to run under 2.7, then it
complains about lack of pyQT4 - that's one of the issues was asking
about relating to GUI frameworks - pyQT hasn't always worked too well
under 2.7 in terms of accessibility API's in past, but, will 'see' if
can get hold of tha
On Fri, Jan 8, 2016 at 1:54 AM, jacob Kruger wrote:
>
> Also, downloaded both the main master, and the RSS reader master images,
> but, both python 2.7 and python 3.4 tell me that they have no urllib2, and
> under 3.4, pip install can't find it either..?
>
> TIA
>
Python 3 does not have urllib2.
I would definitely like to try out something like this - I am primarily
a web developer, and, partly since am 100% blind, any form of GUI design
is at times an issue for me, whereas I have been working with HTML
markup layouts for almost 20 years now, but, which versions of python
should this w
Hi All,
I should help...
I want to calculate the sum of a positive number, for each row:
x = ((mat_1 / s_1T)-(s_2 / total))
y = (np.sum(x > 0, axis=1)).reshape(-1, 1).tolist()
However, this part of the code only calculation count, I need sum.
Any ideas how to solve this problem?
thanks in ad
Às 03:20 de 07-01-2016, Henrique Correa escreveu:
> Is Python's Tutorial (by Guido) a good and complete reference for the
> language?
Good yes. Complete no.
I mean, after reading it, should I have a good basis on Python?
Yes if you know how to program on another language.
>
HTH
Paulo
--
https
On Wednesday, 6 January 2016 18:37:22 UTC-8, high5s...@gmail.com wrote:
> I have a list of 163.840 integers. What is a fast & pythonic way to process
> this list in 1,280 chunks of 128 integers?
Thanks all for your valuable input - much appreciated!
--
https://mail.python.org/mailman/listinfo/p
That's an awesome response!
On Jan 7, 2016 6:35 AM, "Chris Angelico" wrote:
> On Thu, Jan 7, 2016 at 2:20 PM, Henrique Correa wrote:
> > Is Python's Tutorial (by Guido) a good and complete reference for the
> > language? I mean, after reading it, should I have a good basis on Python?
> >
> > I'v
create multi platform desktop application by using Python, HTML, CSS and
Javascript.
source code is https://github.com/smoqadam/PyFladesk
you can find RSS Reader app that made by PyFladesk in the following url :
https://github.com/smoqadam/PyFladesk-rss-reader
I'll waiting for your feedback.
On Thursday, January 7, 2016 at 5:06:07 PM UTC-5, Steven D'Aprano wrote:
> On Fri, 8 Jan 2016 04:23 am, Robert wrote:
>
> > Hi,
> >
> > I am using a download package. When I read its code, see below please, I
> > don't know what 'sample' is:
> >
> >
> > --
> > model = hmm.GaussianHMM(n_
On Fri, 8 Jan 2016 04:23 am, Robert wrote:
> Hi,
>
> I am using a download package. When I read its code, see below please, I
> don't know what 'sample' is:
>
>
> --
> model = hmm.GaussianHMM(n_components=4, covariance_type="full")
When I try running that code, I get an error:
py> m
In Robert
writes:
> I am using a download package. When I read its code, see below please, I
> don't know what 'sample' is:
> --
> model = hmm.GaussianHMM(n_components=4, covariance_type="full")
> model.startprob_ = startprob
> model.transmat_ = transmat
> model.means_ = means
> mode
On Thursday, January 7, 2016 at 12:24:53 PM UTC-5, Robert wrote:
> Hi,
>
> I am using a download package. When I read its code, see below please, I
> don't know what 'sample' is:
>
>
> --
> model = hmm.GaussianHMM(n_components=4, covariance_type="full")
>
> model.startprob_ = startprob
On Fri, Jan 8, 2016 at 3:50 AM, Robert wrote:
> Hi,
>
> I see the following code. After searching around, I still don't know the
> meaning of '.'. Could you tell me that ? Thanks,
>
>
>
>
>
> from . import _hmmc
> from .utils import normalize
That's called a package-relative import.
https://www.
Hi,
I see the following code. After searching around, I still don't know the
meaning of '.'. Could you tell me that ? Thanks,
from . import _hmmc
from .utils import normalize
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Jan 6, 2016, at 18:37, William Ray Wing wrote:
> Is this a typo or did you really mean /private/vars? That is, did your
> create a “vars” directory under /private at some point in the past
> (pre-Yosemite)? The usual directory there would be /var
>
> In any case, the whole /private direc
I think I figured out the real problem, you can see my post here:
http://stackoverflow.com/questions/34645512/scipy-imshow-conflict-with-el-capitan-sip-and-var-folders/34646093#34646093
Thanks again for helping to guide me in the right direction.
--
https://mail.python.org/mailman/listinfo/pytho
On 7 January 2016 at 08:37, Steven D'Aprano wrote:
> On Thu, 7 Jan 2016 01:45 am, Oscar Benjamin wrote:
>
>> On 4 January 2016 at 02:40, mviljamaa wrote:
>>> I'm forming sets by set.adding to sets and this leads to sets such as:
>>>
>>> Set([ImmutableSet(['a', ImmutableSet(['a'])]), ImmutableSet(
On Thu, Jan 7, 2016 at 2:20 PM, Henrique Correa wrote:
> Is Python's Tutorial (by Guido) a good and complete reference for the
> language? I mean, after reading it, should I have a good basis on Python?
>
> I've came from js and php, and already know the very basics of py.
>
> Thank you!
If by "g
Is Python's Tutorial (by Guido) a good and complete reference for the
language? I mean, after reading it, should I have a good basis on Python?
I've came from js and php, and already know the very basics of py.
Thank you!
--
https://mail.python.org/mailman/listinfo/python-list
Chris Angelico :
> However, none of these will compare *equal* to the Boolean values True
> and False, save for the integers 1 and 0. In fact, True is a special
> form of the integer 1, and False is a special form of the integer 0;
Stirring the pot:
>>> (2 < 3) is True
True
but is that gu
ast wrote:
> Hello
>
> For integer, 0 is considered False and any other value True
>
A=0
A==False
> True
A==True
> False
A=1
A==False
> False
A==True
> True
>
> It works fine
But not the way you think:
>>> 0 == False
True
>>> 1 == True
True
>>> 2 == True
False
>>
Hello
For integer, 0 is considered False and any other value True
A=0
A==False
True
A==True
False
A=1
A==False
False
A==True
True
It works fine
For string, "" is considered False and any other value True,
but it doesn't work
A = ""
A==False
False
A==True
False
A = 'Z'
A==False
F
On Thu, Jan 7, 2016 at 9:14 PM, Marko Rauhamaa wrote:
> Marko Rauhamaa :
>
>> Chris Angelico :
>>
>>> you ask the correct question of "why isn't my CSS file being read?"
>>
>> TL;DR
>
> Sorry, getting confused with homonyms:
>
>
>>> CSS gurus suggest, along similar lines, changing the background c
high5stor...@gmail.com wrote:
> I have a list of 163.840 integers. What is a fast & pythonic way to
> process this list in 1,280 chunks of 128 integers?
What kind of processing do you have in mind?
If it is about numbercrunching use a numpy.array. This can also easily
change its shape:
>>> imp
Marko Rauhamaa :
> Chris Angelico :
>
>> you ask the correct question of "why isn't my CSS file being read?"
>
> TL;DR
Sorry, getting confused with homonyms:
>> CSS gurus suggest, along similar lines, changing the background color
>> of something to red.
Marko
--
https://mail.python.org/mailm
On Thu, Jan 7, 2016 at 8:33 PM, me wrote:
> On 2016-01-05, Chris Angelico wrote:
>> Oh, and then you keep editing and save again? Nah, I've *never* done
>> that... Never!
>
> I'm quite surprised, buddy. You should definitely try.
I know, right! It's so exciting to suddenly discover that you have
27 matches
Mail list logo