by: Viswa |
last post by:
PythonGurus,
I would like to read the ascii data from a file with many columns
into a list. I want the type to be float.
data=open('dat1.dat','r')
lines=data.readlines()
print lines
|
by: Dfenestr8 |
last post by:
os.listdir("path") returns the names of all the items in a directory ok,
but I need to know whether the item is a file or a directory.
Can anybody tell me how this could be done?
|
by: Rick Brandt |
last post by:
Just got a new PC at work (woo hoo) and I'm wondering if the way the various
versions of Access were installed has left it in some kind of incorrect state.
In an app I am working on I added a...
|
by: Anders Eriksson |
last post by:
Hello!
I'm using VC++ 7.1 and MFC.
In a header file that is located in a different directory that the main
project I include a header file that is located in the main project
directory. The...
|
by: ESPN Lover |
last post by:
Below is two snippets of code from MSDN showing how to read a file. Is one
way preferred over the other and why? Thanks.
using System;
using System.IO;
class Test
{
public static void...
|
by: R. P. |
last post by:
Subject: XSLT to transform a flat XML file into a structured text file
I have an XML file that lists the PDF file segment names and titles of a
larger document and looks something like this:
...
|
by: tomtown.net |
last post by:
Hello
I'm trying to get a single line removed from a text file using a search
pattern (pretty simple: if line contains "NODE1") -> remove line). To
achieve this I's like to operate with only the...
|
by: Ørjan Langbakk |
last post by:
I wanna make a file that holds the complete pricelist for a small
webshop (yes, I know that a database in the background would be a lot
simpler, but that is not an option today, unfortunately).
...
|
by: Dormilich |
last post by:
Hi,
I could need some advice. In my script I'm reading a language translation file (some hundred entries). which file I select depends on the user selections (i.e. $_GET). my problem is currently,...
|
by: Avatar19 |
last post by:
Hi, I would like to compare elements in two seperate Lists for example:
List1=, , ]
List2=, ]
What I understand is that the syntax should look like this:
List3
for i in List2:
for j in...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|