|
by: William S. Perrin |
last post by:
I'm a python rookie, anyone have and suggestions to streamline this
function? Thanks in advance.....
def getdata(myurl):
sock = urllib.urlopen(myurl)
xmlSrc = sock.read()
sock.close()
xmldoc = minidom.parseString(xmlSrc)
|
by: Jeremy Sanders |
last post by:
Hi -
I'm trying to build a Psyco rpm on Fedora 1. I try the command
xpc5:~/psyco-1.1.1> python setup.py bdist_rpm
this fails with:
....
copying dist/psyco-1.1.1.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
|
by: Paulo da Silva |
last post by:
When running the following program:
#! /bin/env python
# -*- coding: iso-8859-15 -*-
import psyco
psyco.full()
def main():
n=eval("123+456")
|
by: Buday Gergely |
last post by:
Hi,
I run an ubuntu hoary linux. I have psyco installed as apt-get says, but
when I launch python and try "import psyco" it does not find. I have tried
"locate psyco" to find its source or compiled version without success. Is
this a known bug in the python2.4-psyco debian package?
- Gergely
|
by: Fausto Arinos Barbuto |
last post by:
Hi All;
I have Psyco (on Windows XP) and now I want to install it on Linux, too.
I FTP'd the tarball (tar.gz) from Psyco's site but can't get it compiled.
First, I tried the usual "python setup.py install" but that did not work.
I later found a RPM for Psyco but it wasn't suitable to the Linux version
I'm currently using.
Has any of you had a similar experience? If so, how did you manage
to solve the problem (in the case that you...
|
|
by: vinjvinj |
last post by:
I haven't used an IDE in a long time but gave wing ide a try because
I wanted the same development platform on Linux and Windows.
I'm currently using Ultraedit and it works fine but needed something
more portable as I'm moving my main platform over to Ubuntu. I first
tried jedit and was reasonably happy with it but it felt slow and it
did not have a native look and feel to it. It was really hard on the
eyes.
I was impressed! The UI...
|
by: danmcleran |
last post by:
I'm not seeing much benefit from psyco (only 5-10% faster). Maybe this
example is too trivial? Can someone give me some pointers as to what
kind of code would see a dramatic benefit?
Here's the code:
import time
import psyco
n = 100000
|
by: a |
last post by:
hi i tried psyco+webpy
here is the error that i got
please let me know if any of you has success run psyco+webpy
thanks
import web, psyco
urls = (
'/', 'view',
'/add','add'
|
by: Arash Arfaee |
last post by:
Hello All,
I have no problem using psyco on python shell on my new Mac, however I
cannot import it from WingIDE. I copied psyco directory into mac
python folder. Does wingide installs another python shell?
Thanks,
Arash
|
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,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|