Luke Paireepinart wrote:
> csv is comma-separated values, right?
> you should be able to just do a string replace of tabs -> commas on each
> line in the new file...
> or is the csv format more complicated than that?
Yes, it is more complicated than that because the data itself may
contain comma
Switanek, Nick wrote:
> I have a long tab-delimited text file that I’d like to convert into csv
> format so I can read it into a statistics package.
Are you sure the statistics package can't read tab-delimited data
directly? For example in R you can use read.delim().
> Here’s what I’ve tried to
Switanek, Nick wrote:
>
> I have a long tab-delimited text file that I’d like to convert into
> csv format so I can read it into a statistics package.
>
> I’ve been using Excel to do the format conversion up till now, but now
> I have more rows than Excel can handle, and would like to avoid going
I have a long tab-delimited text file that I'd like to convert into csv
format so I can read it into a statistics package.
I've been using Excel to do the format conversion up till now, but now I
have more rows than Excel can handle, and would like to avoid going
through Excel if possible.
I
Hi János,
Reportlab is a very complete PDF library, but it is not very simple, and
does not have shortcuts for what you need to do. You'd have to come up
with the code to get a fishbone diagram from the textfile. But it does
help you with the PDF.
There are some graphing packages, but they're
Hi Johan,
PPPoE is both in the Linux Kernel (for the low level work) and as some
executables and scripts.
It fou want to establish a connection from a Python script (E.G. ehn the
computer has no internet access and you need it) The best way would be
to call the appropriate utilities, and parse
I've found diff.py in Python25\Tools\Scripts. But I don't see how to use
it to find the differences between 2 files, say file1.txt and file2.txt.
I was hoping it would work like unix's diff, but could someone
explain?
Thanks,
Dick Moores
UliPad <>:
http://wiki.woodpecker.org.cn/moin/UliPad
_
Great, gents, thanks.
tried it out and is working fine, this will clean up a lot of stuff for me.
thanks for your help !
shawn
On 1/26/07, Wesley Brooks <[EMAIL PROTECTED]> wrote:
Greetings,
You could default it to None and check in your script to see if it has
changed.
def some_function(req
Greetings,
You could default it to None and check in your script to see if it has changed.
def some_function(req_var, req_var2, un_req_var=None):
if un_req_var != None:
dosomething
else:
dosomethingelse
Wesley Brooks.
On 26/01/07, shawn bright <[EMAIL PROTECTED]> wrote:
> lo
shawn bright wrote:
> lo there all,
>
> if i have a function that sometimes needs a value passed to it and
> sometimes not, is this where i use *args ?
No, use an optional argument.
>
> like this
>
> def some_function(req_var, req_var2, un_req_var):
> do some stuff
> return value
>
>
2007/1/26, shawn bright <[EMAIL PROTECTED]>:
lo there all,
if i have a function that sometimes needs a value passed to it and
sometimes not, is this where i use *args ?
No. *args is used if there are arguments that could occur more than once.
like this
def some_function(req_var, req_var2,
lo there all,
if i have a function that sometimes needs a value passed to it and sometimes
not, is this where i use *args ?
like this
def some_function(req_var, req_var2, un_req_var):
do some stuff
return value
how would i use this if sometimes i need to process un_req_var and sometimes
On Friday 26 January 2007 00:40, Alan Gauld wrote:
> "Shadab Sayani" <[EMAIL PROTECTED]> wrote
>
> > I got your point.But before inserting data I need to store it
> > into a file in a format supported by postgresql.Wont this
> > operation incur a performance hit as it includes writing
> > to a fi
Thanks again, that is a great help.
Wesley Brooks
On 26/01/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
> Wesley Brooks wrote:
> > Dear Users,
> >
> > I would like a class to inherit the methods from wxVTKRenderWindow,
> > but to add a few lines of code to __init__ . I would prefer not to
> > copy
Wesley Brooks wrote:
> Dear Users,
>
> I would like a class to inherit the methods from wxVTKRenderWindow,
> but to add a few lines of code to __init__ . I would prefer not to
> copy the whole init method from the inherited class into the
> inheriting class. What is the best approach for this? I g
Dear Users,
I would like a class to inherit the methods from wxVTKRenderWindow,
but to add a few lines of code to __init__ . I would prefer not to
copy the whole init method from the inherited class into the
inheriting class. What is the best approach for this? I guess that if
I have an init in th
Dan Klose wrote:
> Hi All,
>
> I am trying to break my nasty habit of doing EVERYTHING in perl and for
> this task I figure python is one of the better options.
>
> I would like to do several things:
>
> 1. take user input - this will be a password
> 2. use some sort of function that converts t
Hi All,
I am trying to break my nasty habit of doing EVERYTHING in perl and for this
task I figure python is one of the better options.
I would like to do several things:
1. take user input - this will be a password
2. use some sort of function that converts the unser input to * or the
typical
Wong Vincent wrote:
> Hi,
> If I use run a script which consist the following line:
> -->os.popen("python c:\\test.py")
>
> Is it possible for me to interrupt the pause/stop the running of
> "test.py" halfway?
Maybe this thread on c.l.python is helpful...
http://tinyurl.com/2bpvjo
Kent
__
On 1/26/07, OkaMthembo <[EMAIL PROTECTED]> wrote:
> how useable is vim on Windows?
Very! I've used Vim on Windows since the 5.3 version, it only gets
better. Like Alan said there is a learning curve, but once you've "got
it" there is no going back.
> i wish i could learn Unix. which distro do you
"Wong Vincent" <[EMAIL PROTECTED]> wrote
> If I use run a script which consist the following line:
> -->os.popen("python c:\\test.py")
>
> Is it possible for me to interrupt the pause/stop the running of
> "test.py" halfway?
There is a recipe for this somewhere.
I don't think you can do
"Shadab Sayani" <[EMAIL PROTECTED]> wrote
>
> I got your point.But before inserting data I need to store it
> into a file in a format supported by postgresql.Wont this
> operation incur a performance hit as it includes writing
> to a file which is on disk?
Unless your data is already in a
"OkaMthembo" <[EMAIL PROTECTED]> wrote
> how useable is vim on Windows?
Very usable.
I'm an old Unix user who used to use emacs primarily.
But when I moved to Windoze I found I didn't like emacs
as much so I moved to vim and I don't regret it.
> I saw on its site that it was developed
> prim
hi guys,
how useable is vim on Windows? i saw on its site that it was developed
primarily as a Unix tool.
i wish i could learn Unix. which distro do you think is good to learn? ive
been eyeing FreeBSD but ive got untouched Ubuntus.
thanks_up_ front()
"Shortash"
On 1/25/07, Mike Hansen <[EMAIL
On Thursday 25 January 2007 03:12, Shadab Sayani wrote:
> Hi,
> I am using vim editor to code my project in python.Is there a good IDE
> where in I type the name of the class object and then dot then all the
> attributes of the object are displayed so on.I tried to install IDLE but I
> have n
25 matches
Mail list logo