On Friday, October 27, 2017 at 3:35:45 PM UTC-5, Robert wrote:
> I read below code snippet on line. I am interested in the
> second of the last line: `cast=float`. I've tried it in
> Python. Even simply with: `float` It has no error, but what
> use is it?
>
> self.freqslider=forms.slider(
>
[rearranging for easier responding]
On 2017-10-27 13:35, Robert wrote:
> self.freqslider=forms.slider(
> parent=self.GetWin( ),
> sizer=freqsizer,
> value=self.freq,
> callback= self.setfreq,
> minimum=−samprate/2,
> maximum=samprate/2,
> num_steps=100,
> st
Il giorno venerdì 27 ottobre 2017 22:35:45 UTC+2, Robert ha scritto:
> Hi,
>
> I read below code snippet on line. I am interested in the second of the last
> line.
>
> cast=float ,
>
>
> I've tried it in Python. Even simply with
>
> float
>
>
> it has no error, but what use is it?
>
Hi,
I read below code snippet on line. I am interested in the second of the last
line.
cast=float ,
I've tried it in Python. Even simply with
float
it has no error, but what use is it?
I do see a space before the comma ','. Is it a typo or not?
Thanks,
self.freqslider=forms.sli