Take a look at this toll for UML drawing UML Graph:
Java UML tool http://www.umlgraph.org/
Python UML tool http://pypi.python.org/pypi/PyUMLGraph
Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts
Wednesday, September 12, 2012
Thursday, March 22, 2012
Java and Python password generators resources
Python password generator code:
SecureRandom sr = new SecureRandom();
#!/usr/bin/python
import random, string
myrg = random.SystemRandom()
length = 10
# If you want non-English characters, remove the [0:52]
alphabet = string.letters[0:52] + string.digits
pw = str().join(myrg.choice(alphabet) for _ in range(length))
print pw
Java password generator resource:
import java.security.SecureRandom;
import com.Ostermiller.util.RandPass;
public class PasswordGenerater {
public static void main(String[] args) {
RandPass rp = new RandPass(sr);
System.out.println(rp.getPass());
}
}
Wednesday, October 26, 2011
TextWrangler is the Python Free Editor for Mac
TextWrangler is a good free Python Editor for Mac made on the base of TextEdit.
TextWrangler knows how highligh the syntax of Python (Simultron don't) etc.
The link for download of TextWrangler is this http://www.barebones.com/products/textwrangler/download.html
TextWrangler knows how highligh the syntax of Python (Simultron don't) etc.
The link for download of TextWrangler is this http://www.barebones.com/products/textwrangler/download.html
Saturday, May 14, 2011
A good one Python Tutorial
Here is the simple and the best Python tutorial I have ever seen.
Won't forget this link )) http://www.tutorialspoint.com/python/index.htm
Won't forget this link )) http://www.tutorialspoint.com/python/index.htm
Matrix effect code in Python
Here is kind of Matrix effect of random numbers running on the screen.
If you know Matrix movie you'll understand what I'm talking about. It is my first and I hope not last try of coding on Python )).
If you know Matrix movie you'll understand what I'm talking about. It is my first and I hope not last try of coding on Python )).
#!/usr/bin/python
import random
start = 11
stop = 99
i = 0
def buildNumberTable(j):
i = 0;
list = []
while i <= j:
a = random.randrange(start, stop)
list.append(a)
i += 1;
for b in list: print b,
print "\r"
while (i <= stop):
buildNumberTable(66); #the parameter 66 fits to 15.4" screen if you have 13" put dif. number
i += 1
if i == stop:
i=0
Subscribe to:
Posts (Atom)
