"Sriram Jaju" wrote
I'm new to python. I'm doing a project on OCR (Optical Character
Recognition), I've heard a lot about Python so i want to know
whether i can
use python for OCR.
That depends a lot on the environment. What OS will you be using?
What are you doing exactly? Are you actually
"Shashwat Anand" wrote
My another doubt is that, can i use python for programming
microcontrollers
You bet.
Really? How would he go about that?
I've not seen (or even heard of) Python used in that role before.
Alan G
___
Tutor maillist - T
I'm using windows7. I'm doing a robotic project in which a robot has to take
instruction from images which are taken by camera.
image consists of characters like 'START', 'STOP' etc.
On Mon, Feb 7, 2011 at 2:25 PM, Alan Gauld wrote:
> "Sriram Jaju" wrote
>
> I'm new to python. I'm doing a proje
I am trying to write a function...(it's kind of like a long way to do BLAST but
only comparing 2 sequences)
I have 3 loops nested...Within those loops, I obtain a "best fit score" so to
speak.
I can get the program to run...but the loops run all the way to the end. I
can't figure out how to
On Mon, 7 Feb 2011, Ashley F wrote:
To try to clear this up...
The part of my pseudocode that I'm having trouble putting into actual code in
python is:
"if that alignment has the best score seen so far
save the score and that alignment"
Tip: It's helpful to send code, like perhaps the
On 02/07/2011 10:33 AM, Ashley F wrote:
I am trying to write a function...(it's kind of like a long way to do
BLAST but only comparing 2 sequences)
I have 3 loops nested...Within those loops, I obtain a "best fit
score" so to speak.
I can get the program to run...but the loops run all the way to
"Wayne Werner" wrote
You probably want to add a sentinel to break out of the outer
loops too:
found = False
highscore = 0
alignment = somealignment
for x in something and not found:
for y in somethingelse and not found:
for z in evenmoresomething:
if x+y+z > hig
ok...here's the function I've written so far.
def padWithGaps(seq):
for letter in seq:
letter="-"
line=len(seq)
dashline=line*letter
return dashline
def replace(someString,position,letter):
first=someString[0:position]
second=letter
third=someString[posi
Alan Gauld wrote:-
> "Wayne Werner" wrote
> found = False
> > highscore = 0
> > alignment = somealignment
> > for x in something and not found:
> > for y in somethingelse and not found:
> > for z in evenmoresomething:
> > if x+y+z > highscore:
> > hi
Hello Everybody,
I am working on a little project centered on PyS60, developing applications
for symbian phones.
Before I start asking questions pertaining to that, I would like to first
clarify if it is appropriate to post such questions here.
If it is a yes, then, my subsequent mails would be
I'm not sure of the answer to your question, because i'm not sure I
understand it. Perhaps you could rephrase it?
But, there is some other stuff I noticed though:
def padWithGaps(seq):
for letter in seq:
letter="-"
line=len(seq)
dashline=line*letter
return dashli
Hi I have a problem in JES getting a solution to a function. Is there a way you
guys can help?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 2/7/2011 2:45 PM, Eun Koo wrote:
Hi I have a problem in JES getting a solution to a function. Is there
a way you guys can help?
Maybe.
You might say more about the problem.
What is JES and how does it relate to Python?
--
Bob Gailer
919-636-4239
Chapel Hill NC
_
Eun Koo, 07.02.2011 20:45:
Hi I have a problem in JES getting a solution to a function. Is there a way you
guys can help?
If you can provide enough information for us to understand what your
problem is, we may be able to help you. It's a matter of politeness to help
us help you. The more wor
Alan Gauld wrote:
"Wayne Werner" wrote
You probably want to add a sentinel to break out of the outer
loops too:
I don't think you want to break out of *any* of the loops. Otherwise you
will skip testing combinations. In your example, the first time you set
highscore and alignment, you break
Dipo Elegbede wrote:
Hello Everybody,
I am working on a little project centered on PyS60, developing applications
for symbian phones.
Before I start asking questions pertaining to that, I would like to first
clarify if it is appropriate to post such questions here.
This is a mailing list abou
Eun Koo wrote:
Hi I have a problem in JES getting a solution to a function. Is there a way you
guys can help?
Probably not. This is a mailing list about learning the language Python,
not specific to JES (whatever that is!) under Jython. If JES has a
support forum dedicated to it, you should
Ashley F wrote:
ok...here's the function I've written so far.
def padWithGaps(seq):
for letter in seq:
letter="-"
line=len(seq)
dashline=line*letter
return dashline
I don't think that's a useful function. It seems to do a HUGE amount of
work that just keeps get
"Steven D'Aprano" wrote
I don't think you want to break out of *any* of the loops. Otherwise
you will skip testing combinations.
In that case I misread the OP. I thought he specifically wanted
to avoid testing all the options and exit when he reached his target.
In your example, the first t
Hello all,
Don't know if I'll be bashed on this forum for doing this,
but I will assure you I have the best intentions and
simply want to apply a real world problem and how to go about solving it
using python3.1. Here is my predicament.
A good friend of mine locked herself
Some high profile ruby hackers have put together a pretty snazzy set of
vim/gvim configs together on github at
https://github.com/carlhuda/janus
On the topic of configuring Capslock to be an escape key, it's because
that's where the "meta" key used to be on old school unix keyboards, and so
it ma
On Mon, Feb 7, 2011 at 10:15 PM, Nevins Duret wrote:
> Hello all,
>
>
>
> Don’t know if I’ll be bashed on this forum for doing this,
> but I will assure you I have the best intentions and
>
> simply want to apply a real world problem and how to go about solving it
> using python3.1
Also, If you can install a second version, then you should be able to
mount the other version you're locked out of, then recover your files,
and reinstall.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.
And I forgot, that you don't have to install another version, but just
boot from the live disk, and mount the partition. But from looking,
you should be able to recover with linux utilities. Look here:
http://aplawrence.com/Linux/lostlinuxpassword.htmlhttp://aplawrence.com/Linux/lostlinuxpassword.
Hi:
I am relatively new to Python and have been recently trying to experiment
with its zipfile capabilities. However, everytime I try to open a zip (
using method zipfile.ZipFile(open('zipfile.zip','r')) ) I continue to get an
error message that states:error: unpack requires a string argument of l
25 matches
Mail list logo