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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,397
» Latest member: MaxTranslate
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 33 online users.
» 2 Member(s) | 26 Guest(s)
Bing, Google, Applebot, AOL, jogl, snippsat

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: jogl
10 minutes ago
» Replies: 0
» Views: 11
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Today, 09:12 AM
» Replies: 1
» Views: 4,586
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 167
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,593
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 287
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,101
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,953
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 106

 
  Need help with writing to and reading from files?
Posted by: birdieman - Dec-20-2016, 07:04 PM - Forum: General Coding Help - Replies (14)

I am new to this forum and python, as you will discover.  I am trying to learn how to write variables to a file that I can later read back.  My code i..... More

Print this item

  pygames and livewires
Posted by: djokson - Dec-20-2016, 05:41 PM - Forum: Game Development - Replies (9)

I m learning python from Michael Dawson books, and he use library livewires to import and code pygame library, a do not know how to import and use thi..... More

Print this item

  How can I add search in flask-admin?
Posted by: Mike Ru - Dec-20-2016, 05:11 PM - Forum: Web Scraping & Web Development - Replies (4)

I have a simple model.
[python]
class Words(db.Model):
    id = db.Column(db.Integer, primary_key = True)
    russia = db.Column(db.String(50))
..... More

Print this item

  Boolean Logic in Json
Posted by: trinity_np - Dec-20-2016, 04:19 PM - Forum: Homework - Replies (3)

Hi all, I'm pretty new to python and I've this problem.

[..... More

Print this item

  GameBoard coding
Posted by: Bullman - Dec-20-2016, 01:22 PM - Forum: Homework - Replies (3)

I'm have to create connect 4 as an assignment. We have been given code to tic tac toe to base it on. I have adjusted the board code but keep getting t..... More

Print this item

  Finding dead code
Posted by: Ofnuts - Dec-20-2016, 11:31 AM - Forum: General Coding Help - Replies (6)

I'm writing a fairly large a script (currently around a thousand lines and growing(*)) and due to refactoring it could contain some dead code (I alrea..... More

Print this item

  Question: Paths and writing to a file
Posted by: mwmaw - Dec-20-2016, 08:12 AM - Forum: General Coding Help - Replies (6)

[i][size=x-large][size=small][size=x-small][font=Arial]First off, hello! I've been trying to find a good forum to post questions to and, when I'm bett..... More

Print this item

  how to extract filename ?
Posted by: hsunteik - Dec-20-2016, 07:49 AM - Forum: General Coding Help - Replies (2)

How to extract filename from the result the tkinter command asksaveasfile give?

example:
from tkinter.filedialog import asksaveasfile
def saveascodim..... More

Print this item

  my next little project
Posted by: Skaperen - Dec-20-2016, 06:57 AM - Forum: Bar - Replies (4)

my next little project is to make a "what is my IP address" server, but with UDP and my code (a server and a client) on each end.  so i need to set up..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 10 minutes ago jogl jogl General Codin...
  Struggles I Faced While E... Today, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580408
  Tutorial Requ... 519490
  Web Scraping ... 442781
  Newbie with P... 386982
  New Users Int... 386496
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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