I have a Python script that parses information in CSV format that's output by another software program.  I want to be able to have this process be automatic, e.g. as soon as I save the exported CSV, it is automatically parsed by the Python script.  I did a bit of research and I think I'd like to use something like inotify for Linux that is mentioned in another question here, but for Windows.  Could anyone give me any pointers? Much appreciated, thanks.
I have a log file being written by another process which I want to watch for changes. Each time a change occurs I'd like to read the new data in to do some processing on it.  What's the best way to do this? I was hoping there'd be some sort of hook from the PyWin32 library. I've found the win32file.FindNextChangeNotification function but have no idea how to ask it to watch a specific file.  If anyone's done anything like this I'd be really grateful to hear how...  [Edit] I should have mentioned that I was after a solution that doesn't require polling.  [Edit] Curses! It seems this doesn't work over a mapped network drive. I'm guessing windows doesn't 'hear' any updates to the file the way it does on a local disk.
Blender worked fine before I installed a GPU to my PC. Is it the GPU? How can I fix this? I already reinstalled to the latest version. When I try to move a cube, the orange outline only moves but not the cube and I cant click it. Why does default auto.arima stop at (5,2,5)? The function auto.arima in the forecast package of R is a powerful tool to identify the best ARIMA(p,d,q) model for a given data series. In the   of the function, they report the following:  auto.arima(y, d=NA, max.p=5, max.q=5, max.order=5, max.d=2, start.p=2, start.q=2, ...)   According to the above function it seems that, by default, auto.arima tries to find the best model among all the combination having:   p equal or lower than 5 q equal or lower than 5 d equal or lower than 2 order equal or lower to 5, i.e. p + q + d  ≤ 5.   However, why does the default code stops at these conditions? Is there any particular reason why p, q and d should be equal or lower than 5, 5 and 2 and their sum lower than 5? Embed LaTeX math equations into Microsoft Word Let's say I have a (comparatively) lovely-looking document in LaTeX, full of lovingly typeset, (relatively) complex equations. Now, let's say some barbarians come along one day and decide that the document has to be put into Microsoft Word (2007). ...after the usual mourning period associated with such events, let's say I value my job (more specifically, the bread it provides) enough to get all the text and tables formatted and references organised into the Word document. –...related questions  and – Now I'm looking at the equations with fear and dread. One option of course is to just lift screenshots from the original document, but this is painstaking if I need to refer to parts of the equation in the text. Also, I might need to edit equations on the fly. Anyone know of a free application which allows embedding LaTeX math into MS Word? I've looked at  and  which do roughly what I want... they build LaTeX images from source and embed them into the Word document, allowing to edit the source later... but both are commerical. ...any help in these troubling times will be greatly appreciated. EDIT: Just a note that  offers a 30-day free trial and is working out really nicely... but still, it's not free. Might be a good solution for those with short-term needs, or money. How to Convert 0 to 10V analog signal to 0 to 2.5V for ADC input? I have an analog signal which ranges between 0V and 10V.  I want to linearly scale it down to 0 to 2.5V for my ADC.     I'm concerned that using a resistive voltage divider will affect signal quality.  Is this true?  If it's not true, what value resistor should I use for voltage divider? Give an example of a continuous function $f : [0, ∞) \mapsto [0, ∞)$ such that $\int_{0}^{\infty}f(x)dx$ exists but $f$ is unbounded. Give an example of a continuous function $f : [0,  ∞) \mapsto [0, ∞)$ such that  $\int_{0}^{\infty}f(x)dx$ exists but  $f$ is unbounded.   I have been thinking about this. And I have come to the conclusion that I will need to construct a function, $f$, such that $f$ is a sequence of triangles of increasing height, but decreasing base. I obviously need $f$ such that both the height of the triangles, and sum of the bases tends to infinity. But I also need that the $\sum (\text{height} \times \text{base}) \leq \infty $ Meaning of different Orders of Derivative I have been trying to analyse the meaning of higher order derivatives and their geometrical significance.  Given a function $f(x)$ what are the unique geometric interpretation of its higher orders?   $f'(x)$ - slope (rate of change of x w.r.t y) $f''(x)$ - convexity / concavity of $f(x)$ based on $sign(f''(x))$ $f'''(x)$ - increasing / decreasing slope of $f'(x)$ $f''''(x)$ - ?? ... $f^n(x)$ - ??   I apologize if this question is rudimentary. Why does the base of this slinky not fall immediately to gravity? My guess is tension in the springs is a force > mass*gravity but even then it is dumbfounding. What does distinct permutations mean and how many distinct permutations can be formed from all the letters of word TOFFEE? Can independent variables with low correlation with dependent variable be significant predictors? I have eight independent variables and one dependent.  I have run a correlation matrix, and 5 of them have a low correlation with the DV.  I have then run a stepwise multiple regression to see whether any/all of the IVs can predict the DV.  The regression showed that only two IVs can predict the DV (can only account for about 20% of the variance though), and SPSS removed the rest from the model.  My supervisor reckons that I have not run the regression correctly, as due to the strength of the correlations, I should have found more predictors in the regression model. But the correlations were tiny, so my question is: if IVs and the DV hardly correlate, can IVs still be good predictors of the DV? Can I create a TIN from contours lines (shp) in QGIS? Android How to use MediaScannerConnection scanFile Linux Command Not Functioning As Alias A Basic Question about Gravity, Inertia or Momentum or something along those lines Why is it that if I'm sitting on a seat on a bus or train and its moving quite fast, I am able to throw something in the air and easily catch it? Why is it that I haven't moved 'past' the thing during the time its travelling up and down? Test Class for a Custom Controller Extend a language with additional keywords? When I have my external monitor hooked up, I access it by mousing off the left hand side of my Macbook display. Can I switch this so that I can access the external by mousing off to the right of My Macbook display?   The reason I ask, is my monitor is on the right side of my macbook, and it's unintuitive to mouse left to get to a screen on the right. "For security reasons, framing is not allowed; click OK to remove the frames." on Imgur upload Ok first, there's that lugubrious use of the semicolon; not necessary.  Second, I didn't open a frame!  You did!  Alls I tried to do is upload a 5MB animated .gif file via Imgur.    Looking further into this, Imgur actually posts an error when you upload an animated .gif larger than 2MB.    Go figure! How to prove this binomial identity $\sum_{r=0}^n {r {n \choose r}} = n2^{n-1}$? I am trying to prove this binomial identity $\sum_{r=0}^n {r {n \choose r}} = n2^{n-1}$ but am not able to think something except induction,which is of-course not necessary (I think) here, so I am inquisitive to prove this in a more general way.  The left side of an identity occurs while solving another problem (concerning binomial theorem) so I am more interested in deriving the right side from the left side, else I have to remember it now onward.  EDIT: I am more interested in an algebraic proof rather than combinatorial argument or something involving calculus (however I liked  and  solution), hence I am removing the combinatorics tag. Is it possible to change he/she (he or she) in a sentence into one word? For instance: When a student comes in, ask him or her to... Inserting a term into a custom taxonomy