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,924
» Latest member: Fobertsmene
» Forum threads: 38,719
» Forum posts: 175,490

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 34 Guest(s)
Bing, Google, AOL, Applebot

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 2
» Views: 345
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
9 hours ago
» Replies: 7
» Views: 1,628
Python Installation issue
Forum: News and Discussions
Last Post: Dev
9 hours ago
» Replies: 4
» Views: 15,555
New to the field
Forum: News and Discussions
Last Post: Larz60+
Today, 08:15 AM
» Replies: 1
» Views: 286
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Today, 02:34 AM
» Replies: 1
» Views: 318
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 01:34 PM
» Replies: 5
» Views: 624
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Yesterday, 06:11 AM
» Replies: 5
» Views: 1,407
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,377
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,098
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,339

 
  "Statement has no effect"
Posted by: birdieman - Jan-25-2017, 02:36 AM - Forum: General Coding Help - Replies (21)

I am still a beginner, but I want to read a file once, do processing, then write to the file.  the read code is:
[python]
f = open("test3.txt", "w")
w..... More

Print this item

  img tag no longer workinghttps://python-forum.io/Thread-img-tag-no-longer-working
Posted by: metulburr - Jan-25-2017, 12:50 AM - Forum: Board - Replies (6)

Did someone do something regarding the img tag? Its suppose to show up in the post, but now it is just showing the text link for it.

for example:
..... More

Print this item

  [Flask]Weather app Updatet
Posted by: snippsat - Jan-25-2017, 12:24 AM - Forum: Web Tutorials - Replies (1)

This will be and updated version as the old weather API i did use no longer is online.
Will be looking at using a weather API to get data,then make u..... More

Print this item

  moviepy can't detect ImageMagick after I installed it
Posted by: RobertoChen - Jan-24-2017, 09:14 PM - Forum: General Coding Help - Replies (1)

This is my Code(exactly the example code from website):
[python]

from moviepy.editor import *

video = VideoFileClip("myHolidays.mp4").subclip(5..... More

Print this item

  call method in class using threads?
Posted by: masterofamn - Jan-24-2017, 09:09 PM - Forum: General Coding Help - No Replies

Hi python-Volks,

I'm a phyton n00b trying to extend an existing program and I got stuck. Let me
try to explain very briefly the project to illustr..... More

Print this item

  Calling chunks of code
Posted by: The_Taco_King3 - Jan-24-2017, 07:49 PM - Forum: General Coding Help - Replies (3)

Is there a way in python to assign a set of functions, a/o actions to a variable that i can call to and run instead of copy/pasting the same chunk of ..... More

Print this item

  Facing an issue in doing 'unittest.installHandler()' which will send 'stop' signal to
Posted by: hmarne - Jan-24-2017, 03:21 PM - Forum: General Coding Help - Replies (3)

>>> import unittest
>>> def main():
unitttest.installhandler()

[color=#33996..... More

Print this item

  Pausing and playing a while loop.
Posted by: traceon - Jan-24-2017, 02:39 PM - Forum: General Coding Help - Replies (1)

Came up with this code for one of three sounds to play when a motion sensor picks something up. I want the ability to pause and play the loop when a k..... More

Print this item

  Help running an r package - COMPLETE PYTHON BEGINNER
Posted by: harrysmithhjs - Jan-24-2017, 02:14 PM - Forum: Homework - Replies (2)

Hi guys,

I know this is probably going to be a bit of a long shot, but the internet is usually a helpful and friendly place. Basically I am in the ..... More

Print this item

  Can't get a downloaded file converter to work
Posted by: Godotisnothere - Jan-24-2017, 01:06 PM - Forum: General Coding Help - Replies (1)

I imagine this is not what people usually post here, but I need help.
[color=#222222][font=Verdana, arial, sans-serif]I am trying to use this: github..... More

Print this item

  Web Crawler Not Working
Posted by: chrisdas - Jan-24-2017, 12:54 PM - Forum: Web Scraping & Web Development - Replies (13)

Hi All, Not sure why my crawler isn't working. It's pretty simply pulling out the href, the brand, and the fit of t-shirts from a website. It manages ..... More

Print this item

  does open() still take file descriptors in py3
Posted by: Skaperen - Jan-24-2017, 11:37 AM - Forum: General Coding Help - Replies (2)

i am trying to open a file descriptor (an end of a pipe from os.pipe()) using open().
i get a funny error message and execution continues.
[output]T..... More

Print this item

  creating terrain without noise or seed?
Posted by: hsunteik - Jan-24-2017, 10:57 AM - Forum: General Coding Help - Replies (3)

i have learned many terrain generation algorithm,but i cant wrap head around even one of them.
i dont use perlin noise,simplex noise because the grad..... More

Print this item

  PyInstaller: ImportError, no module name 'PyQt4'
Posted by: panoss - Jan-24-2017, 09:56 AM - Forum: General Coding Help - Replies (1)

I 'm trying to make an exe out of my python code with PyInstaller.
My code is this:
[python]
from PyQt4 import uic, QtGui, QtCore
import sys

qt..... More

Print this item

  How to simulate gravity?
Posted by: hsunteik - Jan-24-2017, 09:14 AM - Forum: Game Development - Replies (4)

Is there any physic library for Python where I can just toggle enable or disable the physic that I one?
If not ,how do I create a game like stack or ..... More

Print this item

  Search engine
Posted by: MeeranRizvi - Jan-24-2017, 08:21 AM - Forum: GUI - No Replies

Hello Guys,
Here i need to develop a GUI Like a search engine.Whatever i give the input in my text box it should enter into the browser and search fo..... More

Print this item

  What file types are allowed for attachments
Posted by: buran - Jan-24-2017, 08:03 AM - Forum: Board - Replies (1)

What file types are allowed to attach to a post? strange that csv is not allowed at the moment.

Print this item

  duplication in list comprehension
Posted by: Skaperen - Jan-24-2017, 06:55 AM - Forum: General Coding Help - Replies (15)

if i have

x=['a','b','c','d','e','f']

how can i make duplicates in a list comprehension and get a r..... More

Print this item

  How complex is this project?
Posted by: Nested_Sunlight - Jan-24-2017, 06:29 AM - Forum: Web Scraping & Web Development - Replies (3)

For the last month or so, I have been reading up on Python, learning as much as I can, with the hope of eventually building a web-crawler to pull a lo..... More

Print this item

  how to print unicode in python?
Posted by: Skaperen - Jan-24-2017, 04:59 AM - Forum: General Coding Help - Replies (1)

the goal is to have a 100% unicode system with utf-8 being used in any/every 8-bit or 9-bit (or up to 15-bit) stream/storage.  file names, file conten..... More

Print this item

  PyCharm Tutorial Links/Videos For Absolute Beginner?
Posted by: pyJim - Jan-24-2017, 03:29 AM - Forum: Homework - Replies (3)

Can anyone suggest a good tutorial for getting started with PyCharm for those who are relatively new to coding? I took an intro to Python course recen..... More

Print this item

  How to use a list of floats
Posted by: kristrek - Jan-23-2017, 09:28 PM - Forum: General Coding Help - Replies (14)

How can make a list of floats useful if you can't iterate through them?

I've tried things like: 
[python]        
    fred = ', '.join(total)
  ..... More

Print this item

  Money Bags Program
Posted by: PythonNoob123 - Jan-23-2017, 08:06 PM - Forum: Homework - Replies (2)

Hi all,
I need some help with adding some validation into my program. I need to make sure that the user cannot enter no prohibited characters into th..... More

Print this item

  Help with Font size in Python-Raspi
Posted by: sunnysideot - Jan-23-2017, 07:11 PM - Forum: General Coding Help - Replies (7)

I managed to get a BTC ticker running on my raspi but the font is too small. Have no idea what I am doing, I am surprised I got this far.

This is t..... More

Print this item

  [split] permission error on pygame install
Posted by: pyteach - Jan-23-2017, 06:40 PM - Forum: Game Development - Replies (7)

Hello, I am new to Python (Python 3.5.3rc1 (v3.5.3rc1:de530d7f21c0, Jan 2 2017, 06:41:25) [MSC v.1900 64 bit (AMD64)] on win32)
and Pygame (pygame-1..... More

Print this item

  while (Serial.available()
Posted by: holt24 - Jan-23-2017, 06:26 PM - Forum: General Coding Help - Replies (2)

Hi. I'm receiving serial data from an Arduino over USB the data comes at anytime, could be 30 minutes between messages. I have the following while loo..... More

Print this item

  listening to user input even after opening an application in mac
Posted by: sharma16aug - Jan-23-2017, 05:22 PM - Forum: General Coding Help - Replies (4)

[color=#242729][size=small][font=Arial, 'Helvetica Neue', Helvetica, sans-serif]hi i'm writing a script to simply open and close an application on mac..... More

Print this item

  Clean file with missing values
Posted by: Felipe - Jan-23-2017, 02:53 PM - Forum: General Coding Help - Replies (8)

Hi guys,

I need to clean a file with 13 millions lines. Some lines don't has value on the third column, so I need to exclude them.
Here's an input..... More

Print this item

  Read CSV Files with multiple headers into Python DataFrame
Posted by: UGuntupalli - Jan-23-2017, 02:31 PM - Forum: Data Science - Replies (12)

[color=#242729][size=small][font=Arial,][size=small]I am trying to learn Python and started with this task of trying to import specific csv files in a..... More

Print this item

  pySerial .readline() help
Posted by: AlexSneedMiller - Jan-23-2017, 12:33 PM - Forum: General Coding Help - Replies (1)

Hello,

I am writing a Python v3.6.0 program on a Windows PC that takes an input from the Serial port and then parses the input, and replies on the ..... More

Print this item

  Regular expression to fetch comments in C using Python
Posted by: pikkip - Jan-23-2017, 11:35 AM - Forum: General Coding Help - Replies (4)

I am coding a program in Python to fetch comments in a C program( both single and multiline). What regular expression should be used for this?

Print this item

  Access 2D array problem
Posted by: landlord1984 - Jan-23-2017, 07:57 AM - Forum: Data Science - Replies (1)

I got:

[python]SortedArray2D= [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j'], ['k', 'l', 'm', 'n', 'o'], ['p', 'q', 'r', 's', 't'], ['u', 'v..... More

Print this item

  How to return multiple values from function in python
Posted by: pikkip - Jan-23-2017, 05:43 AM - Forum: General Coding Help - Replies (2)

def abc(x, y):
    print x
    print y
    x = x + 1
    y = y + 1

x = 0
y = 1
x, y = abc(x,y)
When I execute this error, I..... More

Print this item

  testutf.py fails py3, sorta works in py2
Posted by: Skaperen - Jan-23-2017, 05:00 AM - Forum: General Coding Help - Replies (6)

i made a little test program to start exploring utf-8, testutf.py:

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import ..... More

Print this item

  calling Class method inside the Class definition
Posted by: tkj80 - Jan-23-2017, 04:03 AM - Forum: General Coding Help - Replies (1)

Hi,

I'm writing a class Sunday
1) to get datetime of previous Sunday (method)
2) to return the following attributes:
   a) day (in string)
   b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 5 hours ago fred1232 deanhystad General Codin...
  New to Python and Pygame 9 hours ago JMcM JMcM Game Developm...
  Python Installation issue 9 hours ago RFHill Dev News and Disc...
  New to the field Today, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Today, 02:34 RonR deanhystad GUI
  Select Python comment (#)... Yesterday, 13:34 SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Yesterday, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575575
  Tutorial Requ... 496603
  Web Scraping ... 439651
  Newbie with P... 383269
  New Users Int... 364376
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Fobertsmene Today
jeremyn24503 Today
homataheri Today
Dev Today
RonR Yesterday

User Panel Messages

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