text
stringlengths
200
200k
source
stringclasses
2 values
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Replacements for switch statement in Python? ## Question I want to write a function in Python that returns different fixed values based on the value of an input index. In other languages I would use a switch or case statement, but Python does not appear to have a switch statement. What are the recommended Python...
stackoverflow-qa
# Windows Mobile development in Python ## Question What is the best way to start developing Windows Mobile Professional applications in Python? Is there a reasonable SDK including an emulator? Is it even possible without doing excessive amount of underlaying Windows API calls for UI for instance? ## Answer Python CE ...
stackoverflow-qa
# Windows Mobile development in Python ## Question What is the best way to start developing Windows Mobile Professional applications in Python? Is there a reasonable SDK including an emulator? Is it even possible without doing excessive amount of underlaying Windows API calls for UI for instance? ## Answer If the Iro...
stackoverflow-qa
# Windows Mobile development in Python ## Question What is the best way to start developing Windows Mobile Professional applications in Python? Is there a reasonable SDK including an emulator? Is it even possible without doing excessive amount of underlaying Windows API calls for UI for instance? ## Answer (I used to...
stackoverflow-qa
# Windows Mobile development in Python ## Question What is the best way to start developing Windows Mobile Professional applications in Python? Is there a reasonable SDK including an emulator? Is it even possible without doing excessive amount of underlaying Windows API calls for UI for instance? ## Answer Just found...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# cross platform IPC ## Question I'm looking for suggestions on possible IPC mechanisms that are: cross platform (WIN32 and Linux at least) Simple to implement in C++ as well as the most common scripting languages (perl, ruby python etc). Finally, simple to use from a programming point of view! What are my options...
stackoverflow-qa
# How do I write a python HTTP server to listen on multiple ports? ## Question I'm writing a small web server in Python, using BaseHTTPServer and a custom subclass of BaseHTTPServer.BaseHTTPRequestHandler. Is it possible to make this listen on more than one port? What I'm doing now: class MyRequestHandler(BaseHTTPSe...
stackoverflow-qa
# How do I write a python HTTP server to listen on multiple ports? ## Question I'm writing a small web server in Python, using BaseHTTPServer and a custom subclass of BaseHTTPServer.BaseHTTPRequestHandler. Is it possible to make this listen on more than one port? What I'm doing now: class MyRequestHandler(BaseHTTPSe...
stackoverflow-qa
# How do I write a python HTTP server to listen on multiple ports? ## Question I'm writing a small web server in Python, using BaseHTTPServer and a custom subclass of BaseHTTPServer.BaseHTTPRequestHandler. Is it possible to make this listen on more than one port? What I'm doing now: class MyRequestHandler(BaseHTTPSe...
stackoverflow-qa
# python regex to match multi-line preprocessor macro ## Question What follows is a regular expression I have written to match multi-line pre-processor macros in C / C++ code. I'm by no means a regular expressions guru, so I'd welcome any advice on how I can make this better. Here's the regex: \s*#define(.*\\\n)+[\S...
stackoverflow-qa
# python regex to match multi-line preprocessor macro ## Question What follows is a regular expression I have written to match multi-line pre-processor macros in C / C++ code. I'm by no means a regular expressions guru, so I'd welcome any advice on how I can make this better. Here's the regex: \s*#define(.*\\\n)+[\S...
stackoverflow-qa
# Getting random row through SQLAlchemy ## Question How do I select a(or some) random row(s) from a table using SQLAlchemy? ## Answer This is very much a database-specific issue. I know that PostgreSQL and MySQL have the ability to order by a random function, so you can use this in SQLAlchemy: from sqlalchemy.sql....
stackoverflow-qa
# Getting random row through SQLAlchemy ## Question How do I select a(or some) random row(s) from a table using SQLAlchemy? ## Answer If you are using the orm and the table is not big (or you have its amount of rows cached) and you want it to be database independent the really simple approach is. import random rand ...
stackoverflow-qa
# Getting random row through SQLAlchemy ## Question How do I select a(or some) random row(s) from a table using SQLAlchemy? ## Answer There is a simple way to pull a random row that IS database independent. Just use .offset() . No need to pull all rows: import random query = DBSession.query(Table) rowCount = int(que...
stackoverflow-qa
# Getting random row through SQLAlchemy ## Question How do I select a(or some) random row(s) from a table using SQLAlchemy? ## Answer Here's four different variations, ordered from slowest to fastest. timeit results at the bottom: from sqlalchemy.sql import func from sqlalchemy.orm import load_only def simple_rando...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer You can't do this with the base dict class -- it's ordered by hash. You could build your own dictionary that is reall...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer The standard python dict isn't able to do this. There is a proposal (PEP 372) to add an "ordered dictionary" (that ke...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer The other answers are correct; it's not possible, but you could write this yourself. However, in case you're unsure h...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer I've used StableDict before with good success. http://pypi.python.org/pypi/StableDict/0.2 Tags: python, dictionary
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer Or, just make the key a tuple with time.now() as the first field in the tuple. Then you can retrieve the keys with di...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer It's not possible unless you store the keys in a separate list for referencing later. Tags: python, dictionary
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer Or use any of the implementations for the PEP-372 described here, like the odict module from the pythonutils. I succe...
stackoverflow-qa
# How do you retrieve items from a dictionary in the order that they're inserted? ## Question Is it possible to retrieve items from a Python dictionary in the order that they were inserted? ## Answer Use OrderedDict(), available since version 2.7 Just a matter of curiosity: a = {} b = OrderedDict() c = OredredDict...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Where do the Python unit tests go? ## Question If you're writing a library, or an app, where do the unit test files go? It's nice to separate the test files from the main app code, but it's awkward to put them into a "tests" subdirectory inside of the app root directory, because it makes it harder to import the m...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Python dictionary from an object's fields ## Question Do you know if there is a built-in function to build a dictionary from an arbitrary object? I'd like to do something like this: >>> class Foo: ... bar = 'hello' ... baz = 'world' ... >>> f = Foo() >>> props(f) { 'bar' : 'hello', 'baz' : 'world' } NOTE:...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# Is it pythonic for a function to return multiple values? ## Question In python, you can have a function return multiple values. Here's a contrived example: def divide(x, y): quotient = x/y remainder = x % y return quotient, remainder (q, r) = divide(22, 7) This seems very useful, but it looks like...
stackoverflow-qa
# What's a good way to find relative paths in Google App Engine? ## Question So I've done the trivial "warmup" apps with GAE. Now I'd like to build something with a more complex directory structure. Something along the lines of: siteroot/ models/ controllers/ controller1/ controller2/ ... templates/ temp...
stackoverflow-qa
# What's a good way to find relative paths in Google App Engine? ## Question So I've done the trivial "warmup" apps with GAE. Now I'd like to build something with a more complex directory structure. Something along the lines of: siteroot/ models/ controllers/ controller1/ controller2/ ... templates/ temp...
stackoverflow-qa
# Comparing runtimes ## Question I am trying to get some accurate runtime comparisons of PHP vs Python (and potentially any other language that I have to include). Timing within a script is not my problem but timing within a script does not account for everything from the moment the request is made to run the script t...
stackoverflow-qa
# Comparing runtimes ## Question I am trying to get some accurate runtime comparisons of PHP vs Python (and potentially any other language that I have to include). Timing within a script is not my problem but timing within a script does not account for everything from the moment the request is made to run the script t...
stackoverflow-qa
# Comparing runtimes ## Question I am trying to get some accurate runtime comparisons of PHP vs Python (and potentially any other language that I have to include). Timing within a script is not my problem but timing within a script does not account for everything from the moment the request is made to run the script t...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa
# Is there a way around coding in Python without the tab, indent & whitespace criteria? ## Question I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off? I'm currently using ...
stackoverflow-qa