You may want to check Urwid instead.
2018-07-11 16:22 GMT-03:00 Jim Lee :
> On 07/11/18 07:09, jkn wrote:
>
>> Hi All
>> This is more of a Tkinter question rather than a python one, I
>> think, but
>> anyway...
>>
>> I have a Python simulator program with a Model-View_Controller
>> architect
>>> repr(tuple(int(i) for i in s[1:-1].split(',')))
'(128, 20, 8, 255, -1203, 1, 0, -123)'
2018-05-21 4:26 GMT-03:00 Peter Otten <__pete...@web.de>:
> bruceg113...@gmail.com wrote:
>
> > Looking over the responses, I modified my original code as follows:
> >
> s = "(128, 020, 008, 255, -
Is there a rule of thumb in deciding where to install a package? What makes a
package, other than security vulnerabilities, better to install globally e.g.
using sudo pip install, or by changing directory to tmp folder, or by using
virtualenv?
Thank you python users, you're my only hope,
RAR
--
2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> Aside: you've actually raised a fascinating question. I wonder whether
> there
> are any programming languages that understand URLs as native data types, so
> that *source code* starting with http:
2017-01-04 7:39 GMT-03:00 Steve D'Aprano :
> On Wed, 4 Jan 2017 08:32 pm, Deborah Swanson wrote:
>
> Aside: you've actually raised a fascinating question. I wonder whether
> there
> are any programming languages that understand URLs as native data types, so
> that *source code* starting with http:
Long shot here: Create a JS framework for loading resources in a better way:
1. Load HTTP and your JS core.
2. Load the rest of the resources via JS (maybe using promises for chaining
the requests one after the other)
--
https://mail.python.org/mailman/listinfo/python-list
Maybe this is not a bug at all, but i have installed python2.5. 3.01
and 3.1.1. In python 2.5 ser. write('this is a string') works just
fine.
On the other hand, with 3.01 and 3.1.1 (pyserial 2.5 rc1) when i do a
ser.write('this is a string') i get the following error"
>>> import serial
>>> ser = s
Hi python-community,
I would like to ask you if someone know any open source softphone wrote
entirely in Python. The thing is that I want to write a honeyphone but
starting from a softphone. Sorry if you think that I haven't "googled"
enough.
Regards,
Rodrigo.
--
http://mail.pyt
ython VM could
communicate with the driver through the user space API. Is there a
Python module for that?
--
Rodrigo S. Wanderley
-- Blog: http://rsw.digi.com.br
--
http://mail.python.org/mailman/listinfo/python-list
structure is best for this?
>
> Keep the data redundantly in two data structures. Use collections.deque() to
> append and remove as in a queue, and set() to find duplicates.
>
what about heapq for sorting?
--
Rodrigo Lazo (rlazo)
--
http://mail.python.org/mailman/listinfo/python-list
the user/
pass into the script so I can get the page automatically?
(This is not a cracking attempt, I am trying to retrieve a page I have
legitimate access to, just doing it automatically when certain
conditions are met.)
Thanks,
Rodrigo
--
http://mail.python.org/mailman/listinfo/python-list
You're right of course, I was unclear. I wasn't using 'dict' to
override the dict clas, but just as a standin for the example (the
actual dictionary names are varied).
Thanks,
Rodriog
--
http://mail.python.org/mailman/listinfo/python-list
evan,
yes, it does help. Works like it should:
class CountingDictionary(dict):
def increment(self, key, delta=1):
self[key] = self.get(key, 0) + delta
d = CountingDictionary()
d.increment('cat')
d.increment('dog',72)
print d
>>> {'dog': 72, 'cat': 1}
Thanks!
--
http://mail.python
] = 1
else:
dict[whatever]={}
dict[whatever][someother] = 1
there must be a more compact, readable and less redundant way to do
this, no?
Thanks,
Rodrigo
--
http://mail.python.org/mailman/listinfo/python-list
You're right, Paul, Evan, James, I should just use a dictionary.
Thanks!
Rodrigo
--
http://mail.python.org/mailman/listinfo/python-list
on my own.
Thanks,
Rodrigo
--
http://mail.python.org/mailman/listinfo/python-list
We are glad to announce the Third PyConBrasil organised by the
Brazilian Python Community.
The event will take place from 2007-08-30 to 2007-09-01 at
Joinville city in Santa Catarina State (SC) in the
Brazil's south region.
The event home page is http://pyconbrasil.com.br/
We apologize b
Hi James,
Thanks for the answer, the ampersand only works if I use the show()
command at the end of my script. I guess that helps although I haven't
tested it with plotting subroutines.
cheers,
Rodrigo
On Mar 24, 6:50 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> Rodrigo Lopez
I
closed the figures.
My question is: is there a way to open those windows in the background
without blocking the shell and without running it interactively??
something like gnuplot -persist?
Thanks all,
Rodrigo Lopez-Negrete
--
http://mail.python.org/mailman/listinfo/python-list
want some classes to manage some kind of themplates (for MVC),
sessions, and if possible data persistence. I don't have root on these
servers and the admins won't install any application if I ask them, I need
to use just plain python files.
Thank you
--
Rodrigo DomÃnguez
Consultor
Av. Di
pes Mendes)
- Exploring Boa Constructor (Luciano Pacheco)
- Python refreshes your thinking (Osvaldo Santana Neto)
- Plone for Pythonistas (Fabiano "Xiru" Weimar dos Santos)
- Python-Fu inside Gimp (Joao S. O. Bueno Calligaris)
- The Language Boo by its Creator (Rodrigo "Bamboo
21 matches
Mail list logo