Simply use Netbeans
On Thu, Jan 24, 2013 at 10:09 PM, llanitedave wrote:
> On Thursday, January 24, 2013 7:54:55 AM UTC-8, rusi wrote:
>
> >
> > [I personally use emacs. It would be sadistic to make that into a
> >
> > recommendation]
>
> Lol! That's just too true. It's also true for Eclipse, w
On Thu, Oct 6, 2011 at 5:15 PM, Jeff Gaynor wrote:
> On 10/06/2011 08:34 AM, Kayode Odeyemi wrote:
>
>> Hello friends,
>>
>> I'm working on a pretty large application that I will like to use oauth2
>> on as an authentication and authorization mechanism.
>&
On Sat, Oct 8, 2011 at 10:37 AM, Peter Otten <__pete...@web.de> wrote:
> Kayode Odeyemi wrote:
>
> > On Sat, Oct 8, 2011 at 12:50 AM, Terry Reedy wrote:
> >
> >> That latter function probably want integers code in range(256).
> >
> >
> > Yes!
On Sat, Oct 8, 2011 at 12:50 AM, Terry Reedy wrote:
> That latter function probably want integers code in range(256).
Yes! Non-unicode. The source reads:
def _encrypt(self, m):
# compute m**d (mod n)
return pow(m, self.e, self.n)
>From the source, it is provided as is.
The ar
On Fri, Oct 7, 2011 at 7:23 PM, Ian Kelly wrote:
> On Fri, Oct 7, 2011 at 11:16 AM, Kayode Odeyemi wrote:
> > Hello everyone,
> >
> > I'm writing a fairly large app which uses Oauth (python-oauth2). I am
> trying
> > to generate a
> > public/pri
Hello everyone,
I'm writing a fairly large app which uses Oauth (python-oauth2). I am trying
to generate a
public/private key pair on user supplied parameters (whitespaced-delimited
strings basically).
When trying to encrypt the key, I'm getting the "unsupported operand type(s)
for pow(): 'unicod
Hello friends,
I'm working on a pretty large application that I will like to use oauth2 on
as an authentication and authorization mechanism.
I understand fairly the technology and I have written my own implementation
before I stumbled on python-oauth2.
I need advise on leveraging python-oauth2 a
On Tue, Sep 20, 2011 at 7:42 PM, MRAB wrote:
> On 20/09/2011 19:13, Kayode Odeyemi wrote:
>
> def transaction_queue(queue, item, timeout, block=False):
>> queue = multiprocessing.Queue()
>>
>
> This line creates a new empty queue, hiding the one which was passed in
On Tue, Sep 20, 2011 at 12:13 AM, Jordan Evans wrote:
> I want dynamically place the 'return' statement in a function via user
> input or achieve the same through some other means. If some other means,
> the user must be able initiate this at runtime during a raw_input(). This
> is what I have s
On Tue, Sep 20, 2011 at 12:13 AM, Jordan Evans wrote:
> I want dynamically place the 'return' statement in a function via user
> input or achieve the same through some other means. If some other means,
> the user must be able initiate this at runtime during a raw_input(). This
> is what I have s
Hello friends,
I'm writing some Python app that makes use of the multiprocessing and Queue
api to perform
transaction jobs.
My problem is that, the queue always report empty even though I can confirm
that there are items in it.
Below is the code I'm working with:
import multiprocessing
from mul
On Sun, Sep 18, 2011 at 11:22 AM, Vincent Vande Vyvre <
vincent.vandevy...@swing.be> wrote:
> **
> Le 18/09/11 11:39, Kayode Odeyemi a écrit :
>
> items = {'fees':[('status','pending'), ('timeout',60)],
> 'hostel':[('stat
On Sun, Sep 18, 2011 at 11:25 AM, Vincent Vande Vyvre <
vincent.vandevy...@swing.be> wrote:
> **
> Le 18/09/11 11:39, Kayode Odeyemi a écrit :
>
> Hi all,
>
>
> If I have a list with key/value pair, how do I get the value of the key?
>
>
> I'm work
On Sun, Sep 18, 2011 at 11:22 AM, Vincent Vande Vyvre <
vincent.vandevy...@swing.be> wrote:
> **
> Le 18/09/11 11:39, Kayode Odeyemi a écrit :
>
> items = {'fees':[('status','pending'), ('timeout',60)],
> 'hostel':[('stat
Hi all,
If I have a list with key/value pair, how do I get the value of the key?
I'm working with this code snippet:
>>> items = {'fees':[('status','pending'), ('timeout',60)],
'hostel':[('status',
'pending'), ('timeout','120')]}
>>> print [items[i] for i in items.keys()]
[[('status', 'pending'
On Tue, Sep 13, 2011 at 8:31 PM, Dave Angel wrote:
> I suspect you're just confused by things the interactive session is
> printing out, which are not part of the language, and work a bit
> differently.
You are right. This is where I missed it. The command interface requires a
print command, as
On Tue, Sep 13, 2011 at 5:46 PM, Prasad, Ramit wrote:
> >You should be passed super the current class you want the super class of,
> not the type of the super class. So it should be:
>
> >super(*B*, self).log('system') # Notice that it passed class B
>
> ** **
>
> Ugh, apologies for the po
On Sun, Sep 11, 2011 at 11:41 AM, Thomas Jollans wrote:
> On 11/09/11 10:18, Kayode Odeyemi wrote:
> > Hello friends,
> >
> > An instance of my subclass doesn't invoke its superclass method, except
> > when it is referenced
> > directly.
> >
> &
Hello friends,
An instance of my subclass doesn't invoke its superclass method, except when
it is referenced
directly.
Here is what I mean:
>>> class A(object):
... def log(self, module):
... return str('logged')
...
>>> class B(A):
... def __init__(self, module):
...
On Sat, Sep 10, 2011 at 12:58 PM, Kayode Odeyemi wrote:
> Hello,
>
> I'm testing Python's class abstractness and inheritance. Since interface
> doesn't exist, I will
> like to test how to have access to a superclass method from a subclass
> without neces
Hello,
I'm testing Python's class abstractness and inheritance. Since interface
doesn't exist, I will
like to test how to have access to a superclass method from a subclass
without necessary
invoking or overriding the superclass method in its subclass.
>>> class Equipment(object):
... def fau
You might want to have a look at this:
http://www.ccs.neu.edu/home/matthias/htdc.html
On Fri, Sep 9, 2011 at 2:37 AM, Chris Angelico wrote:
> On Fri, Sep 9, 2011 at 10:45 AM, Nobody wrote:
> > The Java compiler also acts as a "make" program. If it doesn't find
> > a .class file for a needed cla
On Tue, Sep 6, 2011 at 3:18 PM, Laszlo Nagy wrote:
> On 2011-09-06 15:42, Kayode Odeyemi wrote:
>
>> I was able to get this solved by calling class like this:
>>
>> >>> from core.fleet import Fleet
>> >>> f = Fleet()
>>
>> Thanks to
I was able to get this solved by calling class like this:
>>> from core.fleet import Fleet
>>> f = Fleet()
Thanks to a thread from the list titled "TypeError: 'module' object is not
callable"
On Tue, Sep 6, 2011 at 2:02 PM, Kayode Odeyemi wrote:
> Is
Is there anything I need to do to create an instance of a class?
I have this simple code(The class is in a package core.fleet):
class Fleet(object):
def __init__(self):
""" no-arg constructor """
def fleet_file_upload(self, filename, type=None):
if type == 'user':
On Fri, Aug 26, 2011 at 2:28 PM, Chris Angelico wrote:
> On Fri, Aug 26, 2011 at 10:58 PM, Travis Parks
> wrote:
> > I haven't gotten to the point where I can truly use the language
> > features to my full advantage. I haven't seen enough "tricks" to be
> > effective. I feel like there is so muc
26 matches
Mail list logo