Skip to content

Content Tagged "windows"

Page 2 of 2

Content Tagged "windows"

Find Where Your Network Drives Map to

November 27, 2014Category: IT
The other day I was at home in a somewhat odd situation; I had a VPN connection but I could not, for the life of me, remember the mappings of the network drives from the other side. Also, of course there was no documentation how to do it. A kind soul showed me how to do it in windows. On your work…

BAT Files: Execute Multiple Commands in a Loop

October 3, 2014Category: Software
One of the tasks the other day was to load a large DB organised by year. The most efficient way was to loop through a sequence of years and execute the loader for each one. The first iteration I ended with was: This means: For years from 1996 to 1998, with an increment of one, execute my load.bat…

Search exact string in a file on Windows

June 6, 2014Category: IT
The other day I found a file with a peculiar format and I needed to find it again. There are two problems I've encountered: Size: It's one of 20,000,000 XML files Search: I need to find a file containing a string "xocs:doi", which is not interpreted as a single word (due to the colon character, of…

Install NumPy in a Virtual Environment on Windows

March 13, 2014Category: Software
Someone told me they use a custom python install named Anaconda on windows because it contains a set of math packages which are difficult to install. In fairness, they're right because any python module with native dependencies is a mess to install from sources (e.g. because you need the same…

Install lxml on windows (on a virtualenv)

January 22, 2014Category: Software
Lxml is a nice python library for XML processing. ETree is really quick, which makes things interesting if you have a large amount of XML files (or a bigger one) to process. Installation on linux/mac is painless (OK, you need homebrew on mac to make int painless, but you get my point...). The…

Install Pillow from PyCharm

December 10, 2013Category: Software
My environment on windows has a lot of restrictions, including one to prohibit execution of files placed anywhere else except C:\Windows , C:\Program Files and C:\Program Files (x86) . Therefore, the virtual environments resides in something like C:\Program Files\Python\virtualenvs . I've set…
Previous

All tags