Code Point
September 08, 2010, 08:24:03 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Geshi Sintax Hilighting Mod Installed. Tens of languages available.
Home
Help
Search
Login
Register
Code Point
>
Client Side
>
Python
(Moderator:
Alter Lobo
) >
making directory
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: making directory (Read 2910 times)
bojak71730
Jr. Member
Karma: 0
Offline
Posts: 10
making directory
«
on:
February 06, 2007, 10:50:30 PM »
i made a file in c drive called my_progams i went back tested some of the scripts worked great then today i go and type cd /my_programs just like it told me yesterday to do and now it doesnt work it gives me a long error ... traceback <most recent call list:
file "<stdin>"; line 1, in <module>
NameError: name cd' is not defined
Logged
Alter Lobo
Global Moderator
Jr. Member
Karma: 10
Offline
Posts: 65
Re: making directory
«
Reply #1 on:
February 06, 2007, 11:24:01 PM »
'cd' is a shell command not a python command, so it should be typed at the shell prompt not at the python interactive interpreter prompt.
Also the slash '/' is to be used with Linux. If you are using Windows use the backslash '\'.
Logged
bojak71730
Jr. Member
Karma: 0
Offline
Posts: 10
Re: making directory
«
Reply #2 on:
February 06, 2007, 11:28:17 PM »
well i did that and it gave me same error which i dont understand i used python (command line) like they said
Logged
bojak71730
Jr. Member
Karma: 0
Offline
Posts: 10
Re: making directory
«
Reply #3 on:
February 06, 2007, 11:40:30 PM »
nvm i figured it out the thing i wasnt doing was i was not going to run and typing cmd.exe i was using the interpertor for it
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Announcements
-----------------------------
Client Side
-----------------------------
=> Python
-----------------------------
Server Side
-----------------------------
=> Web Python
=> PHP
-----------------------------
Test
-----------------------------
=> Test
Loading...