I have a file with with adjacency list of an undirected graph one vertex list
per input line [0 1, 1 2 3, 2 1, 3 1] assume a newline for commas (file is
named adjl.txt). Can some one give an example of loading this into graph of 4
vertices?
import igraph
g = igraph.Graph()
g.Read("adjl.txt", "e
Sorry to butt in but I am shopping for some ideas.
I am interested in putting together a programming course for non-
programmers (outside the computer science domain) based on Pyhton. I
envision the course
similar to ones that used old-Basic interpreter.
Any one out there has such a course (alrea
On Feb 8, 3:40 am, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-02-08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > struct module pack and unpack will only work for fixed size buffer :
> > pack('>1024sIL', buffer, count. offset) but the buffer size can vary
> > from one packet to the ne
On Feb 8, 1:43 am, Bjoern Schliessmann wrote:
> [EMAIL PROTECTED] wrote:
> > I want a specific packet format for packet exchange between a
> > client server across the network. For example frame format
> > as a python class could be:
> > class Frame:
> > def __init__(self, buffer=None, cou
I want a specific packet format for packet exchange between a client
server across the network. For example frame format
as a python class could be:
class Frame:
def __init__(self, buffer=None, count=0, offset=0):
self.buffer = buffer
self.count = count
karel wrote:
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Is there a function/module to find the login name of the user under
> > UNIX environment?
>
> who
> who am i
> finger
> id
I was talking about under python environment.
-ishwar
--
http://mail.python.org/mailman/li
Is there a function/module to find the login name of the user under
UNIX environment?
-ishwar
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to make prescript-2.2 (old python based psotscript to plain
text converter).
It gives the following dprecation message
/local/users/ishwar/prescript-2.2/misc.py:23: DeprecationWarning: the
regex module is deprecated; please use the re module
import os, regex, sys, string
if I start