Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,582
» Latest member: chairsforcafe
» Forum threads: 38,635
» Forum posts: 175,039

Full Statistics

Online Users
There are currently 536 online users.
» 1 Member(s) | 528 Guest(s)
Bing, Baidu, Google, Yandex, AOL, Mojeek, Facebook, coder19

Latest Threads
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
2 hours ago
» Replies: 5
» Views: 154
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: rbadis
7 hours ago
» Replies: 0
» Views: 59
I have a question
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 2
» Views: 163
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 1
» Views: 140
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 07:21 PM
» Replies: 11
» Views: 457
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Yesterday, 04:55 AM
» Replies: 3
» Views: 123
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:07 AM
» Replies: 3
» Views: 201
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 147
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 276
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 1,018

 
  save acts like save as
Posted by: hsunteik - Dec-20-2016, 06:29 AM - Forum: General Coding Help - Replies (6)

i am using python(tkinter) to create my text editing software,but my savefile method acts like a saveas method. 
everytime i save it does not overwri..... More

Print this item

  problems with label
Posted by: swipis - Dec-19-2016, 09:01 PM - Forum: GUI - No Replies

Hello

Have problem with label, trying to show label from another file but so far no luck. here is the code:

main.py
[python]
class mainWindow..... More

Print this item

  Help with loop & user input
Posted by: rdDrp - Dec-19-2016, 05:50 PM - Forum: Homework - Replies (11)

This is Not homework assignment. I am beginner to programing itself, just started with python.

What i want to achieve is this:

Print this item

  My exception doesn't work. How can I correct it?
Posted by: Ponomarenko Pavlo - Dec-19-2016, 05:22 PM - Forum: General Coding Help - Replies (3)

>>> try:
    print(1 / 0)
    except ArithmeticError:
        
SyntaxError: invalid syntax
>>>

Print this item

  adding physics
Posted by: sarvar - Dec-19-2016, 04:19 PM - Forum: Game Development - Replies (8)

Hello dear users.

im having trouble in making my game (its doodle jump witch i wrote with pygame) more naturally. 
im using the positions of my pi..... More

Print this item

  Video Streaming Python 3 adaptation failling
Posted by: maimonid - Dec-19-2016, 09:07 AM - Forum: General Coding Help - Replies (8)

I've almost been successful in adapting a Python 2 code for video and html streaming to Python 3 (actually, the streaming works fine for html files). ..... More

Print this item

  how to make my programming language run as itself
Posted by: hsunteik - Dec-19-2016, 05:18 AM - Forum: General Coding Help - Replies (10)

currently,my programming language compiler(codime) is made using python ,so it needs python to run,
so how do i make my programming language compiler..... More

Print this item

  help in creating a new language with python
Posted by: hsunteik - Dec-19-2016, 04:45 AM - Forum: General Coding Help - Replies (9)

i am creating my own programming language (the name is codime) interpreter\compiler with python,but every time i want to compile\interpret my script w..... More

Print this item

  python is missing
Posted by: hsunteik - Dec-19-2016, 04:18 AM - Forum: General Coding Help - Replies (3)

i downloaded python ,i can use it perfectly,but i cant find the folder/directory that python is located.
i should be c:\users\user\AppData\Local\Prog..... More

Print this item

  Anyone Willing to Help with a Volunteer Fire Department Timer Script?
Posted by: xxxxx - Dec-19-2016, 03:07 AM - Forum: General Coding Help - Replies (1)

Hi guys,

I'm trying to find someone to write/help write a script that does the following:

1) Checks to see if another instance is already runnin..... More

Print this item

  Python Error (Traceback & ValueError) Help!
Posted by: helpplease - Dec-19-2016, 02:00 AM - Forum: General Coding Help - Replies (4)

Anyone here able to help with some python error messages? 

1. Traceback (most recent call last):
2. ValueError: time data '' does not match format..... More

Print this item

  Class attribute not recognized\working
Posted by: J125 - Dec-19-2016, 12:58 AM - Forum: General Coding Help - Replies (1)

Hi, me again. 
 
[size=small][font=Tahoma, san..... More

Print this item

  Newbie to Python, Need help with how to impliment random values
Posted by: mintypretzel126 - Dec-19-2016, 12:37 AM - Forum: General Coding Help - Replies (8)

Hello everyone, I just started doing Python after I learned a little bit of the language in Computer Science class. (A program at my school.) I am mak..... More

Print this item

  How is space of variables/functions/objects... called?
Posted by: j.crater - Dec-18-2016, 11:16 PM - Forum: General Coding Help - Replies (4)

Hello,
When you run a Python session, it stores all the variables you declare, and functions, objects... and you can access them at any time. Once yo..... More

Print this item

  Translating this to a list comprehension?
Posted by: gblomqvist - Dec-18-2016, 06:55 PM - Forum: General Coding Help - Replies (6)

Hi,

Say that I have these for-loops:
[python]
s = ''

for y in range(a):
    for x in range(b):
        if (x, y) in some_collection:
            s +..... More

Print this item

  Combining gui main loops, repls and networking
Posted by: Chalisque - Dec-18-2016, 06:24 PM - Forum: GUI - No Replies

What I aim to do, at first as an exercise, is write a simple app server. I wish to be able to connect over a socket and send commands, talking to a si..... More

Print this item

  Write information onto a frame?
Posted by: auditdata - Dec-18-2016, 04:28 PM - Forum: GUI - Replies (2)

I am new to GUI on the pi but have used python 3 to sample a temperature probe.
I simply want to open a GUI frame and update it every time there is a..... More

Print this item

  prime numbers generator is generating non prime numbers?
Posted by: ixaM - Dec-18-2016, 12:38 PM - Forum: General Coding Help - Replies (2)

Hey guys. I wanted to create a prime numbers generator. This is how the program looks at the moment:
[python]from decimal import *
PRIMES = [2]
p =..... More

Print this item

  argv IndexError
Posted by: hsunteik - Dec-18-2016, 12:04 PM - Forum: General Coding Help - Replies (2)

WuHere's my question link:

https://answers.yahoo.com/question/index?qid=201[url=https://python-forum.io/thread-1253.html]..... More

Print this item

  How to make a program run again after end?
Posted by: piipecek - Dec-18-2016, 09:49 AM - Forum: General Coding Help - Replies (3)

Hey there,
I made a program for collatz conjecture, wich basically:
stops when n=1
if n is dividable by 2 = divide by 2
if n isn't = 3*n+1.
here ..... More

Print this item

  How to I make my program release memory?
Posted by: Plecto - Dec-18-2016, 08:15 AM - Forum: General Coding Help - Replies (11)

Sample code is as follows:

[code]
import numpy as np
import time
import sounddevice as sd


def FindFreq_Resp(f_num, Amp):
   print "Calcul..... More

Print this item

  A "Nested Loop" example from python 3.3.4 to 2.6!!
Posted by: sarada2099 - Dec-18-2016, 01:48 AM - Forum: General Coding Help - Replies (6)

hi,
 i'm a fresh new user of this forum as well as a complete beginner of the programming world actually. i've done my masters in mathematics 2 yrs b..... More

Print this item

  How to export map output from Python
Posted by: medurisu2002 - Dec-18-2016, 12:21 AM - Forum: General Coding Help - Replies (1)

I have created a map using sample data insid Juyter Python environment (using AWS cloud) , where I can interact with map - zoom in, out et.,

for a ..... More

Print this item

  cant import progress bar from another py file
Posted by: swipis - Dec-17-2016, 08:57 PM - Forum: GUI - Replies (7)

Hello
First Im new in python and pyqt. I found progress bar py file on the internet and to use this file I should to import to main py file, so I did..... More

Print this item

  NEWBIE HELP: How to tell Python when to use a function
Posted by: BoaVenom18 - Dec-17-2016, 06:41 PM - Forum: General Coding Help - Replies (4)

So I know how to pull up an image using python, however I was hoping to make a program that would call a predetermined image based on a random number...... More

Print this item

  Online test trouble
Posted by: Joseri - Dec-17-2016, 04:09 PM - Forum: Homework - Replies (5)

Hi am trying to answer an online test for python and am not moving any step
any one wanna help please reply i send you the few questions

Print this item

  Can Python make a large program with lots of gigabytes?
Posted by: OnisionTheOninonBoy - Dec-17-2016, 08:14 AM - Forum: General Coding Help - Replies (15)

I'm wondering if it's possible if not suggest me a programming language powerful yet as easy as Python.

Print this item

  Obscure random.shuffle() note
Posted by: ichabod801 - Dec-16-2016, 11:09 PM - Forum: News and Discussions - Replies (3)

So, I'm working on a game suite which includes card games. So I need to shuffle decks of cards. The obvious thing to do is create the decks as lists o..... More

Print this item

  9$ CHIP computer
Posted by: Larz60+ - Dec-16-2016, 11:04 PM - Forum: News and Discussions - Replies (59)

Seems I heard about this before, but not sure.

This is the $9.00 answer to the raspberry pi The CHIP
[ur..... More

Print this item

  Please help me with this program
Posted by: William_the_Conqueror - Dec-16-2016, 10:22 PM - Forum: General Coding Help - Replies (4)

Whenever i run the program it continually loops. Please help!
[python]
import random
#Misc. variables
y = 0
monNum = random.randint(1, 2)

#Player var..... More

Print this item

  I don't know what is wrong!
Posted by: William_the_Conqueror - Dec-16-2016, 08:24 PM - Forum: General Coding Help - Replies (10)

I was trying to code a dice game but i cant seem to get the goomba to take damage. I would appreciate some help.


[python]import random

monNum ..... More

Print this item

  can somone help with this crappy e-mail module
Posted by: ggpf000 - Dec-16-2016, 07:59 PM - Forum: General Coding Help - Replies (1)

Following this example code but appears to be a poorly documented as always with the case with python modules and its documentation.

https://docs.p..... More

Print this item

  Modern Dictionaries by Raymond Hettinger
Posted by: snippsat - Dec-16-2016, 07:20 PM - Forum: News and Discussions - Replies (2)

Modern Dictionaries a good talk about the history of Dictionaries/Hash tables.
Python 3.6 is a..... More

Print this item

  How to provide python scripts to someone without python installed
Posted by: jak123456 - Dec-15-2016, 07:17 PM - Forum: General Coding Help - Replies (9)

so I've recently learned some basic python knowledge,and tried to send the file to someone without python installed,and he was unable to open it. i wa..... More

Print this item

  TypeError: Method takes takes exactly 1 argument but 2 given
Posted by: pras120687 - Dec-15-2016, 06:08 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Below is my code:

[python]import SimpleHTTPServer
import SocketServer
import os
from threading import Thread
import threading


class MyT..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A penny doubled every day... 2 hours ago esoyboy DeaD_EyE Homework
  Using EventSource in Pyth... 7 hours ago rbadis rbadis Web Scraping ...
  I have a question 10 hours ago Clictithe noisefloor General Codin...
  Problème d'exécutable 10 hours ago Zauf noisefloor General Codin...
  How do select this table ... Yesterday, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... Yesterday, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... Yesterday, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
Most views
  The best Prog... 572287
  Tutorial Requ... 484776
  Web Scraping ... 436823
  Newbie with P... 379644
  Thread remain... 351226
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7339
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
chairsforcafe Today
rbadis Today
juliashulze7657 Today
kava Yesterday
esoyboy Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020