-
Posts
11784 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by Cap'n Refsmmat
-
I'm writing a scientific paper for a Journal
Cap'n Refsmmat replied to Bloke of the forest's topic in Amateur Science
That's really down to the journal's style guides, but most papers I've seen do not use numerical headings. How long is this paper? It shouldn't be long enough to require a table of contents or numbered headings, if you want it published in a mainstream journal. It's best if you can get your ideas across in 5-15 pages. -
No, you were not. You were supposed to follow the instructions exactly as I typed them.
-
Open Command Prompt. Not "Python (Command Line)". Command Prompt. Stop opening the Python interpreter directly, because that expects you to type in Python code directly.
-
You're going to have to learn to read documentation if you want to be able to program. Short version: Figure out where you saved your program. Perhaps you saved it in C:\Users\dragonstar\program.py. Open up Command Prompt. Type cd C:\Users\dragonstar then dir You'll see a list of all files in that directory. Make sure your program is one of them. Now type python program.py and your program will run.
-
Read the instructions? Specifically, the bit that looks like this:
-
Ah! That's your problem. Read this: http://docs.python.org/faq/windows#how-do-i-run-a-python-program-under-windows
-
Okay, tell me exactly what you're doing before you type in those commands. What program are you typing them into? How do you start it? Your problem seems to be that you're given the commands to the wrong thing, but you're not giving me enough detail to tell what you need to do.
-
How should I present a talk on an article?
Cap'n Refsmmat replied to Genecks's topic in Science Education
My thoughts exactly. I was assigned to do a presentation in a few weeks, and in a few days I've put together 20 reference papers. There's a bunch of statistics I don't understand, but I'm going to look it up. My professor has told several of the presenters that he is highly knowledgeable in the subjects they chose, but offered no assistance -- because it's their presentation, and his goal is to make them better presenters. They have to do the research themselves if they want to learn. Incidentally, this is all being posted on a science forum where the answers to many of Genecks' questions would have been provided if he had just asked. I'd gladly explain Doppler shifts and frequency modulation. I'm sure other members would help out too. Use the resources that are right in front of you! -
How should I present a talk on an article?
Cap'n Refsmmat replied to Genecks's topic in Science Education
I guess I don't understand why it's the professor's responsibility to do research on the article you were assigned to research and present. -
How should I present a talk on an article?
Cap'n Refsmmat replied to Genecks's topic in Science Education
Was this the professor's article you were presenting, or some other article the professor coincidentally had information regarding? -
How should I present a talk on an article?
Cap'n Refsmmat replied to Genecks's topic in Science Education
What sort of information were you missing? -
A well-administered Linux or Mac system uses file permissions to make sure viruses can do no harm; for a Linux virus to do serious damage, the user would have to grant it administrative privileges. Social engineering or Trojan Horses are the best bet.
-
Are you running this in Command Prompt or in something else? Where are you typing this?
-
You'll have to be more specific, because I'm not psychic. What did you do, and what happened?
-
Go to Start->All Programs->Accessories. Fire up Command Prompt. Save your Python program directly in C:/. In Command Prompt, type: "python.exe nameofyourpythonprogram.py" This just means it couldn't find the file.
-
Windows has Command Prompt, but execfile() should work too.
-
"python myfirstprogram.py" is the correct code, but you need to run it in the plain command prompt, not in the Python REPL. In other words, don't go: $ python Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> $python myfirstprograp.py Do this: $ python myfirstprograp.py And the $ indicates the beginning of the command prompt line, not something you type in.
-
KDevelop and Code::Blocks both do completion.
-
Uhm. You don't tell the Python shell to start up Python to run a Python program. When it shows $ python, the $ indicates that that's a regular command prompt, not the Python REPL.
-
Well, I'd have to see what's inside myfirstprogram.py, wouldn't I?
-
Typesetting with indices is something that LaTeX excels at, although you'll be disappointed to see that it's a text-based typesetting system. LyX is a nice graphical editor for it.
-
Can you copy and paste the full error here? It should give details.
-
That'll be because you're on the VA's electronic system, which is apparently rather good, but also only used by the VA (and presumably participating civilian hospitals who serve the military). How would one be able to tell which account information was leaked from? I mean, electronic access control and leak detection is a hard problem, particularly if records are accessed routinely by doctors to warn other patients and such.
-
Wikileaks and the Diplomatic Cables of Doom
Cap'n Refsmmat replied to Cap'n Refsmmat's topic in Politics
I dunno, I'd rather trust an objective journalist over an ideologue. -
You'd have to show us your program.