I've searched and found pywin32, but I can't seem to install it on the mac. Any suggestions? I want to parse doc files I have.   I'm specifically looking to parse DOC files, not DOCX.
for working with MS word files in python, there is python win32 extensions, which can be used in windows. How do I do the same in linux? Is there any library?
When I created my account, I used Facebook Connect as my only login type and I can only log in to my account using it.  I wish to create a Stack Exchange login to be able to log in with instead of Facebook Connect, but I can't find how to do this. It seems that the option for creating a Stack Exchange login is only present when creating a new account? Android Studio shortcuts are not working I use Android Studio in Ubuntu and everything was working fine. Since two weeks that shortcuts stopped working, Ctrl+C, Ctrl+V, Ctrl+Z. I tried to change Keymap in Settings but without success.  What could be the possible problem? Paging using ldapsearch I am searching an LDAP directory that has a much larger number of results than the sizelimit currently set,500, by slapd.conf that for all intents and purposes cannot be changed)  My idea was to keep running ldapsearch but from a different offset each time (501, 1001, etc.) until all results have been obtained.  I have seen the , and it appears that this is handled for you using the -E options:  -E [!]&lt;ext&gt;[=&lt;extparam&gt;] search extensions (! indicates criticality)          [!]domainScope              (domain scope)          [!]mv=&lt;filter&gt;              (matched values filter)          [!]pr=&lt;size&gt;[/prompt|noprompt]   (paged results/prompt)          [!]subentries[=true|false]  (subentries)          [!]sync=ro[/&lt;cookie&gt;]            (LDAP Sync refreshOnly)                  rp[/&lt;cookie&gt;][/&lt;slimit&gt;] (LDAP Sync refreshAndPersist)   So i tried: ldapsearch -h $HOST -p $PORT -x -L -b "$BASE" '*' '+' -E pr=$SIZE  However when the results (even paged results with size = 50 for example) hit 500, I get the same error as if the results were not paged:  Size limit exceeded (4)  I have seen in the man pages there is another option for virtuallistview but have been unable to find examples for it, and as well I dont think my version of ldapsearch has this option.  The goal here is to create a backup using ldapsearch and the -L option to create an ldif file that is suitable for restoring the database.  A few google searches show up with the same problem I'm having, but none have an applicable solution.. Can you eradicate a disease without finding a Cure first? If you eradicate a disease in Pandemic without finding a cure first (ie remove all of one colour from the board) does it remain eradicated or can it still come back unless it has also been cured?  The rules are a bit unclear on this point ... Or I missed the rule that explicitly states this. How to activate the Gedit terminal plugin? I have the following packages installed:   gedit gedit-common gedit-plugins   In Ubuntu 12.04 with these packages installed all that was needed was to activate the terminal plugin and the press Ctrl+F9 to show the bottom panel. This isn't the case with Ubuntu 13.10 (Gedit 3.8.3) and I can't figure out how to do it. I want to debug a router that is giving strange DHCP settings, but I don't know how to check it without having to make my system take all the configurations. Isn't there a utility that returns all DHCP settings (like NTP, WINS, DNS, IP, router) whenever a client connects?  Preferably that is platform independent, and that won't require changing the client's configuration to trigger the DHCP. How do I show that all continuous periodic functions are bounded and uniform continuous? My Minecraft app now only has the option of "play" and there is no "play on realms" to be found!  I downloaded - and paid for - the multiplayer app, but there doesn't seem to be a way to get to any realms on that app either. This is the terminal message I keep getting when trying to update via: sudo apt-get update  $ sudo apt-get update [sudo] password for petros: Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/   How can I solve it? Java equivalent to PHP's preg_replace_callback I'm in the process of moving an application from PHP to Java and there is heavy use of regular expressions in the code.  I've run across something in PHP that doesn't seem to have a java equivalent:  preg_replace_callback()   For every match in the regex, it calls a function that is passed the match text as a parameter.  As an example usage:  $articleText = preg_replace_callback("/\[thumb(\d+)\]/",'thumbReplace', $articleText); # ... function thumbReplace($matches) {    global $photos;    return "&lt;img src=\"thumbs/" . $photos[$matches[1]] . "\"&gt;"; }   What would be the ideal way to do this in Java? I want to run a script on all files with two specific extensions on a disk with a hierarchy of multiple nested folders.  My script works fine when I choose a folder further down the line with fewer subfolders but I'd like to run it on an entire archive with over a thousand folders.  The AppleScript takes forever to get all the files and then exits without returning anything and without executing the operations after getting the files.  No timeout message, no error message.  And the Finder becomes unresponsive (and remains stuck after the script exits).   set myFolder to choose folder with prompt "Choose a folder:"     tell application "Finder"         try             set eafFiles to (every file in entire contents of myFolder whose name ends with ".eaf") as alias list         on error             try                 set eafFiles to ((every file in entire contents of myFolder whose name ends with ".eaf") as alias) as list             on error                 set eafFiles to {}             end try         end try         try             set pfsxFiles to (every file in entire contents of myFolder whose name ends with ".pfsx") as alias list         on error             try                 set pfsxFiles to ((every file in entire contents of myFolder whose name ends with ".pfsx") as alias) as list             on error                 set pfsxFiles to {}             end try         end try         set myFiles to eafFiles &amp; pfsxFiles     end tell      repeat with CurrentFile in myFiles         set CurrentFile to CurrentFile as string          do shell script "perl /path/to/perl/script.pl " &amp; quoted form of CurrentFile     end repeat What are the guidelines for using version-specific tags? I believe that some of my questions were asked before but I didn't find any satisfying guidance. I just found only . I hope senior members will help me to understand the situation and use tags correctly.  I have several questions which are related to following explanation:   What is current community's attitude towards version specific tags on Stack Exchange?  How to correctly use version specific tags?  When is it good to create version specific tag? Should any version specific tags be at least marked as synonyms to version unspecific tags? Should I use version specific tags if I re-tagging questions?  Should I re-tag questions if I think that incorrect version specific tag is used?   For example, I mainly visiting questions related to two main topics: WCF and Entity framework. Tagging questions in these topics follow very different rules. WCF uses single main tag  sometimes combined with  currently proposed as synonym to WCF, whereas Entity framework currently have:      - version 2 and 3 never existed  - I started this tag myself but now I think it was a mistake   and two ridiculous tags (both for CTP5 of EF 4.1 – their meaningful lifetime was about 3 months):         I've already several times retagged questions introducing tag for EF 4.1 RC. Separate problem is in Code-first approach related strictly to  where 5 other tags are used to describe the same:           I asked for merging these tags in .  As you can see that EF topic currently contains too many tags to describe the same. There are other related tags to EF but they are mainly used as supporting tags for specific features.  First I thought this is a common situation because ASP.NET MVC uses also new tag for each version even questions usually asks for general problems related to any version but then I was informed by @Richard in  that EF is probably tag polluted.  I regularly retag questions in EF topic. Currently I'm using:     as general topic's tag because I was already informed by @Slauma  that people usually have only this tag between their favorites and I should not remove it. It was a good point.   for questions related directly to EFv4 features  for questions related directly to EF 4.1 features  for questions related to fluent and annotations mapping from EF 4.1   But still I think that  and  are somehow redundant but I'm not sure if my opinion is shared by other participants in these tags. WCF also has 3 versions and almost twice as more questions than EF and it still uses only single main tag  without any problem. I think the used version should be information included in a question.  Are there any general rules? What about version related tags to C#, .NET and ASP.NET MVC? I first thought that it is common and accepted approach to create version specific tags just because users around ASP.NET MVC (strong tag) do the same.  Sometimes I think I received privileges too early and I don't use them correctly. I need some guidance. Outlook Rule - Move mail that is READ and Older than X days Outlook 2010. Want to create a rule that moves all mail from my inbox to another folder:   Has been read Is older than X days   I was looking at Auto-archiving, but it does not seem to let me be this specific with my criteria. I need Mac OS X 10.6.8 (Snow Leopard) in order to work with some legacy software and I want to buy new Mac Mini computer.  Is it possible to install this OS on a new Mac Mini or it's not compatible with it?  If so, what is the latest model of Mac Mini that I can use in this scenario? This question follow's JeffE's comment :     In most industries, a PhD has negative value.   I am curious about what potential negatives there may be with having a PhD, particularly in industries.  For example, my PhD has applications for image sensors, and the potential of working in that field is appealing—would having a PhD be a potential barrier? Would it be a case of how explicit the practicalities of the PhD can be made?  Would this make any difference? Should I install the play disc or not? I hear both sides of the story. "Installing both discs will improve performance" or "Playing from the disc is best".  I've come across a few threads that say to install the play disc to a USB drive. Will the Xbox 360 even read from 2 different sources at once?   Someone please clear this up for me, for all of us.  Do I Install the second "play" disc or not, and why? How do I delete a folder which is nested quite deep and avoid "File name too long"? Proof of convergence of sequences Problem: Show that if $x_n\to 5$ then $\dfrac{x_n +1}{\sqrt{x_n -1}} \to 3$.  So I know $|x-5|&lt;\epsilon$ and I need to show that $\left|\dfrac{x_n +1}{\sqrt{x_n -1}} -3\right| &lt; \epsilon$.  I tried applying the triangle inequality (and a bit of algebra) to get $$\left|\frac{x_n +1}{\sqrt{x_n -1}} -3\right| \leq |x_n -5| \left |\frac{1}{\sqrt{x_n -1}}\right| + \left|\frac{6}{\sqrt{x_n-1}} -3\right|.$$  From this I know that $|x_n -5| &lt;\epsilon$ and can show that $\left |\dfrac{1}{\sqrt{x_n -1}}\right|&lt;1$. So my only problem is the second part of the sum. I have no idea what to do with it to get everything to be less than $\epsilon$. ML estimate of exponential distribution (with censored data) In Survival Analysis, you assume the survival time of a r.v. $X_i$ to be exponentially distributed. Considering now that I have $x_1,\dots,x_n$ "outcomes" of i.i.d r.v.'s $X_i$. Only some proportion of these outcomes are in fact "fully realized", i.e. the remaining observations are still "alive".   If I wanted to perform a ML estimate for the rate parameter $\lambda$ of the distribution, how can I utilize the non-realized observations in a coherent/appropriate manner? I believe they still contain useful information for the estimation.   Could someone guide me to literature on this topic? I am sure it exists. I am however having trouble finding good keywords/search terms for the topic. youtube-dl unable to download audio how to resolve that issue?