Live CD is anybootable cd that acts as OS and can use it.
http://en.wikipedia.org/wiki/Live_CD
http://www.google.co.tz/search?q=live+cd&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a
http://www.livecdlist.com/
Live CD is anybootable cd that acts as OS and can use it.
http://en.wikipedia.org/wiki/Live_CD
http://www.google.co.tz/search?q=live+cd&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a
http://www.livecdlist.com/
this code may help you:
<don't ask foolish questions>
http://www.daniweb.com/forums/thread166180.html
</don't ask foolish questions>
I realized latter that this is maliciously asked question!
I flagged it bad post, si I hope moderators will deal with this sturbborn creature! lol:
Hello Dev,
I have good news which lasts some hours to come. There are these guys called giveawayoftheday. I enjoy their giving away of commercial software for free with limited valid download time.
WHY I WRITE HERE?
Not to promote them, but to tell you that today's giveaway is Edraw Max which is great in planning (flowcharts and alot of it) which is great for developers
If you know your friend, don't let it go! Tell him!
here is a link:
www.giveawayoftheday.com
try something like this
import time
data = open('ipaddresslist.txt','r')
listofipaddresses = []
#make timming
while True:
for line in data.readlines():
listofipaddresses.append(line.strip())
data.close()
time.sleep(5)
What's a search engine?
is a website that helps you get what you want from net!
http://en.wikipedia.org/wiki/Search_engines
try to see:
www.google.com
www.altavista.com
www.dogpile.com
www.metacrawler.com
Here is simple example on class and methods. Get the whole taste from dedicated tutorial like here:
http://docs.python.org/tutorial/classes.html
# simple classexample
class Car():
def accelerate(self, speed):
acceleration = speed+1
return acceleration
def deccelerate(self, speed):
deccel = speed-1
return deccel
# now we will make use of class
#first make instance of that class
car_speed = Car()
speed = 5
print "The car started with speed %d m/s" %(speed,)
speed = car_speed.accelerate(speed)
print "Now car is moving at %d m/s" %(speed,)
speed = car_speed.deccelerate(speed)
print "Now car is moving at %d m/s" %(speed,)
Hello all,
I was looking for simple application to keep my record. I have explored many app on net but are too complex, and have decided o make my own. However, I don't know if I should use wxGrid or just text controls in displaying data.
If suggesting wxgrid, where is good tutorial? I'm in dillema and your help is appreciated
I'm have never done it either but I know that Python docs are downlodable. Here is the link:
http://www.python.org/doc/2.5.4/download/
Are you guys putting the code into the interactive python interpreter or are you creating a separate .py file. When I started my first pygame project, I tried putting it in the interpreter and got an Not Responding window. Of course I just started python and pygame so what do I know :P.
Why not try to run it from IDEs like Drpython, or Wing 101 and tell us the progress
I would suggest you write and run your code on an IDE made for Python code, something like IDLE or DrPython. Otherwise your output window will be set to the OS command window colors.
And Wingware's Wing IDE if you need simple debugging
have a good start!
There are many code editors out there that cater to Python and do the proper indentation for you after you type a statement with a colon.
I have been afraid of Vim editor, due to NO-knowledge. But today I found a nice book from Swaroop C.H.
I will go back and practice it. So I suggest for anyone intereseted to check the link. Big blow to Emacs guys (I found them always debating which is the best. I hope this will credit more vim guys) :)
Its true ! Thanks Python Dev team. I saw one example from Ene where there was no indentation, I whoop it was horrible!
Anyway it is more readable than assembly but wait a minute snee, Assembly is more readable than 10000100101111, I mean a turbulent of machine code language!
back in Israel, after a year in Ireland on relocation
I love your signature:
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)
You may not have a problem with your tabs and your tab setting, but I have run into plenty of problems with other folks' code that have used tabs. Please avoid tabs!
Noted!
I'll convert all my codes to spaces with my Wing IDE
Thanks for that
what about CDs that came with vista?
Don't bother with Python26! It does not prepare you for Python30.
I didn't meant to introduce him/her to python 3 but rather to python language in general
Like I mentioned in another thread, the problem is that a lot of those modules are freeware done by different folks. Monetary reward is more of a driving force, and it will take a while to get those free things to show up. Python30 has a lot of rather subtle changes that need to be considered to avoid buggy code.
Yeah, I understand!
I wanted us to keep each other updated in case any module comes for python 3
from my experience, they should be avoided. Most editors support converting tab key hits into spaces.
I use one tab or four spaces
They give me no problem, so I guess:
1Tab = 4spaces
I started this for any information on new python modules apart from standard library. Many people (Including me), aren't willing to move into p3k due to lack of external/non-standard modules.
So I started this to keep ourselves informed on New Python 3 Modules.
No Limitation, ANY PYTHON 3 MODULE
why don't you start with 2.6? I suggests this for newbies as there are pretty many tutorials and books there. Only when you have grasped the basics you can consider Py3k. Also few (I guess none) of non standard modules aren't yet out for python!
If you change your mind and go for 2.x then books are there:
Think Python - Bruce Eckel
A byte of python - Swaroop C.H (also py3k is out )
Dive into Python - Mark Pilgrim
All these are available on net plus many many tutorials
Wow I thought pysco was for only speeding debugger when I used That Old friend eclipse and pydev. Thanks all for info
The problem is that a lot of those modules you are talking about are freeware and as such a labor of love! Love is just a little slower than greed!
Talking about labor of love, here is one beginning Python tutorial that has already been rewritten for Python30:
http://www.swaroopch.com/notes/Python_en:Table_of_Contents
Ihave already in my Stock, ready for when I will dive in Python 3k
Yeah, Swaroop C.H, Mark Pilgrim and Bruce Eckel have done great work for Python programmers. I love their books (A byte of Python, Dive into Python and Think Python respectively)
Especially for the countries where getting Python Books is a nightmare
start with console application:
http://zetcode.com/tutorials/pythontutorial
http://docs.python.org/
Then can go for GUI
wxpython.org
anything from w2k to Vista
Don't worry very simple
1. Install PEbuilder
2. download and add password plugin via PEbuilder (Cab not zip)
3.Build ISO image
4. Burn image to disc
5. Boot disc with defective computer
NB: For native XP-like enviroment, consider adding XPE plugin
Hope you will make it
Steve
If you only need to read from your Ubuntu partition, go ahead and use the ext3 drivers for Windows. While they have some problems with writing files, read-only access works fine.
The newest versions of Ubuntu come preinstalled with ntfs-3g, the driver that provides write access to NTFS partitions, and it's been in a very stable state for over a year. If you want a GUI configuration tool for it, go here:
https://help.ubuntu.com/community/MountingWindowsPartitions/ThirdPartyNTFS3G
I have no problem to read them from Ubuntu, but the opposite
you can use file transferal for finding vista hacking,
What do you mean?
mhh, first I could warn against downloading system libraries (Anything in windows folder). I suggest you try Andrea gavana's py2exe GUI
http://xoomer.alice.it/infinity77/main/freeware.html#gui2exe
Also these (have not tried them)
http://sites.google.com/site/cavgutiles/gui-py2exe
http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=6193
http://sites.google.com/site/cavgutiles/gui-py2exe/assistant-for-py2exe
It waits forever for a port!
Have played around with some things and here is one which was in my to-do-list
Great! I will see it when I finish current exercise
Thanks sir!!
Adding some RAM should boost your PC and prevent use of HDD as temp memory when RAM is used by Hungry resource beautiful vista
Can you explain more? I don't understand what you want to do
I once used Juice and then came to find i tunes. I used it to download the podcasts but it have became stubborn these days. It will not download saying err. I found somewhwere songbird but havent used it.
So here is my Qn: Do songbird do anything worth to replace i tunes?
Should I go back to Juice(Ipodder)? Any suggestion?
Next time remember to create at Least TWO admin accounts for safety. That will help in case of problem in one account.
Since problem is at hand, the best way to handle it is learning here:
http://www.nu2.nu/pebuilder/
http://www.google.co.tz/search?q=pebuilder&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
and check password plugin:
http://www.bootcd.us/BartPE_Plugin_Details/384/Windows-Password-Renew-1_0-RC2.html
add that one and boot with disk and you will be able to change password with it!
Note: Be respectful to others' privacy as this CD is very powerful yet dangerous.
so, what you guys suggest me to do??
Mh, I will print that philosophy and try to get something out of it
Thanks Gribouillis
I have pointed out bass.dll and pymedia. If you choose bass.dll, you will have to face ctypes and for pure pythonic solutio, go for pymedia
Here are some links for pymedia:
http://pymedia.org/
http://pymedia.org/docs/index.html
http://pymedia.org/tut/index.html
You can use PyAudio, or Pymedia (I havent use any but pyaudio is simple by looking with eyes). If that is too light, go for DLLs like Bass. Infact Im working with Bass.DLL and works fine for me, though I'm still learning it!
I missed here!
def __init__(self,player):
Thanks alot
I was thinking of Separating functions from GUI. I want when have different classes of GUIs that share functions, then I will have one class full of function/methods on need. However I failed to separate them, for I could not make instance of Functions class in the gui class in order to utilize its methods. Below is my trial with one function (Pause) shifted to another class. The original code was written by Paulthom12345, So I hope he will not worry for me to use his codes here with some fiddling lol:
It crashes: NameError: name 'Events' is not defined
import wx
import wx.media
import os
class MainFrame(wx.Frame):
self.functions = Events()
def __init__(self):
wx.Frame.__init__(self,None,title = "Media Player")
self.panel = wx.Panel(self)
self.player = wx.media.MediaCtrl(self.panel)
self.load = wx.Button(self.panel,wx.ID_ANY,"Load File")
self.load.Bind(wx.EVT_BUTTON,self.loadFile)
self.play = wx.Button(self.panel,wx.ID_ANY,"Play")
self.play.Bind(wx.EVT_LEFT_DOWN,self.playFile)
self.pause = wx.Button(self.panel,wx.ID_ANY,"Pause")
self.pause.Bind(wx.EVT_LEFT_DOWN,self.functions.pauseFile)
self.stop = wx.Button(self.panel,wx.ID_ANY,"Stop")
self.stop.Bind(wx.EVT_LEFT_DOWN,self.stopFile)
self.slider = wx.Slider(self.panel,wx.ID_ANY,size = (300,-1))
self.slider.Bind(wx.EVT_SLIDER,self.Seek)
self.info_name = wx.StaticText(self.panel,wx.ID_ANY,"Name:")
self.info_length = wx.StaticText(self.panel,wx.ID_ANY,"Time:")
self.info_pos = wx.StaticText(self.panel,wx.ID_ANY,"Pos:")
sizer = wx.GridBagSizer(5,5)
sizer.Add(self.slider,(1,1),(1,4))
sizer.Add(self.load,(5,1))
sizer.Add(self.play,(5,2))
sizer.Add(self.pause,(5,3))
sizer.Add(self.stop,(5,4))
sizer.Add(self.info_name,(2,1),(1,4))
sizer.Add(self.info_length,(3,1),(1,4))
sizer.Add(self.info_pos,(4,1),(1,4))
self.panel.SetSizer(sizer)
self.Show()
self.timer = wx.Timer(self)
self.Bind(wx.EVT_TIMER, self.onTimer)
self.timer.Start(100)
self.panel.SetInitialSize()
self.SetInitialSize()
def onTimer(self,event):
current = self.player.Tell()
self.info_pos.SetLabel("Pos: %i seconds" % (int(current)/1000))
self.slider.SetValue(current)
def Seek(self,event):
self.player.Seek(self.slider.GetValue())
def loadFile(self,event):
msg = wx.FileDialog(self, message = "Open a media file",
style = wx.OPEN,
wildcard = "Media Files|*.wma;*.mp3;*.avi")
if msg.ShowModal() == wx.ID_OK:
path = msg.GetPath()
self.path = path
if not self.player.Load(path):
wx.MessageBox("Unable to load this file, it is in the wrong format")
else:
self.player.Play()
def playFile(self,event):
print self.path
self.player.Play()
print self.player.Play()
self.slider.SetRange(0, self.player.Length())
self.info_length.SetLabel('length: %d seconds' % (self.player.Length()/1000)) …
So you mean I can create FAT32 with Ubuntu. I'm ready to format it!
Thanks, a lot
why not put in My documents or elsewhere? I count working in python folder as dangerous practice that I avoid
print 'What is you name?'
Raw_input()
If you run it you will get error
NameError: name 'Raw_input' is not defined
That is because your version of raw_input() is Raw_input()
+1 Paul
Porting available modules to P3k and may be adding New ones are the only reasons to move to P3k. No those modules, I will stay with 2.5. Anyway I hope Devs will dive in, hope so