473,413 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

first interactive app

hi,
I want to write a tiny interactive app for the following situation:
I have books of many chapters that must be split into volumes before going
to the printer.
A volume can have up to 600 pages. We obviously break the book into volumes
only at chapter breaks. Since some chapters make a natural grouping, we want
some human interaction for where the volume breaks occur.

Not having experience with interactive apps, I'm asking for advice about how
to go about it. The data I start with is just a dictionary with chapter name
= ending page number. I figured I would first show where the volumes would
break with no human interaction, with the begin and ending chapter
names/pagenumbers for each volume.

From here I thought about having a slider for each volume, but the number of
volumes could change during the session.
Or maybe I should just ask 'enter the ending chapter for the first volume'
and recalculate, etc until all volumes are defined.

Any ideas on a simple interface for this?
thanks,
--Tim
Mar 26 '08 #1
4 1123
Hello Tim,
I want to write a tiny interactive app for the following situation:
I have books of many chapters that must be split into volumes before going
to the printer.
A volume can have up to 600 pages. We obviously break the book into volumes
only at chapter breaks. Since some chapters make a natural grouping, we want
some human interaction for where the volume breaks occur.

Not having experience with interactive apps, I'm asking for advice about how
to go about it. The data I start with is just a dictionary with chapter name
= ending page number. I figured I would first show where the volumes would
break with no human interaction, with the begin and ending chapter
names/pagenumbers for each volume.

From here I thought about having a slider for each volume, but the number of
volumes could change during the session.
Or maybe I should just ask 'enter the ending chapter for the first volume'
and recalculate, etc until all volumes are defined.

Any ideas on a simple interface for this?
How about something like:

Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Chapter 3 (300-450 150)
Chapter 4 (450-500 50)
------ 300-450 250 ----
Chapter 5 (500-600 100)
------ 500-600 100 ----

Where the user can move the divider up and down to create new volume,
they can also add and delete dividers.

The program will not allow to drag the divider above the 600 page
limit.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Mar 26 '08 #2

"Miki" <mi*********@gmail.comwrote in message
news:34**********************************@h11g2000 prf.googlegroups.com...
Hello Tim,
>>
<snip>
>Any ideas on a simple interface for this?
How about something like:

Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Chapter 3 (300-450 150)
Chapter 4 (450-500 50)
------ 300-450 250 ----
Chapter 5 (500-600 100)
------ 500-600 100 ----

Where the user can move the divider up and down to create new volume,
they can also add and delete dividers.

The program will not allow to drag the divider above the 600 page
limit.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Hi Miki,
that looks nice, simple, and intuitive. thanks for thinking about it.
Now to dive into some gui coding!

thanks,
--Tim
Mar 27 '08 #3
Hello Tim,
that looks nice, simple, and intuitive. thanks for thinking about it.
Thanks, glad I could help.
Now to dive into some gui coding!
IMO you can pull it off as a web application and then you won't need
to worry about cross-platform,
upgrades and all that interesting stuff.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Mar 27 '08 #4
On Mar 27, 4:22*pm, Miki <miki.teb...@gmail.comwrote:
Hello Tim,
that looks nice, simple, and intuitive. thanks for thinking about it.

Thanks, glad I could help.
Now to dive into some gui coding!

IMO you can pull it off as a web application and then you won't need
to worry about cross-platform,
upgrades and all that interesting stuff.
Chapter 1 (001-200 200)
Chapter 2 (200-300 100)
------ 001-300 300 ----
Does anyone want to see it under a graphics layer?
Mar 30 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Miki Tebeka | last post by:
Hello All, If there a way a script can tell Python to enter interactive mode even if the -i command line switch was not given? I want py2exe to create an interactive session, without writing...
20
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I...
2
by: Charles Krug | last post by:
List: I'm trying to us pylab to see what I'm doing with some DSP algorithms, in case my posts about convolution and ffts weren't giving it away. I've been using pylab's plot function, but I'm...
2
by: siggy2 | last post by:
Hi All, (sorry for my bad english) I wrote a __tiny__ and __stupid__ recursive script directly into pythonwin interactive window with a time.sleep(1) and a print before each recursion... I...
1
by: Nick Palmer | last post by:
As the title suggests, I've got a question about running an ASP.NET app on a server that has no interactive desktop login. In all our testing of our app here,the server always had an interactive...
2
by: WJ | last post by:
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a...
3
by: Lubomir | last post by:
Hi, I read that interactive windows services will not be allowed to run under Wista. I would like to ask what exactly is the interactive service. It is supposed to be a service that communicates...
13
by: dmh2000 | last post by:
I am experimenting with the interactive interpreter environments of Python and Ruby and I ran into what seems to be a fundamental difference. However I may be doing something wrong in Python....
8
by: james.kirin39 | last post by:
Hi everyone, After having used Python on Linux for some time, I now have to do Python coding on Windows. I am big fan of the interactive Python shell to test, eg, regexps. Is there an...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.