Description:
The Python computer language.
|
|
|
mmap and bit wise twiddling - Raspberry Pi
|
|
Hi,
I am trying to work with HW peripherals on Raspberry Pi
To achieve this, it is necessary read/write some values from/to the
memory directly.
I am looking for some wise way how to organize the bit twiddling.
To set some specific bit, for example, it is necessary:
- read 4 bytes string representation (I am using mmap)... more »
|
|
Python SOAP library
|
|
What's the best SOAP library for Python?
I am creating an API converter which will be serialising to/from a variety of sources, including REST and SOAP.
Relevant parsing is XML [incl. SOAP] and JSON.
Would you recommend: [link]
Or suggest another?
Thanks for all information,... more »
|
|
How can I read streaming output of a subprocess
|
|
I want to read the stream of an external process that I start with Python. From what I've seen that's not possible with the subprocess module?
I want to read the output of "ip monitor neigh" which will show changes in the ARP table on my Linux computer. Each change is a new line printed by "ip" and the process continues to run forever.... more »
|
|
reading data file into a list
|
|
I have this data file which contains raw data in newline terminated for like below: 10.6626
11.2683
11.9244
12.5758
14.1402
15.1636
Now i want to read that file and import this data into a numpy array. how should i go about it?
|
|
Designing and Building an API converter
|
|
How would I go about building an API converter?
I have multiple different APIs with different schemas serialised in XML or JSON which I need to output as a standardised schema.
Other features needed:
- Authentication (i.e.: can't get/set data unless you're from a certain DNS xor have the correct user+pass)... more »
|
|
Installing pygame on MacOS-X Lion with Python 3.3
|
|
I can't get it working : "No pygame module"...
Tried without success :
pygame-1.9.2pre-py2.7-macosx10 .7.mpkg.zip pygame-1.9.1release-python.org -32bit-py2.7-macosx10.3.dmg I am using Python 3 last version on MacOS-X Lion.
Where is a step-by-step installation procedure ?
Thanks,
franck... more »
|
|
Trouble splitting strings with consecutive delimiters
|
|
I'm using regular expressions to split a string using multiple delimiters.
But if two or more of my delimiters occur next to each other in the
string, it puts an empty string in the resulting list. For example: re.split(':|;|px', "width:150px;height:50px;float :right")
Results in
['width', '150', '', 'height', '50', '', 'float', 'right']... more »
|
|
Create directories and modify files with Python
|
|
...
[...]
...
Err.. if you don't know Python, why do you think a Python script will be more flexible
and maintainable for you?
But if you really want to go this way (and hey, why not) then first you'll have to learn
some basic Python. A good resource for this might be: [link]... more »
|
|
Europython 2012 - Early Bird will end in 3 days!
|
|
Hi all,
the end of Early bird is on May 2nd, 23:59:59 CEST. We'd like to ask
to you to forward this post to anyone that you feel may be interested.
We have an amazing lineup of tutorials and talks. We have some
excellent keynote speakers and Guido will be with us!
[[link]... more »
|
|
|