Code:
cat book.txt
book1 price 23
sku 1234
auth Bill
book2 sku 1233
price 22
auth John
book3 auth Frank
price 24
book4 price 25
sku 129
auth Tod
import re
f = open('book.txt', 'r')
text
input ("/" delimited fields):
Code:
style1/book1 (author_C)/editor1/2000
style1/book2 (author_A)/editor2/2004
style1/book3 (author_B)/editor3/2001
style2/book8 (author_B)/editor4/2010
style2/book5 (author_A)/editor2/1998
Records with same field 1 belong to the same group.
Using asort (not sort), in each group I need to sort the records in ascending order based on the string between
I have Windows 8 machine with Ubuntu One client (seems to be 4.0.0, released on 2012/12/11). I have checked that when synchronization is active I can not write any file in the folders sync'd.
Curiously, I CAN copy files in the folders using file explorer but I can not, for example, download a file there using web explorer, chrome, firefox, acrobat reader, etc.
I've got Ubuntu 12 running as a virtual machine on a Windows 7 host.
This question already has an answer here:
How do I use the same drive partition for both windows 7 and ubuntu 11.10 documents folders?
1 answer
I have finally decided to dual-boot m
Hello,
I've just installed 11.04 on a friend's machine, dual-booting with Windows 7. Now, he wanted to access his Windows desktop from Ubuntu, so I also created a desktop shortcut leading to C:\Documents and Settings\username\Desktop\ or something similar. So far so good.
However, on rebooting into Windows, he found his desktop empty of all files and folders.
Is not possible for me to open whatever folder I copy from Ubuntu to my Windows partition or whatever usb memory. Windows says the folder's location is either disconnected or doesn't exist. Can't copy, cut or delete the folder on Windows but with Ubuntu I can. This happens even if I create the folder on the ntfs disc.
In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows.
hi today i downloaded ubuntu with wubi-installer on my windows 7 machine but after restarting pc and booting in ubuntu installer my pc shuts down while installing because my laptops battery was gone empty i forgot to plug in my adapter so ubunutu fails to install, then i booted in windows 7 to uninstall ubuntu from add/remove programs en reainstall but the uninstaller did not fully remove the file