-
Marked Solved Status for Convert python to c#
My experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of … -
Marked Solved Status for while loops with if statements
Can someone give me an idea on how to get started on this program? I have been having problems on this for a week and cannot get started. I understand … -
Replied To a Post in PyEditor1.2
megaflo found an error on line 63 I took the time to correct it thanks megaflo -
Edited PyEditor1.2
This is a PyEditor I made because I couldn't get a IDLE working on windows 95. -
Replied To a Post in while loops with if statements
@Chtaylor5201 ` employee’s` Strange to see a **’** character (ascii 63) instead of the normal **'** character (ascii 39). -
Marked Solved Status for How to split a list (matrix) into other lists in pyhton?
I dont know how to convert a matrix of 10x10 into 4 matrices of 5x5, for example: [[10, 11, 12, 13, 14, 15, 16, 17, 18, 19], # matrix 10x10 … -
Replied To a Post in How to replace only 1d values in 2d array after filter using numpy in pytho
The pythonic way would be to use a loop. -
Marked Solved Status for Bucket Sort with timing
I have wrote this code but it shows me only the timing not the values, can any bady tell me where is the problem? import time import random def procedure(): … -
Replied To a Post in What vehicle do you drive?
Snow, deer and mountains make a Jeep 4x4 about the best thing to drive. -
Replied To a Post in Using cx_freeze to convert a tkinter program to an executable
Here is one way that I use frequently ... """ tk_setup.py Using cx_Freeze with Python33 to package a Tkinter GUI toolkit program to an executable file (.exe in Windows OS). … -
Replied To a Post in Nature's Temper
A winter storm is closing in with 18 inches of snow expected above 7000 feet. Let's see how my new Jeep will do. -
Replied To a Post in Memorable Quotations
“A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing.” ... George Bernard Shaw -
Replied To a Post in Memorable Quotations
“Some infinities are bigger than other infinities.” ... John Green -
Replied To a Post in Memorable Quotations
“You only live once, but if you do it right, once is enough.” ... Mae West -
Replied To a Post in Should i continue with VB/C# or move on to another language?
Take a look at ... https://www.youtube.com/watch?v=ujOTNg17LjI and https://www.youtube.com/watch?v=mTmJfWdZzbo -
Replied To a Post in What's up with Windows 10?
Transferring files under Windows7 was a lot nicer than under Windows8. If Windows10 adds another "improvement", I have to think Linux. -
Replied To a Post in Script Errors
You might want to post that under Hardware & Software Microsoft Windows -
Replied To a Post in Science
Interesting observation ... http://news.yahoo.com/report-dangerous-lab-fires-show-lack-training-151542472.html -
Replied To a Post in Bucket Sort with timing
You need to create a random list for the bucket_sort argument lst ... import time import random #BUCKET SORT (up to 30) def bucket_sort(lst): bucket, bucket1, bucket2 = [], [], … -
Replied To a Post in using pyzo
Sorry, I don't have a Linux box at the moment. We have quite a few Linux users here, hopefully somebody can download the tarfile for Linux and look at it. … -
Replied To a Post in using pyzo
On Windows you have three ways to code ... IEP.exe ipython_notebook.exe ipython_qtconsole.exe all in the folder C:\pyzo2014a There is also idle.exe in folder C:\pyzo2014a\Scripts There should be Linux counterparts to … -
Replied To a Post in IDE
There is another scientific Python package that you can download and install on Windows or Linux here: http://www.pyzo.org/downloads.html#installation-instructions It comes with a very functional IDE written with PyQt(Pyside), and the … -
Replied To a Post in using pyzo
Did you install it? http://www.pyzo.org/downloads.html#installation-instructions After installation click on the pyzo icon to start up their nicely made IDE. -
Replied To a Post in How to split a list (matrix) into other lists in pyhton?
The above can be simplified to ... matrix10x10 = \ [[10, 11, 12, 13, 14, 15, 16, 17, 18, 19], [20, 21, 22, 23, 24, 25, 26, 27, 28, 29], … -
Replied To a Post in How to split a list (matrix) into other lists in pyhton?
One of the ways would be to use slicing ... ''' matrix_slice101.py slice a 5x5 matrix out of a 10x10 matrix ''' # matrix 10x10 matrix10x10 = \ [[10, 11, … -
Marked Solved Status for SOLVE IF YOU CAN
You are given N integers that are arranged circularly. There are N ways to pick consecutive subsequences of length M (M < N). For any such subsequence we can find … -
Marked Solved Status for How to append a string to only consonants in a list?
Right now I'm trying to create an oppish translator. That is, after a consonant or several consonants in a row, you add 'op' to those letters. As an example, cow … -
Marked Solved Status for python path Linux
I'm trying to add /home/garrett/bin/libpy/ to my python path so I can import my own libraries, I would also prefer not to overwrite the default python path but rather append … -
Replied To a Post in Get difference of two text files in excel and highlighting the difference
Maybe a module like xlrd might do it. https://pypi.python.org/pypi/xlrd -
Marked Solved Status for Concatenate strings in Pyhthon?
I have a problem with concatenate strings in pyhton. I need to concatenate the string clave and cadena_aleatoria(x) while cadena_inicio is minor than 256. This is my script: Any help? … -
Replied To a Post in Random Facts
At the end of WW2 the US never signed a peace treaty with Germany. Maybe that explains why they still have of over 80 military bases there. -
Replied To a Post in Projects for the Beginner
In the mid-18th century, Leonhard Euler wrote what he admitted to be a paradoxical equation, consisting of a (infinite) series whose terms are the successive integers, given alternating signs: 1-2+3-4+5-6+7-8+ … -
Replied To a Post in Starting Python
Another number oddity ... ''' perfect_digit-to-digit_invariant.py the Canouchi number is a natural number that is equal to the sum of its digits each raised to a power equal to the … -
Replied To a Post in Projects for the Beginner
Use Python to prove that the sentence "the quick brown fox jumps over a lazy dog" uses every letter of the alphabet. -
Replied To a Post in How to force the text to save in UTF-8
I think Schol-R-LEA is correct. Not sure if this helps ... I used IDLEX installed on Python341 and it worked fine, could also read the resulting file. The chinese characters … -
Replied To a Post in How to force the text to save in UTF-8
This works out of the IP Notebook ... (read file with Windows8.1 Notepad, some other editors will not read properly) import codecs # Text is in Chinese, whereby text = … -
Replied To a Post in Convert python to c#
Another way is to use IronPython to create a .NET exe file. -
Replied To a Post in Convert python to c#
This one is free, but only converts C# to Python. You could still use it to learn. http://codeconverter.sharpdevelop.net/SnippetConverter.aspx -
Replied To a Post in Convert python to c#
You might want to check: https://www.varycode.com/converter.html -
Marked Solved Status for Running python in CMD with portable python
Hello. I'm running injection tests on an SQL database and I found a good script to do so....But it takes command line parameters which I can't execute properly because the … -
Replied To a Post in Multiprocessing for an HPC
Sorry, I have no access to a High Performance Computer like a Cray. My basement is just too small to fit one in. -
Replied To a Post in How to force the text to save in UTF-8
You might also want to check http://python.org/dev/peps/pep-0263/ -
Replied To a Post in Multiprocessing for an HPC
You might want to take a look at: https://docs.python.org/dev/library/concurrent.futures.html -
Replied To a Post in Random Facts
China's Tianhe-2 supercomputer is the fastest in the world at 33.86 petaFLOPS, or 33.86 quadrillion floating point operations per second. -
Replied To a Post in Projects for the Beginner
# data is a list of (fname, lname, age, weight) tuples data_list = [ ('Heidi', 'Kalumpa', 36, 127), ('Frank', 'Maruco', 27, 234), ('Larry', 'Pestraus', 19, 315), ('Serge', 'Romanowski', 59, 147), … -
Replied To a Post in There is an elephant on the loo!
Australia is the highest carbon emitter per capita of any country in the OECD. -
Replied To a Post in Random Facts
Dozens of US soldiers are being isolated at a US base in Vicenza, Italy, as they return from West Africa to help with the Ebola fight. -
Marked Solved Status for saving progress
hey i am making a game and decided that i want to put a load/save option in it and was wondering if anyone here knew how to do this, (the … -
Marked Solved Status for Main Options / Style Questions
I have a couple of questions about the main function. Do you need to put the ; after the last }? Do you need to put a return statement before … -
Marked Solved Status for frumph
i hate C++. i have been working through the C++ for dummies book, and i have yet to make any sense out of it. the only thing that i have …
The End.