Unfortunately I am not able to inherit "stdscr" using that method. As
Python returns with an error stating that "stdscr" is not defined. This
error is returned at run time and by the compiler prior to actual
execution. If you would like I can write a quick example that will
generate the error messa
I can not get this to behave in the manor that I would like. I am trying
to have an object refereed to as CursesApp.Screen become the already
initialized object "stdscr". To elaborate I would like it to become that
object but to also be able to define additional methods and properties,
so more alon
As always, Alan has given a lot of great advice and useful information.
There's just one piece at the end I would question, however:
On 14-Jun-11 16:36, Alan Gauld wrote:
> python reader.py < `python writer.py`
Almost, but not quite. The backticks mean the command is executed and
the output
"Jacob Bender" wrote
I know how to do it in the command line, but not through another
program.
Generating the random tries for the password isn't the issue, but
entering
the password(s) in between the two programs is an issue because I
don't know
how to make programs communicate through raw
On 14-Jun-11 15:48, Steven D'Aprano wrote:
Normally you would do this by redirecting standard input. What operating
system are you using? In Linux, you would do something like:
# run script foo.py taking input from the output of bar.py
foo.py < bar.py
Actually, no, that will send the *source
Jacob Bender wrote:
Dear Python Tutors,
I was wondering how to break into my one program I made using brute force
methods. Here's the code:
password = "Helloworld"
try= raw_input("What's the password?")
while try != password:
try = raw_input("Incorrect, what's the password?")
I know how t
Susana Iraiis Delgado Rodriguez wrote:
Hello members!
I'm doing a script that needs to loop to get some information, in order to
do that I'm using modules from OGR and Mapnik. These to get data from
shapefiles, but some of the files have 0 elements, I wrote a line to
validate it, but it hasn't w
Dear Python Tutors,
I was wondering how to break into my one program I made using brute force
methods. Here's the code:
password = "Helloworld"
try= raw_input("What's the password?")
while try != password:
try = raw_input("Incorrect, what's the password?")
I know how to do it in the command
On Tue, Jun 14, 2011 at 2:59 PM, Susana Iraiis Delgado Rodriguez <
susana.delgad...@utzmg.edu.mx> wrote:
> Hello members!
>
> I'm doing a script that needs to loop to get some information, in order to
> do that I'm using modules from OGR and Mapnik. These to get data from
> shapefiles, but some of
On Tue, Jun 14, 2011 at 2:40 PM, Prinn, Craig
wrote:
> I am looking for a way to translate and ebcidic file to ascii. Is there a
> pre-existing library for this, or do I need to do this from scratch? If from
> scratch and ideas on where to start?
If the file is essentially a text file, I would re
-- Forwarded message --
From: Susana Iraiis Delgado Rodriguez
Date: 2011/6/14
Subject: Break stament issue
To: tutor@python.org
Hello members!
I'm doing a script that needs to loop to get some information, in order to
do that I'm using modules from OGR and Mapnik. These to get d
On 14-Jun-11 11:40, Prinn, Craig wrote:
I am looking for a way to translate and ebcidic file to ascii. Is there
a pre-existing library for this, or do I need to do this from scratch?
If from scratch and ideas on where to start?
Bear in mind that there's no 100% straight-across translation, beca
Hello members!
I'm doing a script that needs to loop to get some information, in order to
do that I'm using modules from OGR and Mapnik. These to get data from
shapefiles, but some of the files have 0 elements, I wrote a line to
validate it, but it hasn't worked, so I added a break to keep working
I am looking for a way to translate and ebcidic file to ascii. Is there a
pre-existing library for this, or do I need to do this from scratch? If from
scratch and ideas on where to start?
thanks
Craig Prinn
Document Solutions Manager
Office Phone 919-767-6640
Cell Phone410-320-9962
Fax
Everything is clear now. Thank you for your replies.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 14 June 2011 15:20, amt <0101...@gmail.com> wrote:
>>> But I can't understand at line 2 and 3. I mean it makes no difference
>>> for me. Saying 30 or 30.0 is the same thing.
>>> As well as saying 97 or 97.0.
>>
>> Precisely, thats why I asked the question.
>
> As a beginner at line 2 and 3 I see
I too am working through Learn Python the Hard Way.
On Tuesday 14 June 2011 14:20:43 amt wrote:
> sadly the author of the
> book doesn't provide the solutions to the exercises.
He gives the answers to the questions in the main block of the chapter, just
not for the extra credit questions.
I hav
On Tue, Jun 14, 2011 at 12:27 AM, Alan Gauld wrote:
>
> I can understand why at line 5 I use floating point. 6,75 is more
>> precise than saying 7.
>>
>
> Exactly, no problem with line 5 (except the odd comment about 6.83)
The comment on line 5 was a mistake.
>
> But I can't understand at lin
18 matches
Mail list logo