- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hello everyone! and Seasons greetings! I'm thinking of putting together a new PC and I don't know what type of specs would suit me best. Here's what I usually do with my PC: 1 : To be honest, it's web browsing. But I want to be able to play 4k … |
|
Re:
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 … |
|
Is it possible to keep writing the output of a program on the same line instead of moving to a new line every time? The output should be written over the preceding output. An example would be a kind of counter... say a number that counts from 1 to 10 … |
|
Hello everyone I'm using python 3.1 and am trying to use the pyserial library. However, when I try something like ser.write('hello'), I get a type error. [CODE]>>> import serial >>> ser = serial.Serial('COM13') >>> ser.write('a') Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> ser.write('a') File "C:\Program Files\Python31\lib\site-packages\serial\serialwin32.py", … |
|
hi guys. can anyone tell me why this code doesn't work? It doesn't raise any error but neither does it provide the expected results. [CODE] my_list= ['a','b'] class my_class: def __init__ (self): self.name = ' my name is hi' for a in my_list; a = my_class() [/CODE] a.name() gives and … |
|
Hi. I want to try and control a Servo motor directly from a USB port. (without using an intermediate microcontroller). To do this, I need to send pulse width modulation signals on one (or more) wires of the USB cable. Is it possible to do this with python? (I found … |
|
I seem to have a problem with my acer LCD screen. I didn't notice this before, but when the contrast settings of the monitor are increased, the left vertical edges of letters seem to have a purple tinge. This is especially noticeable where there are double L's or double I … |
|
I have a new PC which I've been using for about 9 months with windows XP. However, since of late, the time it takes to load all the startup programs has become quite long.. i.e the time between when I click the login icon and when the system actually becomes … |
|
I bought a graphics card a few years ago and recently my monitor developed a habit of not showing the display. Remobing and reconnecting the monitor cable a few times solves the problem. So yesterday, this happened again and I decided to temporarily switch to the on-board display adapter. After … |
|
What are these standard streams and how do they work? Are they just like normal files where one program writes to the file and another reads from it? If so, how can two programs access the same file at once? |
|
I"m trying to make a [URL="en.wikipedia.org/wiki/Sudoku"]sudoku[/URL] puzzle generator (or at least the basics of one) for my project. I'm approaching this by dividing the sudoku grid into 9 rows. Each of the rows will be represented by a list and each list will have 9 elements to represent the nine … |
|
is it possible, for example, to make the text that appears as output on the command line appear in a certain colour using python? |
|
Hi.. I have posted another thread about my broken PC. I'm having trouble identifying the BIOS version that was installed on it. The BIOS chip on the mother board says it is a phoenix BIOS(there is a holographic label which says phoenix.). Does this mean that the BIOS software is … |
|
How do I copy folders using python? Shutil.copy doesn't work. it raises a permission denied error in windows |
|
Hi.. recently my old PC went bust. I don't know if it's relevant but just before I switched off the PC for the last time, I remembered there was a CD inside and opened the drive. However, before I could close the drive, the PC shut down. The next time … |
|
What is a process in computer science? I've tried googling but there were no useful results. I seem to recall that an application may consist of multiple "processes" but that's all I know. |
|
How can I make a program wait for a few seconds before proceeding? An example of where this would come in handy is when the program allows the user 5 seconds before it proceeds with some default option... can I do this using python? |
|
Re:
I am learning Python now. It is too complicated. I started the file that i did but it crashed. Can you show me how to do it? Write a Python program to convert a given weight from kg to pound and to gal and to liter. 1kg=0.2642gal=2.205lb 1gal = 3.785liter … |
|
I got this from the python docuemtation. date2 = date1 + timedelta --->date2 is timedelta.days days removed from date1. (1) date2 = date1 - timedelta---> Computes date2 such that date2 + timedelta == date1. (2) timedelta is an object representing a time [I]difference[/I] and a date object represent a certain … |
|
how can I check the difference between two dates using the datetime modules? (or any other module that would do the same thing). I want to read a date from a file (which was written in the same format as the datetime module uses) and then calculate the difference in … |
|
Is there someway I can parse badly written HTML code in python? I want to get some info from a web page which uses HTML tables for it's formatting and I found numerous flaws in the code using w3cs validator. can I parse this code in python? |
|
How can I make windows execute a python script when a flash drive is plugged into the computer? Is there a way to do this with python or do I have to use windows? |
|
Re:
HElp needed to create a windows service , to launch a simple thread created by the user. I got an article here... [url]http://www.devx.com/cplus/Article/9857/1954[/url] But how to create a thread at apropriate places , like STOP , RESUME , SHUTDOWN?.PLease give me some pointers , thanks in advance... |
|
[I]Occasionally[/I], when I boot up windows, it doesn't detect my USB mouse. All I have to do is unplug and then replug the mouse and it works again but it's pretty annoying and I want to find out what exactly the problem is. Its not like mouse [I]input[/I] is not … |
|
I was using the datetime module for the first time today. When I typed [CODE]now = datetime.date.today() now [/CODE] I got the output [CODE] datetime.date(2009, 12, 27) [/CODE] Now, I found out that [CODE]datetime.date[/CODE] is a class and that[CODE] datetime.date.today[/CODE] is a method. But I can't figure out what the … |
|
What does BIOS do on modern PCs after the operating system is loaded and running? |
|
Would it be of interest to learn C or C++ if one already know python? I'm a linux and programming enthusiast (i.e hobbyist ;-) ) and C is pretty common on linux and many other applications. But is it worthwhile learning C if I already know python? What are the … |
|
Is there a way to get the date a file or folder was last modified into python? |
|
What is compiling? (I'm trying to install a tarball on my linux machine). For programming, I use python so I haven't really come across compiling a program. |
|
I'm having trouble understanding the concept of an API. Could someone please explain what exactly and API does? A simple code example (if that's possible with this subject) would be really useful and much appreciated. |