-
Marked Solved Status for Increase date by start time after midnight
Hi guys, I have question about python. I mean I need a litle help. How can I increase date from date given in file by start after midnight? File looks … -
Marked Solved Status for convert python to c#
Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, … -
Marked Solved Status for Random arrangement of set of words in python
I need a programming for following conditions in python... When the program is launched it should ask me for the number of words... Then as many words as input... then … -
Marked Solved Status for Graphics in Python
Hi, we are going to inroduce graphics in our project using python (Version 2.4), I coulsn't find the module related to graphics in this version. Is there anything you know … -
Marked Solved Status for Python or PHP? For web development
Hi there, I'm not a developer. I'm a graphics designer. I would like to learn about web development. For that I'm doing research in different languages. Most of them suggested … -
Marked Solved Status for list index out of range?
I'm writing a script that downloads files for web design, and this line produces Traceback (most recent call last): File "bootlace.py", line 60, in <module> download(data['jquery'], 'Downloading jquery. (File size … -
Marked Solved Status for Tkinter GUI help please
Hi i was wondering if anyone could help me, im wanting to when you click in a certain area it changes the background image thanks import Tkinter as tk from … -
Marked Solved Status for multiples in desc order in list
Hello everyone! I got this question in a book.. I thought of doing it using map() or using loops return the first count multiples of number in desc order in … -
Marked Solved Status for sorting of list using list.sort
I have a list say word = ["engine","ant","aeiou"] I need to sort the list according to the number of vowels in the list elements. And this sort must change the … -
Marked Solved Status for confused with file question
I found this question on the internet, > Create a text file with name filename and about size bytes. The file should contain > an incrementing number on each line … -
Marked Solved Status for i need help and quick
can i have some advice for making a basic program, and can someone help me through python plz thx -
Marked Solved Status for Need help for this Python program
I need a python code that collects all even numbers separately, odd numbers separately and displaying into two separate totals. The range of numbers is 1-20 I am new to … -
Marked Solved Status for Any software is hackable?
Is software hackable no matter how perfect it is written? Let's say I will create simple OS, I will spend like 30 years on encrypting every single variable, every code … -
Marked Solved Status for Odd Mountain in lists
odd mountain is a list of odd numbers going up from 1 and then back to 1. e.g. odd_mountain of size 5 is [1,3,5,3,1] odd_mountain of size 4 is [1,3,3,1] … -
Marked Solved Status for Confusion about Python's built in functions
Hey, I have previously programmed in C, PHP & Javascript and I have recently started out with Python but the syntax of the functions is quite different and confusing? Like … -
Marked Solved Status for wxpython
Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed I am getting this error when running my code wriiten using wxpython. Can anyone please explain what this error is. -
Marked Solved Status for receiving text from external application
i am trying to recieve input from external text editor using python's `subprocess` but I am not sure why i am getting the error diff = subprocess.Popen('open(os.path.join(os.getcwd(), "foo.txt") "w")', stdout=subprocess.PIPE) … -
Marked Solved Status for Any help with Leading Zero's
Hi I think this topic is beyond my lame python abbilities. I hope the program can run, it is writen by using error messages until it worked. I am using … -
Marked Solved Status for Converting celsius to fahrenheit using a loop to display the table
I'm totall beginner, trying to learn python programming codes. So far, got series of python programming problems to solve. Here is one of them.; please I need help on how … -
Marked Solved Status for Starting place.
Any good places to start learning Python? Websites/books/Youtube tutorials? Also any good editors, too? -
Marked Solved Status for How do i pair these up with a hint
Hi all, I am new to programming, and i'm working from a booik which has set me a challenge with a random jumble word program to pair the jumble word … -
Replied To a Post in compare two text file and save the output match
Not in your original scope. It means you have duplicates in file2.txt. You can use a set to remove those duplicates first. -
Replied To a Post in Shut Down button and Password Tkinter. Need help*
Here is a little example for both Python versions ... ''' tk_Entry_pw1.py Tkinter program to show masked password entry http://infohost.nmt.edu/tcc/help/pubs/tkinter/entry.html ''' try: # Python2 import Tkinter as tk except ImportError: … -
Replied To a Post in Shut Down button and Password Tkinter. Need help*
Which version of Python are you using? -
Replied To a Post in when to use paper book and when ebook?
If you are moving a lot, you will hate those heavy boxes of paper books very quickly. -
Replied To a Post in what do you prefere for naming: database - c++ - java - php?
I like #2 Got used to it writing lots of C code. -
Replied To a Post in List of Hello world program examples
Nice find! Alas, IronPython and Jython are missing. Well, here is the Jython example ... ''' jy_HelloWorld7a.py create a frame with title 'Hello, World!' Java style ''' from javax.swing import … -
Replied To a Post in Python turtle
Python can help you ... ''' turtle_functions101.py show the classes, functions/methods and constants of module turtle ''' import turtle # sort the items case insensitive for item in sorted(dir(turtle), key=str.lower): … -
Replied To a Post in compare two text file and save the output match
I would use this approach ... with open("file1.txt", "r") as file1: file1_str = file1.read() with open("file2.txt", "r") as file2: file2_str = file2.read() file3_str = "" for i in file1_str.split('\n'): # … -
Replied To a Post in compare two text file and save the output match
Test print list1 and list2 also i and j. You might have to remove all the newline '\n' characters. -
Replied To a Post in Starting Python
Python 3.4.0 has just been released and has a nice new module called statistics. Here is a test ... ''' statistics_test101.py testing Python 3.4.0 and its module statistics ''' import … -
Replied To a Post in Starting Python
A print format hint given by our friend Gribouillis ... ''' print_format101.py tested with Python27, Ironpython27 and Python33 ''' # print a given value in different numeric formats # each … -
Replied To a Post in Python GUI Programming
Drawing shapes with Tkinter ... ''' tk_canvas_shapes101.py use the Tkinter GUI toolkit that comes with Python to draw some shapes for more shapes check canvas methods at ... http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/canvas.html http://effbot.org/tkinterbook/canvas.htm … -
Marked Solved Status for Please explain this bit of code
I got this code from the internet. import random #create a sequence of words to choose from name = ("stephen","bob", "robert","craig") # pick one word randomly from the sequence word … -
Replied To a Post in Projects for the Beginner
US weather forecasters measure rainfall in inches of water on the ground, in many other countries rain is measured in liters per square-meter. Write a Python program that converts these … -
Replied To a Post in Dictionary from a text file
Here is a hint ... ''' set comprehension101.py show a list of unique words in a sentence via set comrehension ''' import string s = "Girl meets boy, and boy … -
Replied To a Post in Jokes
Six engineers, 3 working for Apple, 3 working for Microsoft, were all traveling on a train to a conference. The Apple engineers bought three tickets and sat down on their … -
Marked Solved Status for writing a censor program from a file help
I am to write a censor program for all 4 letter words from an imported file, only I'm stuck. can you help? [code = python] # wordcensor.py # Program replaces … -
Marked Solved Status for How to create a hypocrite in C++ (or any other language)
I think I have the answer to this: First you get a self proclaimed expert who says it is absolutely wrong to ask for other people to write code for … -
Marked Solved Status for Favorite fast food places
So whats everybody's favorite fast food place/ restaurants -
Marked Solved Status for Gum
Whats everybody's favorite kind of gum -
Replied To a Post in How is the weather today in your country?
Our area has only two seasons, hot and not so hot. -
Replied To a Post in How do i pair these up with a hint
You could do something like this ... import random name = ("stephen", "bob", "robert", "bill") word = random.choice(name) correct = word jumble = "" while word: position = random.randrange(len(word)) jumble … -
Replied To a Post in Lets share some awesome programming quotes that keeps you interesting
A user friendly computer first requires a friendly user. -
Marked Solved Status for Syntax habbits.
Hello! Currently I am modifying a ton of php for someone and I have noticed habbit's that really annoy me. I just want to know what the reason behind these … -
Marked Solved Status for On what weekday were you born?
**Me:** Monday; The 22nd lunar day; Gemini; -
Revoked Solved Status for On what weekday were you born?
**Me:** Monday; The 22nd lunar day; Gemini; -
Marked Solved Status for Whats the best operating system?
Come on then guys, one of the gratest wars of technology and IT - whats the best operating system and why? -
Marked Solved Status for What color of a car are you driving?
My yellow VW Beetle is 10 years old. It does very well out here in the desert. -
Marked Solved Status for Hard drives and airports - question of legallity
Hi, I have a friend who raised this question and it really got me wondering. I'm not so familiar with laws but basically he's going abroad on a holiday and …
The End.