by: Nicholas Geraldi |
last post by:
I have a script that uses the chdir() function. I know the script works (
works perfectly on my host ), but when I put the script on my server here at
work I get the following error.
Warning:...
|
by: Shaun |
last post by:
Hello!
I can't seem to get paths and variables working together:
import os
a = 'books'
os.chdir( '/test')
os.mkdir("/test/"a)
the last line does not seem to work. os.mkdir(a) makes the...
|
by: m.wanstall |
last post by:
Hi there,
I'm totally new to Python and was wondering why I was getting an error
for this. I'm just trying to create a folder based on user input:
import os
def setupProject(project):...
|
by: per9000 |
last post by:
Dear Black Knight,
I have no quarrel with you sir Knight, but I must import your parents.
SHORT VERSION:
I tried three variants of "from ../brave.py import sir_robin", one
works. I want...
|
by: eoindeb |
last post by:
I am trying to create a directory on Solaris using the mkdir()
function. This works fine when I pass a string literal ("/etc/hosts")
to mkdir, but if I try passing a directory pointer to mkdir, it...
|
by: MikeC |
last post by:
Good People,
I'm writing a backup utility that uses a chdir() to go into the source
directory (in which the files reside that I want to back up), so I don't
want to use chdir() to get into the...
|
by: boytheo |
last post by:
Hi people,
I'm trying to get a script to create a few directories on a webserver, and unzip a file or two.
my script works fine locally, when accessed via shell.
When accessd via apache, it...
|
by: Julien Biezemans |
last post by:
Hi everyone,
I've written a file:// scheme stream wrapper that acts like chroot()
(but is more flexible, does not require root privileges and works on any
platform). Everything works just fine...
|
by: Damodhar |
last post by:
hi any one can help me to create the folder and sub folders
for ex my project root is : test
i want to create the folder like files/images/personal/profile/album/
damu
i want to create...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|