On Thu, May 28, 2015 at 04:26:26PM -0600, Yongnuan Liu wrote:
> Hi Everyone,
>
> I am new to Python. I just downloaded Python 2.7.10. I am very frustrated
> on starting programming. Here are some questions which I hope you can help
> me with?
>
> 1. Could someone recommend me a more user friendl
Mark Lawrence writes:
> On 29/05/2015 01:16, Felix Dietrich wrote:
>
>> True, but the /optparse/ module does not appear to be part of Python
>> 2.6. ("new in version 3.2")
>
> If you mean argparse you're correct, but it's in 2.7. My point is
> that there's not much use writing code now with a de
richard kappler writes:
> If I run my script to open a file in Documents/MyScripts/fileMonitor which
> is where I'm doing my building and testing, with the variable rd1 (however
> created, my way and ConfigParser way both work) from within
> Documents/MyScripts/fileMonitor, the script fails with
On 29/05/2015 01:15, Alan Gauld wrote:
On 28/05/15 23:26, Yongnuan Liu wrote:
I am new to Python. I just downloaded Python 2.7.10. I am very
frustrated
on starting programming.
Welcome.
Don't be surprised at being frustrated, many people find that
when starting out. We are all so used to com
On 29/05/2015 01:16, Felix Dietrich wrote:
Mark Lawrence writes:
optparse is deprecated, from
https://docs.python.org/3/library/optparse.html "Deprecated since
version 3.2: The optparse module is deprecated and will not be
developed further; development will continue with the argparse
module".
Mark Lawrence writes:
> optparse is deprecated, from
> https://docs.python.org/3/library/optparse.html "Deprecated since
> version 3.2: The optparse module is deprecated and will not be
> developed further; development will continue with the argparse
> module". argparse is here
> https://docs.py
On 28/05/15 23:26, Yongnuan Liu wrote:
I am new to Python. I just downloaded Python 2.7.10. I am very frustrated
on starting programming.
Welcome.
Don't be surprised at being frustrated, many people find that
when starting out. We are all so used to computers doing
very smart things that its
Hi Everyone,
I am new to Python. I just downloaded Python 2.7.10. I am very frustrated
on starting programming. Here are some questions which I hope you can help
me with?
1. Could someone recommend me a more user friendly python debugging tool?
2. Where to download the computing/plotting librar
CCing tutor list.
ASlways use ReplyAll (or ReplyList ) to include the list.
On 28/05/15 19:08, richard kappler wrote:
What I've tried (none worked):
file = open(rd1, 'r')
This should have worked.
What happened when you tried it? "Did not work" is a tad vague!
Traceback (most recent
On 28/05/2015 20:01, Felix Dietrich wrote:
richard kappler writes:
Now I've been tasked to change the script so that the script doesn't need
to be in the same directory as the log file, which makes perfect sense.
Furthermore, the path can't be hard coded into the script, but rather
should read
I found the problem, but the answer confuses me.
If I run my script to open a file in Documents/MyScripts/fileMonitor which
is where I'm doing my building and testing, with the variable rd1 (however
created, my way and ConfigParser way both work) from within
Documents/MyScripts/fileMonitor, the sc
richard kappler writes:
> Now I've been tasked to change the script so that the script doesn't need
> to be in the same directory as the log file, which makes perfect sense.
> Furthermore, the path can't be hard coded into the script, but rather
> should read the installer should be able to edit
Sorry Alan, I think I might have accidentally replied to only you. Love
your Python Projects book btw! Working through it now.
I've looked at, and played with a bit, ConfigParser and yes, it seems that
may be a better idea, thank you.
I still have the issue of how to get the path into my code, re
On 28/05/15 18:39, richard kappler wrote:
I've created a config file which the user would edit named fileMonitor.conf:
# line two is the absolute path to the log you are parsing data from
# keep 'rdfile:' as is, path starts after it, no spaces
rdfile:Documents/MyScripts/fileMonitor/log.txt
# li
This is a continuation of the read data script I asked for help on
yesterday, which works very well thanks to all the help from the list.
My script opens and reads in new lines from an in service log file,
extracts specific data, writes it to another file for analysis. All of that
works fine, test
Serge Christian Ibala wrote:
> Or what is the recommendation of Python for image processing?
Basic setup everyone should have:
Python
NumPy
SciPy (e.g. scipy.ndimage)
Cython
C and C++ compiler
matplotlib
scikit-image
scikit-learn
pillow
Also consider:
mahotas
tifffile (by Christoph Gohlke)
Ope
On Thu, May 28, 2015 at 1:05 PM, Terry Reedy wrote:
> On 5/28/2015 6:34 AM, Serge Christian Ibala wrote:
>
>
> I want to use the following package
>>
>> “numpy, matplotib, mahotas, ipython OpenCV and SciPy"
>>
>
> opencv seems to be the only one not available for 3.x.
>
>
OpenCV 3 (which is in
Hello All,
I want to know which version of Python is compatible (or can be associated
with which version of which "tools or package" for image processing)
I am working under Window and it is so complicated to find out which
version of which tool goes with which other version?
I want to use
On 28 May 2015 at 11:34, Serge Christian Ibala
wrote:
> Hello All,
>
> I want to know which version of Python is compatible (or can be associated
> with which version of which "tools or package" for image processing)
>
> I am working under Window and it is so complicated to find out which version
On 28 May 2015 at 09:16, Peter Otten <__pete...@web.de> wrote:
> ...but the obvious route is of course
>
>> It's usually fairly trivial to rearrange things so that this doesn't
>> happen:
>>
>> def wrap_header_footer(fin):
>> yield htbegin
>> for linelist in csv.reader(fin):
>> yiel
On 28 May 2015 at 03:12, Steven D'Aprano wrote:
> On Wed, May 27, 2015 at 11:27:46PM +0100, Oscar Benjamin wrote:
>
>> I'm just wondering what other people think about this. Should code
>> like make_lines below be discouraged?
>>
>> > def make_lines():
>> > with open('co2-sample.csv') as co2:
Oscar Benjamin wrote:
> On 23 May 2015 at 10:52, Peter Otten <__pete...@web.de> wrote:
> I'm just wondering what other people think about this. Should code
> like make_lines below be discouraged?
>> def make_lines():
>> with open('co2-sample.csv') as co2:
>> yield htbegin
>>
22 matches
Mail list logo