65 Discussion / Question Topics

Remove Filter
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for vegaseat
Member Avatar for rockingjohncart
0
334
Member Avatar for vegaseat

The recent flood of "technical problems" with computers at Delta Airlines, the New York Stock Exchange, the Wall Street Journal etc. make me wonder if we have become too dependent on these machines? Are they maintained by less and less competent people? Has the complexity exceeded human comprehension?

Member Avatar for Reverend Jim
0
669
Member Avatar for vegaseat

What are the natural disasters that you have to learn to live with in your area? I just moved from the Las Vegas area where we had to live with drought, very high summer temperatures (up to 45 degree C) and the occasional smoke of a far away wildfire. The …

Member Avatar for ddanbe
3
570
Member Avatar for vegaseat

Frank Gifford, America's most beloved sports entertainer has passed away in an untimely manner. A great loss for the country and the world.

0
223
Member Avatar for vegaseat

The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! The creators of Python are very active, improving the language all the time. Here is a little of the …

Member Avatar for vegaseat
23
34K
Member Avatar for vegaseat

After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. Maybe an image viewer, a slide show, computer generated random or fractal art, a …

Member Avatar for vegaseat
20
18K
Member Avatar for vegaseat

Just wondering. Exploring Google's Go language, a modern day C with the Google in it.

Member Avatar for vegaseat
0
399
Member Avatar for vegaseat

Ever since I got a fancy iMac and started using the Xcode IDE, I got hooked on Apple's new Swift language. From what I heard, it is supposed to replace the aging Objective C. I left a couple of Swift code snippets in the Computer Science section about my one-month …

Member Avatar for vegaseat
1
396
Member Avatar for vegaseat

The strange title comes from a skit by Benny Hill, where he tells his wife all the facts she shouldn't know, but she always answers "I know! I know!" Anyway, this thread is suppose to be a collection of strange facts. Let's have fun! Here are a few facts to …

Member Avatar for vegaseat
11
9K
Member Avatar for vegaseat

When East Germany fell apart, one of the first things people there did was to storm the buildings that housed the much hated Stasi (Ministry for State Security), the ministry that was in charge of spying on their own population. How important is privacy to you?

Member Avatar for Leigh3
0
591
Member Avatar for vegaseat

Just an accumulation of worldly wisdom in question answer format. Q: "How Do You Get Holy Water?" A: "You Boil The Hell Out Of It."

Member Avatar for vegaseat
0
323
Member Avatar for vegaseat

This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use …

Member Avatar for vegaseat
9
45K
Member Avatar for vegaseat

I am sitting in front of a brandnew 27 inch Apple Macintosh running on OS X Yosemite, trying to compile a timed insertion sort from my Windows days. The Xcode app is a sweatheart, but there are some Windows things in the code that cause a problem. This line ... …

Member Avatar for vegaseat
0
274
Member Avatar for vegaseat

I thought it would be fun to code all the different ways to show Hello World on the display. Let's start simple ... `print("Hello World")` Can anybody print out "Hello World" vertically?

Member Avatar for ZZucker
1
909
Member Avatar for vegaseat
Member Avatar for vegaseat
0
241
Member Avatar for vegaseat

With just about everybody snooping around your emails today with the excuse of hunting the bad guys, coding to keep some resemblance of privacy is getting important. I will start out with some simple encryption examples to get this started. You are invited to give us your thoughts and codes. …

Member Avatar for Lardmeister
3
1K
Member Avatar for vegaseat

Google Drive, Dropbox, iCloud, and OneDrive are all available to try for free (with limited storage). So far I have used Dropbox and OneDrieve and like Dropbox since it handles better on the PC and my iPad. OneDrive is improving and I have used iCloud on my iPad mostly for …

Member Avatar for RobertHDD
0
280
Member Avatar for vegaseat

Once you are on the internet, you have to come up with passwords. After a while it will be difficult to remember those passwords. You could write them down somewhere, but the wrong person could find them. Why not have Python help you to come up with a logical password …

Member Avatar for Gribouillis
1
436
Member Avatar for vegaseat

The idea of this thread is to help the beginning wxPython GUI programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! For info on wxPython modules see: http://www.wxpython.org/docs/api/wx-module.html

Member Avatar for HiHe
2
21K
Member Avatar for vegaseat

The portable version of Python (versions 2.7 and 3.2 are available) can be run from your hard drive or a flash drive. In many ways this makes your live easier, since a lot of libraries are included already. Also, you can take your code to a friend on a flash …

Member Avatar for sneekula
2
3K
Member Avatar for vegaseat

[B]Intro[/B] C is using structures to group data, mostly data that belongs together. Here we have some data that a campaign manager might keep for the volunteers. First we take a look at the C code: [code=c]#include <stdio.h> struct person { char *name; char *sex; char *slogan; }; int main(void) …

Member Avatar for georgooty
0
767
Member Avatar for vegaseat

This sequence has me scratch my head: 2 7 4 1 4 6 2 1 8 2 What is the next number? What are the rules for this sequence?

Member Avatar for LastMitch
0
120
Member Avatar for vegaseat

I am still trying to take a look at the gtk GUI package and reinstalled the following: gtk-win32-devel-2.8.6-rc3.exe and pygtk-2.8.2-1.win32-py2.4.exe (updated version) I have it down to a simpler error message now. Here are my warnings and errors with the sample file base.py [code]Traceback (most recent call last): File "D:/Python24/Atest/Demo/pyGTK/base.py", …

Member Avatar for vegaseat
0
300
Member Avatar for vegaseat

[B]Search for your answer first![/B] If you're having a problem, chances are good that someone else has had the same problem. Please search the forum for existing answers before starting a new thread. Nothing is more irritating to a long time member than to answer the same question for the …

Member Avatar for bumsfeld
6
768
Member Avatar for vegaseat

Hello, I am vegaseat, the goofy moderator from the Python forum of DaniWeb. I wanted to know if anyone in the Java forum has played around with Java based Python, also known as Jython. Jython uses easy to learn Python syntax and can use the Java libraries. To make a …

Member Avatar for bumsfeld
2
494
Member Avatar for vegaseat

I would say Disney World. I always have a good time there. However, a "cow tipping" excursion into Wisconsin sounds like fun too!

Member Avatar for jwenting
1
161
Member Avatar for vegaseat

Mine without a doubt is Marilyn Monroe. [QUOTE]"It's not true that I had nothing on. I had the radio on."[/QUOTE]

Member Avatar for JamieLynnSEO
0
1K
Member Avatar for vegaseat

Does anybody have a tested function in C or C++ that sends text to the printer in a Windows Console Application? I would be very appreciative! It would be nice, if I could specify the font. Yes, I can google!

Member Avatar for abdullah0
0
221
Member Avatar for vegaseat

Suddenly I am interested in the tcl scripting language. Does anybody know a good website to learn the rudimentaries.

Member Avatar for gwmorris
0
3K
Member Avatar for vegaseat

Here is my contribution ... Two Scotts talking to each other: "This morning I threw my toothbrush away because one bristle fell out!" "Why would you do such a thing?" "It was the last bristle!"

Member Avatar for crunchie
0
858
Member Avatar for vegaseat

Write a Python program that creates upside down sentences, like [B] upside down --> umop apisdn [/B] The sentence above is flipped 180 degrees around the end. Some freedom allowed, like an 'a' upside down and reversed is the closest thing to an 'e'. Conversely a 'w' would be a …

Member Avatar for TrustyTony
0
1K
Member Avatar for vegaseat

Just spent about an hour removing [B]Antispyware Soft[/B], a small miserable program that comes in on e-mail or certain church sponsored web sites. It deposits a random named executable in your Windows OS (XP through Windows7) and then takes over the registry to a point where you can not run …

0
93
Member Avatar for vegaseat

A little late for April 1, but here is the secret code ... [code]searchEngineNames = [] for c in range(ord('A'), ord('Z')+1): name = chr(c)+'ing' searchEngineNames.append(name) # pick #1 print(searchEngineNames[1]) [/code]

Member Avatar for TrustyTony
4
110
Member Avatar for vegaseat
Member Avatar for vegaseat
0
97
Member Avatar for vegaseat

The World is due another attempt at a universal language. So what are your ideas? My proposal: Easy to learn (simple grammar). Use a simple alphabet (no umlauts please). Make the most common words the shortest words. The words should be unique in sound and somewhat melodic. Pronunciation should make …

Member Avatar for Brian Barker
0
239
Member Avatar for vegaseat

Here is an example I was thinking of ... [code=python]import random import time def delay(seconds): time.sleep(seconds) def shuffle_hitlists(my_hitlist, mo_hitlist): """shuffle the two lists and return the result""" random.shuffle(my_hitlist) random.shuffle(mo_hitlist) return my_hitlist, mo_hitlist def battle(my_hitlist, mo_hitlist, my_strength, mo_strength): # player starts swinging first for k in range(len(my_hitlist)): my_hit = my_hitlist[k] mo_hit …

Member Avatar for python user
0
736
Member Avatar for vegaseat

Ever since I upgraded to IE8 I have noticed the beast freezing up more frequently than the usual Windows software. I have switched to Firefox and found that web browser a lot more stable than even IE7. Is there any software for converting "IE favorites" to something useful like an …

Member Avatar for Ezzaral
0
73
Member Avatar for vegaseat

I just read that the Microsoft Windows 7 OS may appear on PCs by October 22 this year. That is seemingly good news for those of us who are sitting on aging XP desktop PCs in the hope of skipping the dreadful Vista OS. The hope is also for the …

Member Avatar for kaninelupus
0
637
Member Avatar for vegaseat

I recently bought the book "Beginning Python" Norton, Samuel, Aitel et al published by Wrox/Wiley in 2005. Has anybody else bought this book and actually found the source code at the website they list in the book? I don't want to sound vinegarish, but this has got to be the …

Member Avatar for vegaseat
0
217
Member Avatar for vegaseat

Apparently the big collider will not be back in operation until late this year, but Hollywood has been busy making a film about it. A conspiracy film staring Tom Hanks to steal antimatter from CERN and to use it blow up the Holy City in Rome. [url]http://news.yahoo.com/s/nm/20090212/sc_nm/us_science_antimatter_3[/url] Holy Antimatter!

Member Avatar for sneekula
0
148
Member Avatar for vegaseat

This post by [B]s7plc[/B] was moved from the Starting wxPython (GUI code) thread ... [QUOTE]I've been working with various widgets from the wxPython demo library, and am making pretty good progress. But I just ran into a problem that I am sure has a simple answer, but I just can't …

0
84
Member Avatar for vegaseat

I keep hearing that Python is about as slow as Java. Does anybody have experience with speeding things up?

Member Avatar for Gribouillis
0
491
Member Avatar for vegaseat

This was a comment from ee_programmer in reference to one of the Python code snippets. [code=python]""" I was expecting the first class instance to only have one dictionary entry {'person0': 0} rather than two dictionary entries. Similar expectation with second class instance. How do I create and assign value to …

Member Avatar for a1eio
0
212
Member Avatar for vegaseat

I am keeping these to 100 pixel height thumbs so the JPEGs range between 5 and 15k (trying to safe Dani some disk space). You give me an educated guess what plane it is. I will (or you should) acknowledge the first correct guess.

Member Avatar for jwenting
1
1K
Member Avatar for vegaseat

Things are getting quiet around the shop, seems like all the coding is done in foreign lands. Any way, let's get a thread started, a multilingual coding spree showing how to display "Hello World! (computer language used)". The code has to be a full program! Make sure you have the …

Member Avatar for sgssergio
0
1K
Member Avatar for vegaseat

Did you know C# has its own scripting language based on Lisp, here is an example ... [code];;; Scripting a 'C#'' GUI with Lsharp, free from [URL="http://www.lsharp.org"]www.lsharp.org[/URL] (reference "System.Windows.Forms") (reference "System.Drawing") (using "System.Drawing") (using "System.Windows.Forms") ;; Create a form (= form (new System.Windows.Forms.Form)) (set_text form "Hello from Lsharp") ;; Create …

0
69
Member Avatar for vegaseat

I have read complaints about the limited types of files that can be attached to threads. This is a test to attached newer and better compression files past the silly .zip file extension limits. Note, remove the final .zip from this file ...

Member Avatar for KevinADC
0
55
Member Avatar for vegaseat

sharky_machine Offline Posting Whiz in Training Join Date: Oct 2006 Location: New York City Posts: 253 Rep Power: Re: Starting Python Today, 1:41 pm | Add to sharky_machine's Reputation | Add Infraction | Flag Bad Post | IP | #86 -------------------------------------------------------------------------------- Vegaseat: I have been reviewing this code you had …

Member Avatar for mattyd
0
306
Member Avatar for vegaseat

I am trying to post a Python code snippet and get this: [QUOTE]vegaseat, you do not have permission to access this page. This could be due to one of several reasons: Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's …

Member Avatar for Dani
0
201

The End.