ok I wanted to have my program make a directory with a name that was entered by the user
all I know how to do is
system("mkdir");
I also tried
system.mkdir(user_input);
please help
thnx
hi
im new to C++ and I used python before.
now in python i could make a script like this
print "hello"
while True:
cmd=raw_input(">")
if cmd == "hello"
do something
else
do something else
now that code repeats the input part and i...
ok say you want to count how many times a progrma got opened like this
while True:
cmd=raw_input(">")
if cmd == "open":
import os
os.system("open_try.py")
how could i count how many times that program got opened
hey i was just wondering how good you make a directory using python i have done the
import os
os.system("md my_dir")
but consider the following
dirname=raw_input(">")
import os
os.system("md ______")
how could i put the dirname variable in the black after md
hey guys
um im making a game like um adventure on addicinggames.com
http://www.scottpehnke.com/programming/adventure.html
without the console
anyways i just wanted to know it looks like they made the background in paint and i was woundering how i could make the background in paint and apply...
ok can someone tell me what is wrong with this script. i get syntax errors on line 7 and 14 on character 1
<LAYER name="ani1" bgColor="yellow">
O
<SCRIPT LANGUAGE="JavaScript1.2">
function move(x,y) { this.x = x; this.y = y; }
export move;
</SCRIPT>
</LAYER>...
hi
i've got a question about goto's i just started to use python and i've only used basic before this
i know in basic you can reuse commands by useing branch labels like this
[hi]
print "hello"
input ">"; h
if h = 3 then goto [hi]
if h <> 3 then goto [bye]
[bye]
print...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.