Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-3.x.
3
votes
Prints matrix with different random numbers in each column
The random.shuffle method could be very useful here to get a random ordering of the integers from 1 to n without having to track what you've already used, and therefore make your code a lot more conci …
3
votes
Get conjugations of French verbs using a HTML parser
These statements will appear in every Python module you ever write, so save yourself the trouble. You can assume the person reading your code has a fundamental grasp of the language. … The PEP8 Style Guide for Python (https://www.python.org/dev/peps/pep-0008/) recommends keeping each line to a maximum of 80 characters, so I recommend keeping your comments on separate lines except in …
3
votes
Periodic Table of Elements (Python-tkinter)
Cool project!
I would definitely bring all of the hard-coded information about the elements to the top of the module, this will make your code much more readable as well as enabling you to make it sho …
1
vote
Windows 10 wallpaper-scroller script with Gif support
Refer to PEP8 (https://www.python.org/dev/peps/pep-0008/) and read other people's Python code for conventions around spacing in function definitions, etc. …