473,379 Members | 1,302 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,379 software developers and data experts.

Black window

Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!
Jul 18 '05 #1
8 1857
Gropius wrote:
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!

Check out py2exe
http://starship.python.net/crew/theller/py2exe/
Jul 18 '05 #2
> Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..
Jul 18 '05 #3
On Sun, 04 Jul 2004 18:02:00 GMT, "Gropius" <ab****@ghijl.it>
wrote:
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?


Use pythonw.exe to run it instead pf python.exe.
But of course any output will be lost! So you might want to run
it with redirection to a file.

Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
Jul 18 '05 #4
"Gropius" <ab****@ghijl.it> wrote in message news:<sC********************@twister2.libero.it>.. .
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!


In Win NT there are 3 ways to do this: run your application as NT
service, or write a GUI and make the main window hidden. Application
of the second type will work only if somebody is logged in on station,
but service will survive logouts.

L.E.
Jul 18 '05 #5
Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.

Jul 18 '05 #6
Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #7
Gropius wrote:
Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..

Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #8
Gropius wrote:
Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..

Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #9

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

Similar topics

12
by: Penna Elabi | last post by:
How do I create a style sheet with black background and white text?
2
by: D Cameron | last post by:
I'm using the (managed) Microsoft.DirectX.AudioVideoPlayback namespace to program an app where I want to quickly swap the video that is being displayed, playing the new video from the position...
7
by: JCL | last post by:
I have a winform and on this winform, I have a WebBrowser control. Users can browse the web through this form. Is there a way that I can make web pages show up as grey scale pages, with the color...
3
by: moondaddy | last post by:
I have some text in a page that when a certain even happens, I need to make it glow from black to red (through a spand of 1 second) pause for a few seconds, and then slowly change from red to black...
0
by: kris_scheyer | last post by:
Ok, here's what im trying to do: I have a machine running XP embedded that has a webserver. I have a button on the aspx web form that is supposed to capture the screen of the computer hosting the...
0
by: shandy.b | last post by:
Hi all. Here's the problem: I've got a black box and a bunch of particles in an environment. The particles go into the black box, follow a path, and pop out the end after some processing. ...
2
by: parasuram | last post by:
Hi friends ............. this is a question regarding the data structures trees Pleas post it if possible with in 2 days I will thankful if some body could help doing this. Operating...
2
luke14free
by: luke14free | last post by:
Hello guys, I've been searching for a method to hide the console (as c/c++ user would say) under windows, but i found nothing really helpful. What I found is: 1) I need to rename file as pyw. But...
12
by: icarus | last post by:
platform: windows xp professional, python 2.5, wxpython When I double-check on my program file test.py (for simplicity I'll be using this code below), I see the window just fine. But the ms-dos...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.