473,387 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

why is com-prompt faster and how do i start at cprompt at mydir/ ?

when running a very computationalheavy program in the shell it
sometimes freezes but the commandprompt runs it without problems and
muh faster, why?
also, the command prompt starts at C:\Users\user>

i want to start at C:\python25\progs

how do i change that?
Jun 27 '08 #1
6 937
no**********@yahoo.se writes:
when running a very computationalheavy program in the shell it
sometimes freezes but the commandprompt runs it without problems
Can you tell us exactly which programs you mean when you say "the
shell" and "the commandprompt"?

--
\ "One seldom discovers a true believer that is worth knowing." |
`\ -- Henry L. Mencken |
_o__) |
Ben Finney
Jun 27 '08 #2
On 24 Maj, 05:48, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
notnorweg...@yahoo.se writes:
when running a very computationalheavy program in the shell it
sometimes freezes but the commandprompt runs it without problems

Can you tell us exactly which programs you mean when you say "the
shell" and "the commandprompt"?

--
\ "One seldom discovers a true believer that is worth knowing." |
`\ -- Henry L. Mencken |
_o__) |
Ben Finney
commandprompt = windows dos-windows

shell = standard python interactive prompt
Jun 27 '08 #3
no**********@yahoo.se writes:
On 24 Maj, 05:48, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
Can you tell us exactly which programs you mean when you say "the
shell" and "the commandprompt"?

commandprompt = windows dos-windows

shell = standard python interactive prompt
Thanks.

Be aware that referring to "the shell" without further qualification
is usually understood to mean "the operating system shell", i.e. the
command shell provided for running operating system commands.

So, you're asking about the difference in behaviour between "the
Windows command shell" versus "the Python interactive shell".

--
\ “I cannot conceive that anybody will require multiplications |
`\ at the rate of 40,000 or even 4,000 per hour ...” —F. H. |
_o__) Wales, 1936 |
Ben Finney
Jun 27 '08 #4
On 24 Maj, 07:01, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
notnorweg...@yahoo.se writes:
On 24 Maj, 05:48, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
Can you tell us exactly which programs you mean when you say "the
shell" and "the commandprompt"?
commandprompt = windows dos-windows
shell = standard python interactive prompt

Thanks.

Be aware that referring to "the shell" without further qualification
is usually understood to mean "the operating system shell", i.e. the
command shell provided for running operating system commands.

So, you're asking about the difference in behaviour between "the
Windows command shell" versus "the Python interactive shell".

--
\ I cannot conceive that anybody will require multiplications |
`\ at the rate of 40,000 or even 4,000 per hour ... F. H.|
_o__) Wales, 1936 |
Ben Finney
yes
Jun 27 '08 #5
On May 23, 10:18*pm, notnorweg...@yahoo.se wrote:
On 24 Maj, 07:01, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
notnorweg...@yahoo.se writes:
On 24 Maj, 05:48, Ben Finney <bignose+hates-s...@benfinney.id.au>
wrote:
Can you tell us exactly which programs you mean when you say "the
shell" and "the commandprompt"?
commandprompt = windows dos-windows
shell = standard python interactive prompt
Thanks.
Be aware that referring to "the shell" without further qualification
is usually understood to mean "the operating system shell", i.e. the
command shell provided for running operating system commands.
So, you're asking about the difference in behaviour between "the
Windows command shell" versus "the Python interactive shell".
--
*\ * * * *I cannot conceive that anybody will require multiplications |
* `\ * * * * *at the rate of 40,000 or even 4,000 per hour .... F. H. |
_o__) * * * * * * * * * * * * * * * * * * * * * * * * * * *Wales, 1936 |
Ben Finney

yes
There's also the IDLE interactive shell, which is definitely slower,
and I suspect this is what he's talking about. If you run 'python.exe'
from the windows C: prompt is it still slow?
Jun 27 '08 #6
En Sat, 24 May 2008 00:30:10 -0300, <no**********@yahoo.seescribi:
when running a very computationalheavy program in the shell it
sometimes freezes but the commandprompt runs it without problems and
muh faster, why?
My Palantir isn't working very well lately, so it's hard to tell what's wrong if you don't show us the code...
also, the command prompt starts at C:\Users\user>

i want to start at C:\python25\progs

how do i change that?
I don't see how is this related to Python, but anyway: right-click on the icon/shortcut you use to open it, select Properties, and change its "Start in" directory.

--
Gabriel Genellina

Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
9
by: gulu man | last post by:
Hi, What is the substitute for COM objects in .NET? How can I create something similar to com in .net? Is it still possible? Thank you
1
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
5
by: Duane Pressley | last post by:
I'm looking for someone to help me make sense of the results I'm observing when using the ThreadPool class in a COM-Interop scenario. Here's the set up: 1.. A classic ASP page instantiates and calls...
3
by: Mike | last post by:
I have been developing ASP applications for quite a while now. Most of the apps that I deploy are a typical n-tier setup. ASP GUI on a web server, Business and Data Components written in VB6...
1
by: Brian Henry | last post by:
does anyone have a class to interact with a com or lpt port? I need to be able to send hex codes through the data lines D1 - D8 on a LPT port... or D1-D4 on serial... i have seen classes in the...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
13
by: Kyle Adams | last post by:
I don't know where is the right place to ask this so I will start here. Can someone explain to me what these represent? I think they all have to do with the middleware level, but I really don't...
5
by: zq | last post by:
Hi! I am have a COM object which occupies more and more memory everytime it's used. The "VM size" counter (private bytes) of the process that uses the COM object keeps on growing when...
0
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$) { } ...
0
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...
0
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...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.