How to Train Your Python: Part 16, Basic File Input and Output
Welcome back! In the last training session we covered how to write and execute scripts. But today we'll be getting back to the code!
Welcome back! In the last training session we covered how to write and execute scripts. But today we'll be getting back to the code!
When using Linux, we often need to install new software, a script, or numerous large files. To make things easier on us, these files are usually compressed and combined together into a single file with a .tar extension, which makes them easier to download, since it's one smaller file.
These days, there is no shortage of ways to exchange files to and from friends and family: text messages, email, Bluetooth transfer, and cloud services are just a tiny sliver of what you can use to share music, photos, videos, and more.
Straight out of the box, the Nexus 5 is an awesome device, but even it can be faster with better battery life. Luckily, one of the things that makes it so awesome is that there are tons of developers creating mods for it, since it runs stock Android by default. When it comes to gaining speed and better battery life, flashing a custom kernel is the way to go.
Apple released the iOS 8 Gold Master build to developers shortly after their WWDC event ended on Sept. 9th, which is jam-packed with tons of new features for iPad, iPhone, and iPod touch. The public version comes out on Sept. 17th, but if you can't wait to test out iOS 8, you can get it right now.
While most are still fighting through a somewhat ridiculous invite system, OnePlus is starting to ship out a decent number of their One flagship devices to those who were able to obtain one.
Owning an Android device is almost like having a PC in your pocket. Android's ability to easily navigate the file system on your phone is one of many features that separate it from the competition. Just plug your phone into a computer, drag the file over, and you're all set.
It's time. You've experimented with apps from the Play Store, you've switched your lock screen, and maybe you've taken different launchers out for a spin. If, throughout your tinkering, you've found yourself chanting, "More. More. Give me more!" then now is the time. It's time to root.
You know what's awesome? You own a Nexus. That means, with Google's blessing, you have easier access and control over your device than other manufacturers allow. You can really dig in and do some interesting things if you root.
What's this mysterious .thm file? Why are they cluttering up your SD card? Can they be safely deleted? This video has the answers! A .thm file is created specifically by Canon cameras when you're filming a movie, and this video shows you how to use your .thm files.
Various ways to password protect a file or folder using Microsoft Vista are shown in this video. The first step is to choose a file you want to add a password to. After you decide on the file you wish to protect you must right click and select add to archive using Win Rar. After the file has been opened using Win Rar you can then select the add password option to begin encrypting the folder. After you type in the password of your choice you must select ok to finish attaching the password. Onc...
In this clip, we learn how to create a plain text file. You can use the built-in TextEdit (Mac) or Notepad (Windows) applications to make a plain text file. Microsoft Word is not a good choice for creating plain text files.
In this video we learn how to extract files from a RAR archive. First, go to: Techsono. Once you are on here, choose what download you want depending on your computer type. Once you download and install this, open it up on your desktop. Click the "RAR" button and then select files using the select button. Go and find the file and then open it up. You can also drag and drop files onto this window if you prefer. From here, you will be able to extract the files from the archive and you're finished!
This tutorial starts by demonstrating how to take an .xml file and incorporate it into your Flash file. This will allow you to further manipulate the data in the .xml file, and allow greater functionality within your own Flash-based website.
Expand the depth and complexity of your Flash Catalyst project by adding animations (.swf files), videos (.flv files) or music (.mp3 files). This tutorial shows you the easiest way to add extra content to your project depending on the file type.
The DeskPDF programs, published by DocuDesk, offer several methods for converting files in one format to an entirely different format - such as turning an HTML table on a web page into an Excel file or turning an RSS feed into an ebook file.
In this video, we learn how to save & backup your Outlook email to an archive file. First, go into Outlook and then open "file", "import/export", and "export to a file". Click next, then click "personal folder file" and click next. Now you will see your inbox, highlight "personal folders", then click next and browse to select a location where you want to save them, and click next. Next you will be asked to make a name for your folder and make a password if you want to, then click "ok". The fi...
This video tutorial is in the Computers & Programming category where you will learn how to encrypt files & folders on a Mac with TrueCrypt. Open up TrueCrypt and click on create volume > create an encrypted file container > next > standard truecrypt volume > next. Here you name your file, choose the directory where you want to put the file and click 'save'. Choose the encryption type and click 'save'. Choose the volume size and click 'next'. Now type in a password and click 'next'. Then in th...
In this tutorial, we learn how to use Adobe Acrobat to read PDF files. First, click on combined files on your desktop, then add files to the program. You will see different documents on your computer when you browse, then take these files and move them up and down in the order you want to read them. This can help you organize the file so if you send it in an e-mail it will look more put together. You will also be able to print out the document after you view it, in case you want to take it wi...
In this video tutorial, viewers learn how to open RAR and ZIP files. This task is very easy, fast and simple to do. Begin by downloading the 7-Zip program. Then open the downloaded file and follow the instructions to install the program. Once installed, right-click on the zipped file, go to 7-Zip and select Open Archive or Extract Files. Once opened or extracted, users will be able to access the zipped content. This video will benefit those viewers who have received or downloaded a zipped fil...
In this tutorial, we learn how to use uTorrent and torrent file. First, to download uTorrent, go to the website and download the software. After you install this, change any settings you want to change, then choose where you want your downloads to go. When you click on the search button, you will be able to search for different movies, music, games, and more. After you download, the file will start to download. When finished, the file will start to seed, which basically means you are sharing ...
In this video tutorial, viewers learn how to compress and archive file with 7-zip. Begin by downloading and installing the 7-zip program. Once downloaded and installed, right-click on the desired file, go to 7-zip and select Add to archive. In the archive window, name the file and select the archive format, compression level, compression method and other options. When finished, click on OK and wait for the file to finish compressing. This video will benefit those viewers who have large files,...
In this video tutorial, viewers learn how to extract zip archives files with the WinRaR program. Begin by double-clicking on the zipped file to open it. Users are able to explore the content in the archive, similar to navigating through a windows folder. To extract it, click on Extract To. Now select the save destination and click OK to start the extraction. When the file is finished extracting, find the extraction destination to access the content of the zipped file. This video will benefit ...
In this Software video tutorial you will learn how to combine documents into a single PDF in Adobe Acrobat 9. Go to the 'combine' menu and select 'merge files in to a single PDF'. Click on 'add files' and 'add folders'. Now create a new folder and click OK. Then drag and drop files in to the folder. You can then arrange them in the order you want. You can also delete any document that you don't want. You can also choose pages from a document. With all the documents selected, you can go ahead ...
In this tutorial, we learn how to sharpen your chainsaw with a hand file. First, take the cover off of the chainsaw and jam something into place so the chain stays in place. Put gloves on before you touch the chain, and use a hand file to file down on the chain. Look for the shortest tooth and put the file in, holding it well and giving it two or three strokes. When filing, be consistent on each different tooth you are sharpening. You will be able to feel the blade being taken off. You might ...
This tutorial shows how to create what's called a Folder Action, which means that when files are dropped into the folder, it automatically triggers certain actions. In particular, this folder action will resize image files dropped into it, and it will move those files to the desktop. For detailed, step-by-step instructions, and to get started using this great Mac OS X trick yourself, watch this free video guide.
NTFS? What is it? It stands for New Technology File System, but what does that mean? Well, it's the standard system for filing in Windows NT, including all later versions, up to the current Windows 7, but Mac users can take advantage of this file system, too. If you’re confused when it comes to your hard drive’s format, this guide will show you the way to get the most out of your system.
If your computer or web browser is running slowly, a good place to start clearing space is in your Temporary Internet Files. Temporary Internet files, as well as cookies, are collected every time you visit a site online. These files make it easier for your PC to remember your browsing history, and your log in information for various websites. However, sometimes all of these little files can add up into one big clog on your machine. If your computer isn't running up to par, follow along with t...
This video teaches us the method to create PDF in OS X. The first step involves opening up the document which you want to convert to PDF. Go to 'File', 'Print Preview'. Select the magnification of the document. Check to see whether the whole file is there or not. Go to 'Print' option under the 'File' drop down menu. Go to the 'PDF' tab at the bottom of the window. Choose 'Save as PDF X'. Write the name of the file in the space provided in the dialog box. Choose 'Desktop' as the destination of...
In this video tutorial, viewers learn how to view hidden files and folders in Windows Vista. Begin by clicking on the Start menu and select Control Panel. Click on Appearance and Personalization, and select Folder Options. In the Folder Options window, click on the View tab. Under Hidden files and folders, check the option, Show Hidden files and folders. Now click Apply and OK. This video also provides a demonstration of hiding and revealing a hidden file. This video will benefit those viewer...
In this how-to video, you will learn how to hide a file inside an image file. You will need a program like WinZIP or WinRAR to do this. First, create a new zip folder. Drag the file you want to hide into the zip folder. Open the command prompt. From here, type in the location of your file. Now, type in COPY /B followed by the name of the image, a plus, and the name of the zip folder. Press enter to do this. Now, you can delete the zip folder. The image will now actually be a zip folder. This ...
This is a video tutorial that is teaching its audience how to install a game that has been downloaded from a torrent file. The first thing that you do is open the file containing a folder. Right click on the file to do this. The next thing that you do is to make a new folder and rename it whatever you would like, then open up WinRar. Next you should extract the ISO file to the folder that you made. Next mount the ISO file by using Deamon tools. Finally you should burn the ISO file to a CD or ...
Latest video files come in different formats. Some of the programs and devices are compatible with only a few formats and this requires you to convert files between different formats frequently. Lot of streaming files on the internet are in FLV or MPEG format and to use them on your portable devices you may need to convert them into MP3. To do this you will be needing a application called VLC media player. VLC is the most powerful open source medial player which almost supports all of the vid...
John Roy demonstrates the tutorial to view or retrieve layouts that ens with .swf. SWF files can be viewed by pasting the url in the address box.
In this video tutorial, viewers learn how to create .torrent file and seed in u-Torrent. Begin by opening the u-Torrent program. Then click on File and create a new torrent. Browse for the file you wish to share. For the trackers, copy and paste one of the trackers provided in the video description and click Create and Save. Once the .torrent file is created, users are now able to share the torrent on u-Torrent. This video will benefit those viewers who would like to learn how to create a .to...
1. Type in WWW.sendthisfile.com in the web toolbar and press enter 2. Click on Register found on the top right side
In this Computers & Programming video tutorial you will learn how to remove ntde1ect.com & autorun.inf virus & trojan files. Go to my documents > tools > folder options > view and unhide the files and click OK. Open up the task manager. Under properties, click on explorer and end that process. Then look for wscript.exe, select it and minimize the task manager. Now open up command prompt and type in ‘dir’ against C drive. This will not list the hidden files. So, you type in ‘attrib –r ...
In this video, learn how to convert audio file formats using iTunes. Changing file formats will come in handy if using two media players, or using audio software programs such as Final Cut Pro. Changing an audio files type is very easy in iTunes and made even easier with the help of this video!
Maximefcom teaches viewers how to play FLAC files in Windows Media Player. First, you will need to open up your web browser. Next, go to the site Xiph. here you should click on the section 'Downloads' to the left. Click on the file that says 'Ogg Codecs for Windows'. Download this, run it and install it. When it is installed, make sure FLAC files are checked. Now, find the FLAC files on your computer that you are trying to play. Make sure it will open in Window Media Player and then play it. ...
In this video tutorial, viewers learn how to save in .doc file format in Microsoft Word 2007. When saving a file, click on File and select Save As. In Format, change it to Word 97-2004 Document(.doc) and check Append file extension. To set .doc as the default format, go to Word and select Preferences. Under Output and Sharing, click on Save and change the format to .doc in Save word file as. This video will benefit those viewers who want to learn how to save files in .doc format so that it ca...