I have a python file that works correctly every time when run from the command line as "python file.py", but doesn't work properly when I run it with the python command line utility by double clicking it.Is there some environmental differences between the two methods of running the program?
Edit: The program is a packet sniffing utility (using scapy.sniff()) that sends results using a twisted server. The sniffing filter selects the correct packets when run from the command line, but not when opened in the python command line tool.