About 53,200 results
Open links in new tab
  1. Beginner Python Practice? - Stack Overflow

    Jul 10, 2010 · I learned python from Guido's tutorial, which is a good place to start (a C programmer will feel right at home). python is also a great tool for making models -- physical, …

  2. Should I use a main() method in a simple Python script?

    Apr 4, 2011 · I always write a main() function (appropriately named), and put nothing but command-line parsing and a call to main() in the if __name__ == '__main__' block. That's …

  3. How can I distribute python programs? - Stack Overflow

    Installing Python + dependencies + the app itself (whether through distutils, etc, or just a zip file) is more involved, especially if the developer isn't able to manually configure the target machine …

  4. What are good programming questions to exercise the use of "if

    Sep 26, 2015 · 12 What would be a good set of programming exercises that would help Python newbies to learn the use of the "if ... else" construct? I could cook up the following, do you …

  5. What's the official way of storing settings for Python programs?

    72 Django uses real Python files for settings, Trac uses a .ini file, and some other pieces of software uses XML files to hold this information. Are one of these approaches blessed by …

  6. Importing modules in Python - best practice - Stack Overflow

    I am new to Python as I want to expand skills that I learned using R. In R I tend to load a bunch of libraries, sometimes resulting in function name conflicts. What is best practice in Python. I h...

  7. Passing data between separately running Python scripts

    May 9, 2017 · 11 If you wanna read and modify shared data, between 2 scripts, which run separately, a good solution is, take advantage of the python multiprocessing module, and use …

  8. python - Using logging in multiple modules - Stack Overflow

    I have a small python project that has the following structure - Project -- pkg01 -- test01.py -- pkg02 -- test02.py -- logging.conf I plan to use the default logging module to print me...

  9. python - What is the best way to structure a Tkinter application ...

    Jul 4, 2013 · Python, as a language, is special in that there are some strong guidelines as to how you should format your code. The first is the so-called "Zen of Python": Beautiful is better than …

  10. Best online resource to learn Python? - Stack Overflow

    Mar 8, 2012 · Google's Python Class Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class …