query: Why does this work in the Python IDLE shell but not when I run it as a Python script from the command prompt?
positive_passages.docid: 24614
positive_passages.text: Importing installed package from script raises "AttributeError: module has no attribute" or "ImportError: cannot import name"
negative_passages.docid: 126609
negative_passages.text: What is the difference between running "bash script.sh" and "./script.sh"?
negative_passages.docid: 127747
negative_passages.text: What does it do exactly if I click in the window of cmd?
negative_passages.docid: 35081
negative_passages.text: main() function doesn't run when running script
negative_passages.docid: 138416
negative_passages.text: How do I install Python IDLE?
negative_passages.docid: 29490
negative_passages.text: How to both display a command line's output on console and save the output into a text file?
negative_passages.docid: 139670
negative_passages.text: Why won't this command work?
negative_passages.docid: 63040
negative_passages.text: What is the difference between ./ and sh to run a script?
negative_passages.docid: 9919
negative_passages.text: Why do people write #!/usr/bin/env python on the first line of a Python script?
negative_passages.docid: 14304
negative_passages.text: Why does bash output data instead of executing, when a script is piped?
negative_passages.docid: 19682
negative_passages.text: Shell command fails from python, ok from shell
negative_passages.docid: 37827
negative_passages.text: Proper way to execute a script on system startup?
negative_passages.docid: 86391
negative_passages.text: Why are non-environment variables passed to the subshell invoqued by command substitution?
negative_passages.docid: 18978
negative_passages.text: Why is this bash prompt acting strangely/disappearing, and how do I fix it (OS X)?
negative_passages.docid: 145612
negative_passages.text: How do you open a command line?
negative_passages.docid: 136256
negative_passages.text: How to pass command line arguments to a shell alias?
negative_passages.docid: 7311
negative_passages.text: How to pass command line arguments to a Blender Python script?