Yes, CherryPy is an excellent, and uniquely straightforward tool for writing a
database-driven web application. I'd start looking into things like Django for
larger sites where you also want templating, and client-side interactivity
through JavaScript etc.
In my simple CherryPy apps, I use Pyth
On Jan 28, 2008 7:35 PM, Terry Carroll <[EMAIL PROTECTED]> wrote:
> It looks like the leading candidates here are Turbogears and Django.
This s a results of trying and sometimes using these frameworks over 3
years now. I sometimes thoughtfully evaluate all my options before
choosing, other times,
"Damian Archer" <[EMAIL PROTECTED]> wrote
> Now when i write something in Notepad, how do i then open that so it
> runs in
> IDLE??
Just use File->Open and then Run->Run Module
But better still don't use Notepad. The editor in IDLE is
far better than Notepad for editing Python code!
Alan G.
Guys,
Thanks for your help on my last question, got a few projects in mind now.
I usually work on Linux(Fedora) enviroment, i have no trouble with running
scripts/programs i write. But i have now got IDLE on my Windows build.
Now when i write something in Notepad, how do i then open that so it r
On Mon, 2008-01-28 at 16:35 -0800, Terry Carroll wrote:
> - this application will be query-only; no updating, adding or deleting.
> - the database is SQLite.
> - security and authentication are not important; there's no private data
> here, I'm the only user, and I'm firewalled. If a particul
Michael Langford wrote:
> Django: You can run a newspaper off this. A number of people do, as a
> matter of fact, the framework came out of newspapers. If you need to
> do something other than running a newspaper, this probably isn't for
> you.
Not for you, perhaps, but certainly many people find
Use pyserial:
http://pyserial.sourceforge.net/
Use struct.pack:
http://docs.python.org/lib/module-struct.html
The format string will depend whether you need little or big endian.
--Michael
On Jan 29, 2008 4:13 PM, shawn bright <[EMAIL PROTECTED]> wrote:
> Thanks for your reply.
> i ne
Thanks for your reply.
i need to do this in python because python is what scripting language
our data I/O system is written in.
i am writing a command out over a serial port that tells an RTU to
change part of it's program. I am not sure what you mean by using it
in any other python context, this i
> Hello there all.
>
> I have a need to make a hi byte and lo byte out of a number.
>
> so, lets say i have a number 300, and need this number to be
> represented in two bytes, how do i go about that?
First question. Why would you need to do this in python? Second question. If
you could do that,
Hello there all.
I have a need to make a hi byte and lo byte out of a number.
so, lets say i have a number 300, and need this number to be
represented in two bytes, how do i go about that?
thanks for any tips,
sk
___
Tutor maillist - Tutor@python.or
ok, was using pyserial, but was not using struct.pack.
thanks
sk
On Jan 29, 2008 3:16 PM, Michael Langford
<[EMAIL PROTECTED]> wrote:
> Use pyserial:
>
> http://pyserial.sourceforge.net/
>
> Use struct.pack:
>
> http://docs.python.org/lib/module-struct.html
>
> The format string will depend whethe
Greetings,
I'm having a problem with the following test.
I make a dictionary with 19 keys (1 to 19).
Each key has a list of 7 numbers (A to G)
# Set up the table
#key# A B C D E F G
tablE= {1:[ 0, 2, 0, 0, 0, 0, 0],# 1
2:[ 1, 3, 3, 0, 0, 0, 0],# 2
3:[ 2, 0, 5,
bhaaluu wrote:
> if keY == 6 or keY == 11 or tablE.values()[keY-1][6] != 0:
> tablE.values()[5][6] = 0
> tablE.values()[10][6] = 0
This is not the right way to access the values of a dict. tablE.values()
is a list of the values in tablE, but it is not in the order you expect;
Hello friends,
I hve a GUI where i have start button and stop button. When i press
start button one thread is created and it is executing some background task
and when i press stop button that thread is stopped/killed. These two things
are working properly. But i have to implement pause but
On 30/01/2008, Varsha Purohit <[EMAIL PROTECTED]> wrote:
> Hello friends,
> I hve a GUI where i have start button and stop button. When i press
> start button one thread is created and it is executing some background task
> and when i press stop button that thread is stopped/killed. These t
Varsha Purohit wrote:
> Hello friends,
> I hve a GUI where i have start button and stop button. When i
> press start button one thread is created and it is executing some
> background task and when i press stop button that thread is
> stopped/killed. These two things are working properly
hi
i am developing a GUI application in python(tkinter)
i want to know how to make the python program as a application ie i want to
make it executable
please guide me
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tuto
17 matches
Mail list logo