I guess, you will have to use list slicing mechanism to achieve the desired
result.
Hope this helps,
Cheers,
Kamlesh
On Sun, May 26, 2013 at 11:22 PM, RVic wrote:
> Suppose I have a deck of cards, and I shuffle them
>
> import random
> cards = []
> decks = 6
> cards = list(range(13 * 4 * d
There doesn't seem to be any direct way to achieve this.
Maybe you can do something like this:
import math
x = 3.05
if math.modf(x)[0] != 0.0: print x
Cheers,
-Kamlesh
On Mon, Oct 15, 2012 at 5:59 PM, Chris Rebert wrote:
> On Mon, Oct 15, 2012 at 5:12 AM, Neal Becker wrote:
> > Is ther
You can use paramiko module. Very easy to use.
On Thu, Oct 25, 2012 at 4:04 PM, Laszlo Nagy wrote:
> On 2012-10-25 12:16, Schneider wrote:
>
>> Hi Folkz,
>> how can i create a SSH-Connection with python? I have to send some
>> commands to the remote host and parse their answers.
>> greatz Joha