- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
hi.I want play linux shells command with python.for example i did it: [CODE] def add(userName, pasword): import os os.system("useradd -d /home/%s -m -p %s %s"%(userName, pasword, userName)) [/CODE] but some where i have problem. for example when you want change the users password you have to send the command for … |
|
Re:
Hello All, I am new in this language and want to access the run time value In other words, I want make a program in which ask the value from User like scanf() function in C and cin>> function in Cpp So is there any function or method by which … |
|
Re:
I want to know how many partitions are in my system and I used fdisk (found the command on google). The following came out, and I'm not too sure where it says how many partitions. # fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't … |
|
Re:
I am trying to list all of the files including a function, e.g., matrixCal. How to do that in linux. Thanks. |
|
Re:
Is there any command to close any already opened file browser using command in linux. I need so. plz help me. |
|
Re:
Hello, everyone, Next semester, I will be taking a course in Java programming language, and was wondering if anyone knew of a good IDE that runs in the Red Hat/Fedora environment. (Preferably something installed through YUM.) I tried a Google search on this, yet the only thing I seem to … |
|
Re:
Hi Guys Gals and those not sure. I am not sure if this is in the right thread but I am hoping u can help or direct me where I can help. I have a friend running linux which had a virus hijack her hotmail account and started spamming her … |
|
Re:
Required is a program that calculate the factorial of a non negative whole number which it gets from a user. It then displays the number and its factorial.. can any one try to test for me this algorithim? plz |
|
Re:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be produced. Each product will be produced in different production line. Ready products will be placed in a buffer area located at the end of each production line. Packaging workers will pack the products … |
|
Re:
I have installed the latest Ubuntu for notebook on my Acer Aspire 4715Z Pentium Dual-Core for last several months- working very smoothly & enjoying the "new world." I thought I never need to go back to Windows(rarely) - but yesterday as I updated the Update Manager and restarted it as … |
|
Re:
I'm in a college course right now which focuses mainly on setting up and administering a windows network (Windows Server and Windows Client). I would also like to learn, on the side, how to setup a comparable Linux server solution. Something that would have all the standard amenities that a … |
|
Re:
Hi, I would Like to access the Linux desktop from windows PC. I don't want to use SSH console for I need immediately (Have no time for learning for now). TRied VNC, but I cannot access it from Windows. I'm stucked! I can Access my windows machine from Linux with … |
|
Hi, I have 13 OpenOffice Impress files (ODP) with a total of about 300 slides containing text and pictures. I need to convert these into 1 OpenOffice Writer file (ODT). I have been trying and searching for some time now, but I didn't found a good solution yet... besides manually … |
|
Re:
Hello Python community, I have a basic question about the wx.DirDialog method/event handler system and how it works. I had a problem today, but solved it. Basically what I'm trying to do is have a frame, then use event handler wx.DirDialog to open up another dialogue where I can choose … |
|
Re:
hello, pls, can anybody help? I try to print words which contains forbidden letters but counting without them and excluding the words which has the smallest number of letters. example: words = 'hello this is my test' forbidden = 'h, t, e' 1. hello this test -> these word contains … |
|
Re:
hi friends, I'm trying to install mysql on linux through rpm. I have install it & when I'm I enter the command mysqladmin -u root -p create mydb its showing Enter password: mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' … |
|
Re:
hi all, i hope this is in the right place. im a newbie and want to gain much experience with linux as server and maybe say 2 or 3 clients, all different OS's. at my work we have lots of pc's laying around and I have the okay from my … |
|
Re:
Hi friends, I want to install gd2 on my linux(centOS) system. I have download gd-2.0.35.tar.gz file and I extract all files also. and read the readme file but not getting anything. plz help me |
|
Re:
Hi, I have this main folder (with some sub folders and files) in my ubuntu. [CODE]/var/www/asg[/CODE] When I run this [inlinecode]http://localhost/asg/index.php[/inlinecode]in browser, I get this error. [CODE]Forbidden You don't have permission to access /asg/index.php on this server. Apache/2.2.12 (Ubuntu) Server at localhost Port 80[/CODE] This is what i do but … |
|
Re:
we are given a problem to make this in a program but i don't quite understand what it means or requires. • Look for positive integers that are not the sum of the cubes of nine different positive integers. can someone help me out.. Thanks |
|
Re:
I'M reading "Beginning Game Develpment with Python and Pygame". In the following code, I'M gettin this error in sysfont.py [COLOR="Red"]NameError: global name 'glob' is not defined[/COLOR] [CODE]import pygame from pygame.locals import * from sys import exit pygame.init() SCREEN_SIZE = (800, 600) screen = pygame.display.set_mode(SCREEN_SIZE, 0, 32) font = pygame.font.SysFont("arial", 16) … |
|
Re:
i am making a game in python 2.3.5 and i wanted to know if there is a command that would make it so one sprite will move to another no matter what the position is on the screen. |
|
Re:
[CODE]import wx class McaMenu(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(640, 432)) menubar = wx.MenuBar() file = wx.Menu() new = wx.MenuItem(file, 1, '&New\tCtrl+N', 'Creates a new document') file.AppendItem(new) file.AppendSeparator() open = wx.MenuItem(file, 2, '&Open\tCtrl+O', 'Open New document') file.AppendItem(open) save = wx.MenuItem(file, 3, '&Save\tCtrl+S', 'Save') file.AppendItem(save) save = … |
|
Re:
When I do the following: [code] s= serial.Serial('/dev/',9600) # or set a function and pass via command line s= serial.Serial(arg1,9600) [/code] The code executes without any error. [b]But[/b], when I use AJAX and POST the parameters to the script [code] def index(req): info = req.form sys.stderr = sys.stdout s= serial.Serial(info['device'],9600) … |
|
Hi, I am Firewolf (Frank). Registered at Daniweb today. I am a 37-years old engineer, living in Belgium with my two cats Thor and Eos. Graduated as a mechanical engineer in 1995, but playing with computers for more than 20 years now. Also working in some form of ICT environment … |
|
Re:
hey guys. okay. i googled my a s s off and I can't find someone or a website that explains what these files mean when you download the dvd for slackware? I want to make a quadruple boot external hard drive with Ubuntu, Fedora, Slackware and CentOs on it. Basicaly … |
|
Re:
I've been coding a simple dice roll game to practice Python. I've got the basic mechanics worked out, but I want to have it so that the player receives 5 points every time the game is won. I've tried just simply adding 5 to the variable (PLAYER_TOTAL in the case), … |
|
Re:
I randomly felt the urge to make a password generator, and it runs semi smoothly. However, whenever I choose to make a custom length password, it freezes and my program exits. This is supposed to be simple but...can you help? [CODE]###################### # Password Generator # # Version 1.0 # # … |
|
Re:
Hi, I have been using Fedora Linux for some time now and I love it. I know the there is an official list of packages/applications/software included in each version of Fedora and it is made by the Fedora project people itself. Here is the official (as I understand it) list … |
|
Re:
First of all I'M using Ubuntu and I'M new to it, trying to make the switch. I'M reading a book on Ubuntu but it's a little out of date to the one I'M running. Anyway, the book instructs me to go to > System > Administration > Synaptic Package Manager, … |