of understanding the geo system, but also how
to code it, what libraries are smartest to use etc.
Hope you can help me in any direction :)
/Kasper
--
https://mail.python.org/mailman/listinfo/python-list
every time i run the program i get this messeage:
Traceback (most recent call last):
File "smartmirror.py", line 159, in get_weather
temprature2 = "%S%S" % (str(int(weather_obj['currently']['temperature'])),
degree_sign)
KeyError: 'currently'
Error: 'currently'. Cannot get weather.
How do i
Thanks! This helped me!
--
https://mail.python.org/mailman/listinfo/python-list
Hi!
How can i make the score stop blinking and how can i make a high score table,
in this game made with python? (this game is made on a Macbook)
(there are some files in the game that i don't haven't copied into this file!
like pyth.GIF)
Hello all,
I have some major problems with something i am not good at :(
I have come to a situation where i have to add a COM server in my python code
the get access to it from Labview Teststand.
Firs i have tried with pythoncom/wincom and got it almost working, it
registered and i could look
vice where i can select which data to see and compare
and zoom in/ out etc.
I like to do it in Python - but maybe some else also?
Also i like as much as possible in some library / packages..
Any one who has experience?
best regards
/Kasper
--
https://mail.python.org/mailman/listinfo/python-list
ested function doesn't reference a given
> variable in the outer function, it doesn't get passed in.
Ok, that's good to know because it rules out doing this without having
an explicit reference to the variable in the inner scope. Thanks.
Cheers,
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
bject either, so it's kinda important to make the user feel
'at home'.
Hope this makes it more clear, thanks for your patience.
Cheers,
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
some completely different way to transfer
> information around. Using locals in this way seems fraught with peril.
There might very well be...
Cheers,
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
am willing to elaborate on this if you want (I have fairly good
reasons to do things this way, mostly having to do with historical
constraints of an older C library that I cannot avoid), but it
requires more space.
Cheers,
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
q=3
def fun2():
cfun()
fun2()
fun()
and access 'q' inside the C-function cfun(). If I simply let it call
PyEval_GetLocals, then the result will again not contain "q". Is there
any way in which I can convince python to pull 'q' into the local
I was playing around with lambda functions, but I cannot seem to fully grasp
them. I was running the script below in Python 2.7.5, and it doesn't do what
I want it to. Are lambda functions really supposed to work that way. How do
I make it work as I intend?
f = []
for n in range(5):
f.append(
summary of
>
> the alternatives at
>
> http://mcuee.blogspot.fi/2011/04/python-and-usb-hid-device.html if that
>
> helps.
Hi,
Thx, i have been looking at this... but could not fint the way to send feature
reports, does anyone have an example?
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
without HID support?
Br.
Kasper
--
https://mail.python.org/mailman/listinfo/python-list
this in C, but I must admit,
I don't know if it can be done in Python as well.)
--
Kasper Dupont
Note to self: Don't try to allocate
256000 pages with GFP_KERNEL on x86.
--
http://mail.python.org/mailman/listinfo/python-list
15 matches
Mail list logo