I have a friend who uses MS Works, but nobody can open her text documents. I had her send me a sample by e-mail, and it arrived in .wps format (which sounds like WordPerfect) and the Internet said it came out of MS Works. So I told her to use "save as" and select .doc format, which everybody...
The following runs just one time out of five:
import math
for a1 in range (1,9,1):
for a2 in range (1,9,1):
for a3 in range (1,9,1):
for a4 in range (1,9,1):
for a5 in range (1,9,1):
for a6 in range (1,9,1):
for a7 in range (1,9,1):
for a8 in range (1,9,1)...
When I write:
for i in range (0,1296,1):
for j in range (0,648,1):
for k in range (0,648,1):
if i*j*k == 1296:
print i,j,k
The results are missing 1296 1 1, 648 1 2, 648 2 1, etc. What am I doing wrong??
Edwin M.
1) What is the Python statement for nCr, i.e. the number of combinations of n things taken r at a time?
2) What is the formula for counting the number of elements in a set, e.g. 3 for set('a','b','c') ?
Thanks.
Hi - I am a Python novice running under Windows XP. Everything works fine, but after I have worked for some 2 hours, I suddently get 2 messages: "Socket Error: Connection Refused" and "IDLE's subprocess didn't make connection. Either IDLE cannot start a subprocess or a personal firewall is...
Suppose you run an interactive game program in Idle, and there is a variable like "winnings" that, at the end of the program, has a certain value. What if the player wants to repeat? How can you get the program to repeat and make the final winnings value the initial one for the next game? I...
In Pyton 2.4.2, set1=set(['abracadabra']) results in 'abracadabra' as a member, while set2=set('abracadabra') results in 'a' 'r' 'b' 'c' as members. How do I get the input from a raw_input query into a set1 type set? How should the input be made?
Edwin M.
I have used PowerPoint to put together an "automatic" 20-slide show, where each slide is on for a specified number of seconds, and a single sound track plays for all. On both a Win2k dedsktop and a WinXP laptop, timing is so inaccurate and synchronization so bad that, in a 2.5 minute...
In Win2k, I have some files (movie .avi, larger than 300 Mb, in a My Documents folder) that I cannot delete or rename or compress or move in Win Explorer, nor in MSDOS (have not tried moving), nor in PowerDesk: message says sharing violation, may be in use. Others (same type, 3 Gb)I cannot...
I am "synchronizing" files between a Win2k and a Win98 computer, and notice that in Win2k, a file creation/change time adds one hour when daylight saving time rolls around, while in Win98 the time appears to stay unchanged. So at DST time, hundreds of files suddenly have to be...
I just started using PHOTOSHOP ALBUM and am referred to this forum for topics. ALBUM is great, and identifies images by date. I have trouble seeing the FILE NAMES. Suppose I manage and select some 20-30 files and want to move them to, say, Premiere.
1) How do I see the file NAMES, other than...
I am trying to select a title background color in the new 6.5 Titler. Help says that, with the title window open, you select Window > Window Options > Title Window Options. There are 4 options, but no "title window." Also, R-clicking in the titler window does not give me any...
Hi- My Premiere 6.5 works beautifully after 2 years of struggling with an ana/dig capture card, now scrapped. My question: On a large (3 Gb) .avi file, I get jerky motion in the playback.
I have a very fast machine with 2 HD's, two 933 MHz processors, and Raid 0 - but set up as a single...
Hi - My Photoshop 7 has many many fonts. When I select the type tool, I cannot see what the font looks like until I type a letter in the foreground color. Is there any way to see what the different fonts look like before you use them?
Like WordPerfect has a macro which prints out one line of...
I am very happy with Photoshop and would like to make a projector "presentation" of images I have in a folder - one after the other, NOT automated, such as 5 seconds each in Premiere or Powerpoint, but accompanying a live talk or lecture, so that you just press a button to go to...
I am very happy with Premiere 6 and 6.5 and would like to make a projector "presentation" of stills and clips I have in the storyboard, NOT automated, such as 5 seconds each, or whatever in the timeline, etc. but accompanying a live talk or lecture, so that you just press a button to...
I have Win2k Pro OS Version 5.0 (Build 2195; Service Pack2), and a MS Access-based program that will not run because my ODBC lasks an Access Driver. In Win2k I go Control Panel > Administrative Tools > Data Sources (ODBC): Now I see only CC_LOCAL_DSN_1 Intersolv 3.00 32-bit Paradox File (*.db)...
I use WP8 with great success. I don't see any WP 10 or WP Office 2002 entries in Tek-Tips, and recently purchased WP10. On a W2k Pro machine, WP10 failed to install until they sent me a CD-ROM with SP1 and SP2 on it. Some things are wrong:
1) All macros take a full 4 seconds to start
2)...
I often copy text full of [font] and other codes, short lines, [EOL] codes, etc. and paste it into WP8. I have written a macro (below) that cleans it up, and organizes it into paragraphs separated by the original [HRt][HRt] codes. This macro WORKS FINE, but keeps running forever, and has to be...
I find WP8 works perfectly under Win2k except that all macros, even the simplest ones, take 4 full seconds to start running. Once started, even those that take 30 min. under Win9x, run incredibly faster than under Win9x.
Has ANYBODY encountered this "macro startup" problem, and how...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.