Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~36.0K People Reached

30 Posted Topics

Member Avatar for funfullson

If you are running the Python script in a terminal, this should be no problem. I made following script: [CODE] import os username = 'testuser' password = 'testps2010' os.system("useradd -d /home/%s -m -p %s %s" % (username, password, username)) os.system("passwd %s" % username)[/CODE] Running it, gave the next results. The …

Member Avatar for Krystor
0
2K
Member Avatar for john_beginner

Is this what you are looking for? [CODE] >>> a= raw_input() 10 >>> print a 10 >>> [/CODE]

Member Avatar for Reverend Jim
0
21K
Member Avatar for KickAssElmo

You can also view the contents of the fstab file. cat /etc/fstab This file lists your disk partitions and how they are configured.

Member Avatar for rubberman
0
210
Member Avatar for winecoding

From anywhere on your system: [CODE]find / -iname "matrixcal"[/CODE] If needed you can use jokers, e.g. "matrixcal*". If you want to search case sensitive, use -name option instead. By using the path "/", you can search from anywhere, find will always start from the root.

Member Avatar for Go_bots
0
179
Member Avatar for shivnath

You can kill the process if you want... [QUOTE]ps -e | grep firefox[/QUOTE] will give you the processnumber of the Firefox process. [QUOTE]kill processnumber[/QUOTE] will kill the process.

Member Avatar for robinbolt
0
5K
Member Avatar for ItecKid

I would recommend Eclipse. Result from 'yum info eclipse-jdt': Name : eclipse-jdt Arch : x86_64 Epoch : 1 Version : 3.5.1 Release : 21.fc12 Size : 25 M Repo : installed From repo : updates Summary : Eclipse Java Development Tools URL : [url]http://www.eclipse.org/[/url] License : EPL Description: Eclipse Java …

Member Avatar for Computerphile
0
391
Member Avatar for kermie

Did she use a mail client (e.g. Thunderbird) or webmail? If she used webmail, I doubt there will be a local file containing the contacts. I'm not a hotmail user myself, so I can be wrong...

Member Avatar for sds
0
155
Member Avatar for intja
Member Avatar for paradiseis
Member Avatar for Firewolf
0
99
Member Avatar for francisgan9

[QUOTE=fenerista;1096897]Use linux with virtual box or vmware on windows, that is the best :=[/QUOTE] Or use Windows in Virtual Box on Linux... as I do... ;)

Member Avatar for Bilal Ahmad
0
193
Member Avatar for agent154

About certifications: LPIC: [url]http://www.lpi.org/[/url] RedHat: [url]http://www.redhat.com/certification/rhce/[/url] About the documentation: I mostly use the web for information. Which distribution do you want to use? For a Fedora system, this might be a good start (I'm a Fedora user): [url]http://www.howtoforge.com/perfect-server-fedora-12-x86_64-ispconfig-2[/url] If you want Windows clients to connect and use Linux servers, then …

Member Avatar for agent154
0
232
Member Avatar for Stefano Mtangoo

If you want to create a share on your Linux system that you can access from Windows, have a look at SAMBA. Install SAMBA, configure a share in the /etc/samba/smb.conf and start the smbd service.

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for Firewolf

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 …

0
118
Member Avatar for cascade3891

The 'self' keyword refers to the object (your class). In your first example, you define a TextCtrl object and assign it to 'FilePathTextBox'. So in the constructor '__init__', 'FilePathTextBox' is a TextCtrl object. In the OnClick method 'FilePathTextBox' is not recognised as a TextCtrl object, but as a local variable …

Member Avatar for Stefano Mtangoo
0
437
Member Avatar for vlady

First of all, I would use a Python string function 'translate'... then a 'split' with a space as argument... an example in the Python interpreter... [CODE] >>> mystr = "Hello, test" >>> newstr = mystr.translate(None, 'les') >>> print newstr Ho, tt >>> splitstr = newstr.split(' ') >>> print splitstr ['Ho,', …

Member Avatar for sneekula
0
124
Member Avatar for talk2sachi

[QUOTE=talk2sachi;1104777] Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! [/QUOTE] Probably your mysql service 'mysqld' is not running... Check with... [QUOTE]service mysqld status[/QUOTE] If not running, start with... (as root) [QUOTE]service mysqld start[/QUOTE] To always activate the service on boot... [QUOTE]chkconfig mysqld on[/QUOTE] On Fedora systems (CentOS …

Member Avatar for jbennet
0
219
Member Avatar for Grand666

What do you want to do with the server? Mail server, file sharing, print server, DHCP, routing, ...? That defines the packages you will need to install / configure. Perhaps, a good start is the following: [url]http://www.howtoforge.com/perfect-server-fedora-11-x86_64-ispconfig-2[/url] Which distro is the best for a server? Don't know. I am using …

Member Avatar for Firewolf
0
2K
Member Avatar for talk2sachi
Member Avatar for veledrom

Have you tried to put your asg directory in the folder: /var/www/html This is where you have to place your website/application on a default Fedora webserver. I'm not an Ubuntu user, so it's just a guess.

Member Avatar for veledrom
0
120
Member Avatar for MCMLXXXVIII

Just an idea... The first 9 positive integers are: 1, 2, ..., 9 Their cubes are: 1, 4, ..., 81 The sum of these cubes is: 285 285 has to excluded from the list And so on...

Member Avatar for mrnutty
0
85
Member Avatar for lewashby

I don't get the NameError error when running your code. I just get following warning, but the code in running fine. [CODE]/usr/lib64/python2.6/site-packages/pygame/sysfont.py:139: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module. flin, flout, flerr = os.popen3('fc-list : file family style')[/CODE] What version of Python & PyGame are you using?

Member Avatar for Firewolf
0
842
Member Avatar for butcher71793

If you are programming games in Python it might be interesting to have a look at PyGame: [url]http://www.pygame.org/[/url] What you are looking for is the concept of 'Path finding'. More technically, you might have a look into 'vector' usage (either 2D or 3D). LocationCurrentSprite = Vector(...) LocationNPCSprite = Vector(...) distance …

Member Avatar for Firewolf
0
169
Member Avatar for punter999

First of all: indentation would help. What is your exact error message? I'm getting the following error: [CODE]/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14450: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch")[/CODE] Are you getting the same error when you try 'import wx' in the Python interpreter? Then you might have a look at: [url]https://bugzilla.redhat.com/show_bug.cgi?id=502608[/url]

Member Avatar for Namibnat
0
181
Member Avatar for spogs

First of all, don't you have to pass the complete device name? For a serial port, this is '/dev/ttyS0'. Edit: I tried to figure out your code via the error messages. It's a problem with integer - string conversion. Your 'port' variable get a string value. You have to convert …

Member Avatar for spogs
0
115
Member Avatar for Firewolf

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 …

Member Avatar for redesignunit
0
70
Member Avatar for Grand666

Just a small addition about the disk layout. As pogson already mentioned, you can put all the directories into one partition, so no separate partition for /home, /var, /root, ... The installers of Ubuntu & Fedora (I don't know about Slackware) do however the partitioning for you. You can select …

Member Avatar for iamthwee
0
802
Member Avatar for mahimahi42

A rewrite with a class. I used the 'raw_input' function instead of the 'input' function. [CODE] import random class Game(): def __init__(self): self.player_total = 0 def gameIntro(self): print('''This is a dice roll game. Dice are rolled, and you recieve money if you are equal to the total. Are you ready?''') …

Member Avatar for jcao219
0
147
Member Avatar for redyugi

The raw_input function returns a string. You have to convert the result to an integer. In the get_digits function, change this: [CODE]make_pass(int(le), int(d))[/CODE] This solves the problem.

Member Avatar for redyugi
0
83
Member Avatar for tech291083

[url]http://rpmfusion.org/[/url] RPMFusion is a very interesting repository for Fedora users when in need for audio and video software, like codecs (e.g. mp3), players (e.g. vlc player), drivers (e.g. nvidia), ...

Member Avatar for Firewolf
0
214
Member Avatar for lewashby

I am a Red Hat / Fedora user for more than 10 years already. I'm not so familiar with Ubuntu, but the concepts are the same. [QUOTE=Garrett85;1092078]Can't you just go to the websites and download the programs directly?[/QUOTE] Yes, you can. There are several options: [LIST] [*]download binaries: in case …

Member Avatar for Firewolf
0
260