473,806 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

python startup very slow on win2000

Hi

I use python on win2000.I found python perhaps spend 10~15 second on
starting. How to accelerate it?

Thanx
Jul 18 '05 #1
11 1927
On Wed, 28 Jul 2004 11:30:42 +0800, angel <da*******@yaho o.com> wrote:
Hi

I use python on win2000.I found python perhaps spend 10~15 second on
starting. How to accelerate it?


I'm running Python 2.3.3 on Windows 2000 here at work, and while the
startup time isn't great (about 1 second) compared with Linux at home,
it's nowhere near that bad.

Is there some other process taking a lot of CPU time or RAM? Are you
talking about just starting Python itself - or are you running some
program written in Python? How long does it take just to start the
Python command-line shell by itself?

dt.
Jul 18 '05 #2
Hi !

Do you use a soft anti-virus ? Look his parameters (exclude \Python23).

Jul 18 '05 #3
The cpu of my system is P3 1G, memory is 1G. The preformance is good when
runing other application. But running python is terrible, pythonwin.exe will
speed 30 second on startup. "python.exe -i" on command line will speed 10
second on startup.
"Michel Claveau, résurectionn?d' outre-bombe informatique"
<un************ @msupprimerlepo int.claveauPOIN Tcom> дÈëÏûÏ¢ÐÂÎÅ
:ce**********@n ews-reader5.wanadoo .fr...
Hi !

Do you use a soft anti-virus ? Look his parameters (exclude \Python23).

Jul 18 '05 #4
angel wrote:
I use python on win2000.I found python perhaps spend 10~15 second on
starting. How to accelerate it?


There is something wrong or unexpected with your setup. Check
for problems with the PATH (folders that map to missing network
shares and such), virus scanning software (as Michel mentioned
but you sort of ignored in your response), and other such things.
Python itself definitely will not take that long on a properly
configured system, IME.

-Peter
Jul 18 '05 #5
angel wrote:
Hi

I use python on win2000.I found python perhaps spend 10~15 second on win2000 is quite slow on systems with little memory. (<=128 MB)

On my notebook it also takes some time to start Python,
because the hd is quite slow.
starting. How to accelerate it? Buy more memory and a fast hd.

Or fix Python. Maybe stuffing all
library py-files in a
(memory mapped) file may
help. ;-)


Thanx

Jul 18 '05 #6
Thanx for your help.

I have checked every thing you had mentioned,but no result.
There is jython2.1 on my system. jython startup is fast, just 2~3 second.
How strange is it!
Dose python need configure? For example: PATH or other?
"angel" <da*******@yaho o.com> дÈëÏûÏ¢ÐÂÎÅ:2m ************@un i-berlin.de...
Hi

I use python on win2000.I found python perhaps spend 10~15 second on
starting. How to accelerate it?

Thanx

Jul 18 '05 #7
Re-Hi !

On my Vaio (P3 - 3,2 Ghz - 1 Go) Python-2.3 run a typical script in 11 s ;
after STRONG optimization of XP and Norton-anti-virus, it run in 4 s (the
first run) and 2 s (other runs).

And it's similary with other softwares.


Jul 18 '05 #8
Michel Claveau, résurectionné d'outre-bombe informatique wrote:
Re-Hi !

On my Vaio (P3 - 3,2 Ghz - 1 Go) Python-2.3 run a typical script in 11 s ;
after STRONG optimization of XP and Norton-anti-virus, it run in 4 s (the
first run) and 2 s (other runs). start-up subsecond range on Windows 98 SE, PII 400MHz, 320 MB RAM
1-2 seconds on my PIII 800 MHz, notebook, Windows XP
And it's similary with other softwares.

Jul 18 '05 #9
angel wrote:
Dose python need configure? For example: PATH or other?


do a:

python -vSEc "print 1"

maybe you can identify the source of the slowdown.

Istvan.

Jul 18 '05 #10

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

Similar topics

114
9899
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
6
1885
by: km | last post by:
Hi all, Why is it that the implementation of empty loop so slow in python when compared to perl ? #i did this in python (v 1.5) for x in xrange(1000): print x # this took 0.017 seconds -------------------------- #similar code in perl (v 5.6):
18
3093
by: Mark P | last post by:
I have a bit of vb code that uses Tables.Append to programatically link tables from Oracle and DB2 datasources. The problem I am having on some client machines is that the link will take anywhere from 1 to 3 minutes to link the table. When I manually link the tables,through Access, it takes no time at all. Note that only certain client have the problem, and the problem will sometimes go away. These clients will usually get an ODBC Call...
118
6759
by: 63q2o4i02 | last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely hated it, having learned C++ a few years prior. They didn't teach Lisp at all and instead expected us to learn on our own. I wasn't aware I had to uproot my thought process to "get" it and wound up feeling like a moron. In learning Python I've...
5
1676
by: Cylix | last post by:
I have created an VB.Net application, but I found the startup speed is really slow. Once I start the application and I close it and re-open, The speed is much faster, I know that this is common on all applications, but is there any method to make the first time startup faster? Thank you!
20
2655
by: Thorsten Kampe | last post by:
Hi, I've already sent this to the Komodo mailing list (which seemed to me the more appropriate place) but unfortunately I got no response. I'd like to build a Python GUI app. Neither Tkinter nor Wxpython nor PyQT are actually what I want (because the lack of GUI builders and they don't really look good on Windows and Linux). Komodo itself is an excellent example of a - at least Python driven -
0
9719
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10623
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.