473,598 Members | 3,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LocaWapp: localhost web applications (v.03 - 2005 Dec 31)

http://cheeseshop.python.org/package...wapp-03.tar.gz
LocaWapp: localhost web applications (v.03 - 2005 Dec 31)

Copyright (c) 2005 RDJ
This code is distributed for your utility but WITHOUT ANY WARRANTY.

http://LocaWapp.blogspot.com
----------------------------
- Run:

python run.py

- and browse:

http://localhost:8080/locawapp/main.py

- You can change the port:

python run.py 8081

- You can develope with this framework:

HTML(CSS,JS) + Python = LocaWapp
--------------------------------
- Put your application folder in root directory:

[your_applicatio n]
[locawapp]
.....__init__.p y
.....common.py
.....main.py
.....[static]
.........logo.g if
.........main.c ss
.........main.j s
README.txt
run.py

- Your application must have "init" and "main" files (for convention):

[your_applicatio n]
.....__init__.p y
.....main.py
.....other web applications (ex. main2.py)
.....your files or folders (ex. your [static])

- main.py is a web application, then it has "locawapp_m ain" function:

def locawapp_main(r equest):
[...]
html = [...String...]
return lwa.makeRespons e(html)

- See locawapp.main.p y and locawapp.common .py

- You can find me in "comp.lang.pyth on" newsgroup
-------------------------------------------------
- New applications:

lwaUtils - LocaWapp Utilities
lwaUtils.files. py - files manager (under costruction)
lwaUtils.editor .py - source editor (under costruction)

Jan 1 '06 #1
0 1019

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

Similar topics

1
1080
by: LocaWapp | last post by:
LocaWapp: localhost web applications V.0.0.1 (2005 Dec 10) Copyright (C) 2005 RDJ This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. http://LocaWapp.blogspot.com ----------------------------
6
3617
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
0
1682
by: . | last post by:
http://daviderognoni.blogspot.com?locawapp - MAIN NEWS =========== * add thread * add "Request" object * new "locawapp_main" function * fixed files.py
0
964
by: . | last post by:
http://daviderognoni.blogspot.com?locawapp - MAIN NEWS =========== * add thread * add "Request" object * new "locawapp_main" function * fixed files.py
0
896
by: . | last post by:
http://daviderognoni.blogspot.com?locawapp - MAIN NEWS =========== * add ajax * new "Request" methods * fixed editor.py * fixed files.py
0
1121
by: tc | last post by:
I am trying to publish my VB6.0 app using the MS article "Automatically Updatng Visual Basic 6 Applications: Part I, By Scott Swigart. http://msdn.microsoft.com/vstudio/default.aspx?pull=/library/en-us/dnvs05/html/AutoUpdatVB6apps.asp I am configured as recommended in the article (VB 6.0, VB 2005 Exp., ..NET Framework 2.0 on XP Pro.) And it works just fine on my local system. The problem is when I publish to my remote website.
6
7966
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as "include not found", rather much of the page is blank where the included menus, etc would be, and the CSS is not attached. thanks so much!!! My httpd.conf looks like this:
3
2893
by: Blasting Cap | last post by:
I'm using VS 2005, SQL 2005 reporting services. SQL reporting services is working, and I have it both on my local computer, as well as on a server. I've created a report in the SQL Business Intelligence development studio that works in that environment. I've uploaded the same report to both the Reporting services on my local computer as well as the server, and can log in to them and run the
0
1065
by: Phill W. | last post by:
I've been using Remoting in VB 2003 app's for a while now. Over the last couple of days, I've been playing around, trying to use Remoting to talk to a '2005 Windows Service. If I set up the client with a configuration file ... <configuration> <system.runtime.remoting> <application>
0
7902
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8395
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8050
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8265
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5438
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3898
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3939
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1504
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1250
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.