|
by: Jeff Wagner |
last post by:
Is there an Expect-like module for Python that is cross platform and, for the most part, does what
Expect does? A number of years ago, I wrote some Tcl scripts using Expect for automation. I am
trying to convince my good friend who I worked with at the time to try Python. He said, "what about
Expect?"
I have heard of a Pexpect but was told...
|
by: Bart Nessux |
last post by:
Just fooling around this weekend. Wrote and timed programs in C, Perl and
Python. Each Program counts to 1,000,000 and prints each number to the
console as it counts. I was a bit surprised. I'm not an expert C or Perl
programming expery, I'm most familiar with Python, but can use the others
as well.
Here are my results:
C = 23 seconds...
|
by: kbass |
last post by:
I am starting to learn Python but I want to know how the job market looks
for programming using Python. I really don't see many jobs (probably one or
two) that require Python experience at all. Most DBA and SA positions that I
have seen require Perl and most development position require Java or C++ so
how can learning Python benefit my career...
|
by: Luca T. |
last post by:
Ok...
Now...
I made this simple program as a test:
import popen2
r,w,e = popen2.popen3('su -c ls')
for line in e.readlines():
print 'E: ' + line
for line in r.readlines():
print 'R: ' + line
|
by: Andrea |
last post by:
Hello NG,
I'm trying to follow the mayavi documentation in order to run
mayavi from python. In "Chapter 4. Using MayaVi from Python", there is
a simple example like this:
# generate the data.
from Numeric import *
import scipy
x = (arange(50.0)-25)/2.0
|
|
by: Michel Claveau - abstraction méta-galactique non |
last post by:
Hi !
If Python is Ok with Unicode, why the next script not run ?
# -*- coding: utf-8 -*-
def режим(toto):
return(toto*3)
|
by: jason.massey |
last post by:
Hi all,
I've got a weird problem. I was running Python 2.3 and MySQLdb and had
everything running fine.
Cutting to the chase: After upgrading to 2.4 (and latest modules) the
MySQLdb functions in Python can connect to the database, do queries and
do inserts.
Or rather, it seems to do inserts. If I just run in the Python command
|
by: needin4mation |
last post by:
In this code:
XmlTextWriter myWriter = new XmlTextWriter(@"C:\Xmldata\myWriter.xml",
null);
Why do they have the @ at symbol? Why not just the string?
|
by: James Stroud |
last post by:
Hello All,
I have been trying to make an https client with python, but it seems
that, to do this, one needs to have the socket module compiled with ssl.
This is not the default. So I have a couple of questions.
1. Where do I specify to compile socket with ssl? I found no
obvious option in configure or setup.py or several other
files I...
|
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...
|
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...
|
|
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...
|
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...
|
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...
|
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...
|
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...
|
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
|
|
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...
|