text
stringlengths
200
200k
source
stringclasses
2 values
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# Using Pylint with Django ## Question I would very much like to integrate pylint into the build process for my python projects, but I have run into one show-stopper: One of the error types that I find extremely useful--:E1101: *%s %r has no %r member*--constantly reports errors when using common django fields, for e...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# How can I search a word in a Word 2007 .docx file? ## Question I'd like to search a Word 2007 file (.docx) for a text string, e.g., "some special phrase" that could/would be found from a search within Word. Is there a way from Python to see the text? I have no interest in formatting - I just want to classify doc...
stackoverflow-qa
# python regular expression to split paragraphs ## Question How would one write a regular expression to use in python to split paragraphs? A paragraph is defined by 2 linebreaks (\n). But one can have any ammount of spaces/tabs together with the line breaks, and it still should be considered as a paragraph. I am usi...
stackoverflow-qa
# python regular expression to split paragraphs ## Question How would one write a regular expression to use in python to split paragraphs? A paragraph is defined by 2 linebreaks (\n). But one can have any ammount of spaces/tabs together with the line breaks, and it still should be considered as a paragraph. I am usi...
stackoverflow-qa
# python regular expression to split paragraphs ## Question How would one write a regular expression to use in python to split paragraphs? A paragraph is defined by 2 linebreaks (\n). But one can have any ammount of spaces/tabs together with the line breaks, and it still should be considered as a paragraph. I am usi...
stackoverflow-qa
# How do you create an osx application/dmg from a python package? ## Question I want to create a mac osx application from python package and then put it in a disk image. Because I load some resources out of the package, the package should not reside in a zip file. The resulting disk image should display the backgro...
stackoverflow-qa
# Best practices for manipulating database result sets in Python? ## Question I am writing a simple Python web application that consists of several pages of business data formatted for the iPhone. I'm comfortable programming Python, but I'm not very familiar with Python "idiom," especially regarding classes and object...
stackoverflow-qa
# Best practices for manipulating database result sets in Python? ## Question I am writing a simple Python web application that consists of several pages of business data formatted for the iPhone. I'm comfortable programming Python, but I'm not very familiar with Python "idiom," especially regarding classes and object...
stackoverflow-qa
# How to Retrieve name of current Windows User (AD or local) using Python? ## Question How can I retrieve the name of the currently logged in user, using a python script? The function should work regardless of whether it is a domain/ad user or a local user. ## Answer Try this: import os; print os.environ.get( "USERN...
stackoverflow-qa
# How to Retrieve name of current Windows User (AD or local) using Python? ## Question How can I retrieve the name of the currently logged in user, using a python script? The function should work regardless of whether it is a domain/ad user or a local user. ## Answer I don't know Python, but for windows the underlyin...
stackoverflow-qa
# How to Retrieve name of current Windows User (AD or local) using Python? ## Question How can I retrieve the name of the currently logged in user, using a python script? The function should work regardless of whether it is a domain/ad user or a local user. ## Answer win32api.GetUserName() win32api.GetUserNameEx(......
stackoverflow-qa
# How to Retrieve name of current Windows User (AD or local) using Python? ## Question How can I retrieve the name of the currently logged in user, using a python script? The function should work regardless of whether it is a domain/ad user or a local user. ## Answer as in http://stackoverflow.com/a/842096/611007 by ...
stackoverflow-qa
# What is the scope for imported classes in python? ## Question Please excuse the vague title. If anyone has a suggestion, please let me know! Also please retag with more appropriate tags! The Problem I want to have an instance of an imported class be able to view things in the scope (globals, locals) of the impor...
stackoverflow-qa
# What is the scope for imported classes in python? ## Question Please excuse the vague title. If anyone has a suggestion, please let me know! Also please retag with more appropriate tags! The Problem I want to have an instance of an imported class be able to view things in the scope (globals, locals) of the impor...
stackoverflow-qa
# Python and POST data ## Question In PHP I simply write: $bob = $_POST['bob']; How do I do the same in Python? And yes, I do normally check that it exists etc, I'm just stripping it down specifically to the functionality I am after. Edit: I am not using a framework ## Answer The simplest method is the 'cgi' mo...
stackoverflow-qa
# How to update a Tix.ComboBox's text? ## Question I have a Tix.ComboBox with an editable text field. How do I force the variable holding the value for the text to update? Let me give a more concrete explanation. I have a combo box and a button. When I click the button, it pops up a message box with the value of the ...
stackoverflow-qa
# How to update a Tix.ComboBox's text? ## Question I have a Tix.ComboBox with an editable text field. How do I force the variable holding the value for the text to update? Let me give a more concrete explanation. I have a combo box and a button. When I click the button, it pops up a message box with the value of the ...
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer Try 4.0/100 Tags: python, math, syntax, operators
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer A simple route 4 / 100.0 or 4.0 / 100 Tags: python, math, syntax, operators
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer You need to tell Python to use floating point values, not integers. You can do that simply b...
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer There are three options: >>> 4 / float(100) 0.04 >>> 4 / 100.0 0.04 which is the same beh...
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer Make one or both of the terms a floating point number, like so: 4.0/100.0 Alternatively, ...
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer Other answers suggest how to get a floating-point value. While this wlil be close to what y...
stackoverflow-qa
# How do I get a decimal value when using the division operator in Python? ## Question For example, the standard division symbol '/' rounds to zero: >>> 4 / 100 0 However, I want it to return 0.04. What do I use? ## Answer You might want to look at Python's decimal package, also. This will provide nice decimal re...
stackoverflow-qa
# What's the Name of the Python Module that Formats arbitrary Text to nicely looking HTML? ## Question A while ago I came across a Python library that formats regular text to HTML similar to Markdown, reStructuredText and Textile, just that it had no syntax at all. It detected indentatations, quotes, links and newlin...
stackoverflow-qa
# What's the Name of the Python Module that Formats arbitrary Text to nicely looking HTML? ## Question A while ago I came across a Python library that formats regular text to HTML similar to Markdown, reStructuredText and Textile, just that it had no syntax at all. It detected indentatations, quotes, links and newlin...
stackoverflow-qa
# How do I use timezones with a datetime object in python? ## Question How do I properly represent a different timezone in my timezone? The below example only works because I know that EDT is one hour ahead of me, so I can uncomment the subtraction of myTimeZone() import datetime, re from datetime import tzinfo clas...
stackoverflow-qa
# How do I use timezones with a datetime object in python? ## Question How do I properly represent a different timezone in my timezone? The below example only works because I know that EDT is one hour ahead of me, so I can uncomment the subtraction of myTimeZone() import datetime, re from datetime import tzinfo clas...
stackoverflow-qa
# How do I use timezones with a datetime object in python? ## Question How do I properly represent a different timezone in my timezone? The below example only works because I know that EDT is one hour ahead of me, so I can uncomment the subtraction of myTimeZone() import datetime, re from datetime import tzinfo clas...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Can you do LINQ-like queries in a language like Python or Boo? ## Question Take this simple C# LINQ query, and imagine that 'db.Numbers' is an SQL table with one column, Number: var result = from n in db.Numbers where n.Number < 5 select n.Number; This will run very efficiently in C#, because ...
stackoverflow-qa
# Debug/Monitor middleware for python wsgi applications ## Question I'm searching a wsgi middleware which I can warp around a wsgi applications and which lets me monitor incoming and outgoing http requests and header fields. Something like firefox live headers, but for the server side. ## Answer That shouldn't be to...
stackoverflow-qa
# Debug/Monitor middleware for python wsgi applications ## Question I'm searching a wsgi middleware which I can warp around a wsgi applications and which lets me monitor incoming and outgoing http requests and header fields. Something like firefox live headers, but for the server side. ## Answer The middleware from...
stackoverflow-qa
# Debug/Monitor middleware for python wsgi applications ## Question I'm searching a wsgi middleware which I can warp around a wsgi applications and which lets me monitor incoming and outgoing http requests and header fields. Something like firefox live headers, but for the server side. ## Answer If you want Apache-s...
stackoverflow-qa
# Debug/Monitor middleware for python wsgi applications ## Question I'm searching a wsgi middleware which I can warp around a wsgi applications and which lets me monitor incoming and outgoing http requests and header fields. Something like firefox live headers, but for the server side. ## Answer The mod_wsgi documen...
stackoverflow-qa
# Debug/Monitor middleware for python wsgi applications ## Question I'm searching a wsgi middleware which I can warp around a wsgi applications and which lets me monitor incoming and outgoing http requests and header fields. Something like firefox live headers, but for the server side. ## Answer My WebCore project h...
stackoverflow-qa
# How can i parse a comma delimited string into a list (caveat)? ## Question I need to be able to take a string like: '''foo, bar, "one, two", three four''' into: ['foo', 'bar', 'one, two', 'three four'] I have an feeling (with hints from #python) that the solution is going to involve the shlex module. ## Answe...
stackoverflow-qa
# How can i parse a comma delimited string into a list (caveat)? ## Question I need to be able to take a string like: '''foo, bar, "one, two", three four''' into: ['foo', 'bar', 'one, two', 'three four'] I have an feeling (with hints from #python) that the solution is going to involve the shlex module. ## Answe...
stackoverflow-qa
# How can i parse a comma delimited string into a list (caveat)? ## Question I need to be able to take a string like: '''foo, bar, "one, two", three four''' into: ['foo', 'bar', 'one, two', 'three four'] I have an feeling (with hints from #python) that the solution is going to involve the shlex module. ## Answe...
stackoverflow-qa
# How can i parse a comma delimited string into a list (caveat)? ## Question I need to be able to take a string like: '''foo, bar, "one, two", three four''' into: ['foo', 'bar', 'one, two', 'three four'] I have an feeling (with hints from #python) that the solution is going to involve the shlex module. ## Answe...
stackoverflow-qa
# How do I develop and create a self-contained PyGTK application bundle for MacOS, with native-looking widgets? ## Question I have read that it is possible to build GTK+ on MacOS X. I know that it's possible to create a bundle of a GTK+ application on MacOS. I also know that it's possible to create widgets that look...
stackoverflow-qa
# How do I develop and create a self-contained PyGTK application bundle for MacOS, with native-looking widgets? ## Question I have read that it is possible to build GTK+ on MacOS X. I know that it's possible to create a bundle of a GTK+ application on MacOS. I also know that it's possible to create widgets that look...
stackoverflow-qa
# How do I develop and create a self-contained PyGTK application bundle for MacOS, with native-looking widgets? ## Question I have read that it is possible to build GTK+ on MacOS X. I know that it's possible to create a bundle of a GTK+ application on MacOS. I also know that it's possible to create widgets that look...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# Python Regex vs PHP Regex ## Question No not a competition, it is instead me trying to find why a certain regex works in one but not the other. (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) That's my R...
stackoverflow-qa
# What's the best dispatcher/callback library in Python? ## Question I need to allow other Python applications to register callback functions for events in my application. These need to have priorities associated with them (so a callback with a priority of 10 runs before a callback with a priority of 1) and callback ...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How to start IDLE (Python editor) without using the shortcut on Windows Vista? ## Question I'm trying to teach Komodo to fire up IDLE when I hit the right keystrokes. I can use the exact path of the shortcut in start menu in the Windows Explorer location bar to launch IDLE so I was hoping Komodo would be able to us...
stackoverflow-qa
# How do you use the ellipsis slicing syntax in Python? ## Question This came up in Hidden features of Python, but I can't see good documentation or examples that explain how the feature works. ## Answer You'd use it in your own class, since no builtin class makes use of it. Numpy uses it, as stated in the document...
stackoverflow-qa
# How do you use the ellipsis slicing syntax in Python? ## Question This came up in Hidden features of Python, but I can't see good documentation or examples that explain how the feature works. ## Answer The ellipsis is used to slice higher-dimensional data structures. It's designed to mean at this point, insert a...
stackoverflow-qa
# How do you use the ellipsis slicing syntax in Python? ## Question This came up in Hidden features of Python, but I can't see good documentation or examples that explain how the feature works. ## Answer This is another use for Ellipsis, which has nothing to do with slices: I often use it in intra-thread communicati...
stackoverflow-qa
# How can I join a list into a string (caveat)? ## Question Along the lines of my previous question, how can i join a list of strings into a string such that values get quoted cleanly. Something like: ['a', 'one "two" three', 'foo, bar', """both"'"""] into: a, 'one "two" three', "foo, bar", "both\"'" I suspect t...
stackoverflow-qa
# How can I join a list into a string (caveat)? ## Question Along the lines of my previous question, how can i join a list of strings into a string such that values get quoted cleanly. Something like: ['a', 'one "two" three', 'foo, bar', """both"'"""] into: a, 'one "two" three', "foo, bar", "both\"'" I suspect t...
stackoverflow-qa
# How can I join a list into a string (caveat)? ## Question Along the lines of my previous question, how can i join a list of strings into a string such that values get quoted cleanly. Something like: ['a', 'one "two" three', 'foo, bar', """both"'"""] into: a, 'one "two" three', "foo, bar", "both\"'" I suspect t...
stackoverflow-qa
# How do I read an Excel file into Python using xlrd? Can it read newer Office formats? ## Question My issue is below but would be interested comments from anyone with experience with xlrd. I just found xlrd and it looks like the perfect solution but I'm having a little problem getting started. I am attempting to ext...
stackoverflow-qa
# How do I read an Excel file into Python using xlrd? Can it read newer Office formats? ## Question My issue is below but would be interested comments from anyone with experience with xlrd. I just found xlrd and it looks like the perfect solution but I'm having a little problem getting started. I am attempting to ext...
stackoverflow-qa
# How do I read an Excel file into Python using xlrd? Can it read newer Office formats? ## Question My issue is below but would be interested comments from anyone with experience with xlrd. I just found xlrd and it looks like the perfect solution but I'm having a little problem getting started. I am attempting to ext...
stackoverflow-qa
# How to express this Bash command in pure Python ## Question I have this line in a useful Bash script that I haven't managed to translate into Python, where 'a' is a user-input number of days' worth of files to archive: find ~/podcasts/current -mindepth 2 -mtime '+`a`+' -exec mv {} ~/podcasts/old \; I am familiar ...
stackoverflow-qa
# How to express this Bash command in pure Python ## Question I have this line in a useful Bash script that I haven't managed to translate into Python, where 'a' is a user-input number of days' worth of files to archive: find ~/podcasts/current -mindepth 2 -mtime '+`a`+' -exec mv {} ~/podcasts/old \; I am familiar ...
stackoverflow-qa
# How to express this Bash command in pure Python ## Question I have this line in a useful Bash script that I haven't managed to translate into Python, where 'a' is a user-input number of days' worth of files to archive: find ~/podcasts/current -mindepth 2 -mtime '+`a`+' -exec mv {} ~/podcasts/old \; I am familiar ...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Is there a way to convert indentation in Python code to braces? ## Question I am a totally blind programmer who would like to learn Python. Unfortunately the fact that code blocks are represented with different levels of indentation is a major stumbling block. I was wondering if there were any tools available that w...
stackoverflow-qa
# Iron python, beautiful soup, win32 app ## Question Does beautiful soup work with iron python? If so with which version of iron python? How easy is it to distribute a windows desktop app on .net 2.0 using iron python (mostly c# calling some python code for parsing html)? ## Answer If BeautifulSoup doesn't work on Ir...
stackoverflow-qa
# Iron python, beautiful soup, win32 app ## Question Does beautiful soup work with iron python? If so with which version of iron python? How easy is it to distribute a windows desktop app on .net 2.0 using iron python (mostly c# calling some python code for parsing html)? ## Answer I've tested and used BeautifulSoup ...
stackoverflow-qa