Maybe if everyone shares their own thinking for their own situations
it may help.
I know the 2.x branch rather well, and cut my teeth on it.
My work involves x509 cryptographic materials and I cut my own
binaries and then wrap them in python to extend and enhance or build a
lot of automation arou
Looks like we finally get tkinter GUI based programs according to
Issue# 2983 in Python 3.1a so our programs don't look like something
out of early 1980's and can be themed to more closely match the
underlying Operating Systems widget set!
This is a big deal in that while tkinter came with (just a
from my .profile file in ~
# This file does not get executed because .bash_profile exists in the
home directory
# and that gets executed instead. If .bash_profile did not exist then
this file gets executed
# PN hand edit export PATH to process the most recently installed
Python Framework
# otherw
+1 for site packages and standard shebang, still lets you launch with
python first followed by .py file or followed by .py file
also for some clues, just open up a terminal in your Mac OS X computer
and check out your exports your PATH will be different depending on
all the software and developme
> Note: spelling is "OcempGUI". Also, since google broke some of the
> links,
> here's that main link again:
Thats my bad or more to the point my iPhone bad, typing fast with
spellcheck changes words to real dictionary words.
> Well, to be fair, SDL is pretty commonly-used software and they offe
Had a look and it is still under my radar unfortunately because of
TkInter. OceanGUI has a lot of large decencies (Pygame, SDL libraries,
PyObjC, etc.) to install on my system to just to get a GUI thats no
better loking than TkInter which comes pre-installed (no dependencies)
on most every major pl
silly me, forgot to mention
build a set from digits + '.' and use that for testing.
Cheers,
PN
2009/2/16 Python Nutter :
> Type casting seems to be the wrong way to go about this.
>
> teststring = '15719'
> teststring.isdigit()
> returns True
>
> Tha
Type casting seems to be the wrong way to go about this.
teststring = '15719'
teststring.isdigit()
returns True
That takes care of integers.
from string import digits
digits
'0123456789'
now you have all the digits and you can do set testing in your logic
to see if the teststring has anything i
If your use is to Generically "want to use python on Windows XP" you
install the standard/generic Python that you download from python.org
Without any details to decide with, I would also say download version
2.5.4 of Python from python.org
2009/2/12 Saeed Iravani :
> Hello, I want to use python
OS X is POSIX/UNIX system so your basic plan of going about things:
1. Learn what proxy/network subsystem Tiger uses
2. Learn what proxy/network subsystem Leopard uses (same as 1., or has
it changed?)
3. Based on 1 and 2 learn the config file names and locations.
4. Based on 3 you will determine if
If you or anyone who reads the thread is interested in using Python in
an advanced way you use generators and build processing chains that
will take the performance of Python to the edge and even give old AWK
a run for its money for certain types of processing.
Python:
wwwlog = open("access-lo
If no one answers, the way I do my work with certificates is I just
wrap OpenSSL myself by doing a popen call (probably now should be
using subprocess for any future scripts I write). I then redirect the
output that normally goes to the shell window into a buffer then I
search/slice out the fields
> In article <[EMAIL PROTECTED]>,
> Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
> Well, as an old-time unix hacker (who learned REs long before Perl
> existed), my question to you would be, "Is there any problem which
> *shouldn't* be solved with an RE?" :-)
>
> One of the reasons REs don't get u
Perl Cookbook for Python Programmers:
http://pleac.sourceforge.net/pleac_python/index.html
P3K as starting point (slight cringe) as long as you know the caveats.
I'm of the mind as Christopher with regard to how Python 3.0 has been
released on Python.org:
"""I don't think that Python 3.0 is a ba
For simple hashing algorithms, then use the aformentioned built in
hashlib in Python.
However for the rest you need M2Crypto to get a wrapper around OpenSSL:
M2Crypto is the most complete Python wrapper for OpenSSL featuring
RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including
AES);
Mini install guide for python on the iPhone:
Cydia => Install SSH helps make initial configuration easier until you
get used to MobileTerminal
Cydia => Install MobileTerminal (closest to a bash shell you get on
your iPhone currently)
Cydia => Install Finder (graphical alternative to using
SSH/Mobi
Yeah. The day Python goes Certification required to get a job is the day I
quit Python forever and move on to another language.
Certification prooves you're an idiot who needs to spend money to work
for another idiot who doesn't know enough about programming to know if
they hire competent programm
Yes it does involve Jailbreaking.
Python
GCC
Java
and Ruby
are all available to run on the iPhone after you Jailbreak it.
Just run the Cydia appliacation (jailbreak's AppStore) to install
anything you want.
For me I have not installed Python (yet). Jailbreak was only to tether
iPhone to my Macb
/8/14 Python Nutter <[EMAIL PROTECTED]>:
> ery low level and not very useful for beginners as a lot of the heavy
> lifting and management is still left up to you, the programmer.
>
> The module ftputil is a high-level interface to the ftplib module. The
> FTPHost objects generat
ery low level and not very useful for beginners as a lot of the heavy
lifting and management is still left up to you, the programmer.
The module ftputil is a high-level interface to the ftplib module. The
FTPHost objects generated from it allow many operations similar to
those of os and os.path. A
I think the hidden gems in multimedia/game production are Pyglet and
Rabbyt. Whereas PyGame is the older api, its large and bloated and has
of course a heavy dependency on SDL. Pyglet and Rabbyt are
lightweight, efficient, have some amazing functions and hit native
OpenGL in all the major OS distri
PS. To see some real games developed under pressure/time constraints
in Python you should visit PyWeek to see what individuals and teams
can create in only a weeks time!
http://pyweek.org/
2008/7/19 Michael Lubker <[EMAIL PROTECTED]>:
> Any people that use Python as the predominant language for
I used to use PyGame but the horrible delay waiting for OS X binaries
put me off.
I now use Pyglet extensively, and combine Pyglet + Rabbyt to get
amazing sprite handling speeds.
Pyglet/Rabbyt make use of OpenGL which comes installed on all the
major systems out there.
PyGame requires the instal
Just a quick announcement,
I have supplied PPC and Intel compiled eggs for the Rabbyt libary on Pypi
http://pypi.python.org/pypi/Rabbyt/
Rabbyt-0.8.1-py2.5-macosx-10.3-ppc.egg (md5)
Built on OS X 10.5.4 for PowerPC equipped Macs
Rabbyt-0.8.1-py2.5-macosx-10.3-i386.egg (md5)
Built on OS X 10.5.4
If you guys can get your head out of IDE land, you'll find iPython
does a fantastic job at introspection and Auto-completion, you can
launch shell commands and editors and when done saving be back in the
iPython shell, save memory/variable space to disk so you can come back
the next day and continu
2008/6/12 Brad Navarro <[EMAIL PROTECTED]>:
> Basically, what I am trying to do is get a list of each file's attributes
> within a directory. Basically, the information that the 'ls –l' command
Python For System Administrators:
http://www.ibm.com/developerworks/aix/library/au-python/
handy to a
26 matches
Mail list logo