Questions tagged [pythonw]

82 questions
0
votes
1 answer

pygame program exits with no error message when run with pythonw

I'm trying to run a pygame program using pythonw to avoid having the console window show up. This causes a weird issue related to print statements. Basically, the program will just exit after a few seconds with no error message. The more printing I…
0
votes
1 answer

Package Python 3 executable that does not require programming knowledge

I would like to send my Python3 script to my father-in-law and grandmother. Each has their own Windows machine, one is running Windows 7 and the other is running XP. Not sure how to package it up for them to run on their respective machines. Is…
Rudy
  • 23
  • 6
0
votes
2 answers

Python script displays output in command window but nothing shows in Windows

I've written a script that works great at a command prompt, but it only displays the last line if I double click on the script.py icon on my desktop. The function in the script runs perfectly but once it finds a match it's supposed to display the…
Tensigh
  • 1,030
  • 5
  • 22
  • 44
0
votes
1 answer

Code that works with python and not with pythonw

I am writing a script and I want it to run in the back ground and to manifest itself every 6 hours. I don't want to have an opened console all the time, I want tkinter to pop a window in which it prints the output of the script that i can then close…
Dronan
  • 5
  • 3
0
votes
1 answer

GUI program with toggable console?

I've seen some apps allow you to show/hide the console when you need to read log messages. For example Blender3D allows that (blender.org). I was wondering if this can be done in Python and how. My main window is a Panda3D (panda3d.org) window. I've…
user975135
-1
votes
2 answers

How to stop Python Crashes on exit

After a script runs, the Python instance crashes. Error Signature is: AppName pythonw.exe AppVer 0.0.0.0 ModName:ntdll.dll ModVer 5.2.3790.3959 Offset 00020d8e The script sometimes works fine, then other crashes. It launched from with Spyder. When…
Merlin
  • 24,552
  • 41
  • 131
  • 206
-1
votes
1 answer

Arguments not read when sent to pythonw from the CMD window

I am trying to send 3 arguments to pythonw program when running the progam from the CMD prompt in Windows 10. My code is: import sys from PyQt4.QtCore import (QTimer, Qt) from PyQt4.QtGui import (QApplication, QLabel) arg_no= len(sys.argv) app =…
Philip Whitten
  • 293
  • 2
  • 16
1 2 3 4 5
6