hi!
how can i replace a string containing \ character with another chracter.
The replace function is not working as desired.
please help me out
regards,
LearnerOfPython
User Profile
Collapse
-
replacing \ in python
-
search for any number of files and extract their names
hi!
i have a directory structure(can be of any type)
I want to search for the files present in it and extract the names of those files(file can be of any format e.g .txt/.c/.py)
How can this be done.I have to search the whole directory structure(inclu ding the subdirectories for any files present and if any ,i want the name of all the files)
please help me out. -
Infinite loop in python
hi!
What wud be the python equivalent of the C statement
while(some condition); (i.e no statement gets executed)
any ideas.please let me know -
how to search if a file is present in a folder or not
Hi!
Can any1 help me out.
Actually i wanted to search if a file is present in a folder using python script.
The file is under creation and i want to keep on searching in that folder if the file has been successfully created or not.please help me!!! -
The error which i am receiving while running the script(installa tion file) is:
"Using EXTRA_COMPILE_A RGS = []
Using builtin 'lite' BLAS and LAPACK
running config
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling... -
numarray installation problems
hi!
i am getting problems while installing the num array module.
The setup file is a python script which has to be run.
i tried running it through command prompt.still i couldnt install it.
i am getting errors .wat else can be done???
i downloaded it from SourcForge.net( the file numpy-1.0.1.tar.gz) -
how to set environment variables for using python
I am unable to run any python program from command prompt(unless i run it from the python directory)
e.g i hav python stored as C:\python25
I cannot run python programs from elsewhere as python command is not recognizable elsewhere.
what do i need to do??can anyone guide me? -
Thanks bartonc
i installed a patch of pywin32 module.it now worksLeave a comment:
-
getting errors in import (win32com)
I am new to python
whenever i import win32com.client i get the following error message:
RuntimeWarning: Python C API version mismatch for module win32api: This Python has API version ...
how to decide which build (e.g. 201/202/203/...) of win32com.client has to be install -
how to use win32com.client
i am unable to get any site from which i can install the module win32com.client .
can anyone please help me out -
no kudos, it didnt work.
barton i cudnt find section 6.9 in doc 2.4
please any1 help me outLeave a comment:
-
thanks for all ur valuable suggestions.
Whenever i use popen to invoke cygwin application or any other application(e.g a simple notepad) the application is not appearing on the screen
eg.
import os
fd = os.popen("C:\cy gwin\cygwin.bat ","w")
fd.write("telne t 101.29.34.132")
fd.close()
i am unable to view any changes this program makesLeave a comment:
-
How to control an application using python
Please help me out.
My aim is to run an application usijng python script which i have successfully achieved using system function in os module.further i want some text to be written on that cygwin which has appeared.how to do that??? -
how to control an application using python script
I have a cygwin application which i have invoked using python script like:
os.system("path of the exe file")
How can i enter text in the cygwin( which has appeared )using the python script itself???
No activity results to display
Show More
Leave a comment: