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,586
» Latest member: jahedulalamsameer
» Forum threads: 38,637
» Forum posts: 175,042

Full Statistics

Online Users
There are currently 443 online users.
» 0 Member(s) | 438 Guest(s)
Bing, Google, Baidu, Yandex, AOL

Latest Threads
Let user search read-only...
Forum: GUI
Last Post: Winfried
5 hours ago
» Replies: 0
» Views: 46
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
11 hours ago
» Replies: 1
» Views: 99
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Today, 02:14 AM
» Replies: 0
» Views: 72
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Yesterday, 05:26 PM
» Replies: 5
» Views: 188
I have a question
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:26 AM
» Replies: 2
» Views: 202
Problème d'exécutable
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 09:22 AM
» Replies: 1
» Views: 185
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-20-2025, 07:21 PM
» Replies: 11
» Views: 519
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Jun-20-2025, 04:55 AM
» Replies: 3
» Views: 156
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Jun-20-2025, 12:07 AM
» Replies: 3
» Views: 221
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 166

 
  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

  How to form a dataframe reading separate dictionaries from .txt file?
Posted by: Doug - Jan-23-2017, 01:32 AM - Forum: Data Science - Replies (1)

Hey! Got an issue here. I need to read each line of .txt file as separate dictionary. Then to organize data in columns by the key of each dictionary...... More

Print this item

  Run python script in RPi2 from ssh session
Posted by: marciokoko - Jan-23-2017, 01:31 AM - Forum: General Coding Help - Replies (5)

If I run a python script on a RPi2 from an ssh session, that script stops once the ssh session is terminated.  How do I make that python script run in..... More

Print this item

  Python "read -n" equivalent?
Posted by: rhubarbpieguy - Jan-22-2017, 09:05 PM - Forum: General Coding Help - Replies (8)

What is the Python equivalent to the bash "read -n" command?

I understand input() pauses for user input. However, if I'm expecting x characters I'd..... More

Print this item

  Simple Series Keyword Error
Posted by: Kris - Jan-22-2017, 06:46 PM - Forum: Data Science - Replies (4)

import pandas 
import numpy

#create python dictionary

d = { 'name' : Series ( ['Braund','Cummins','Heikkinen','Allen'], index ['1','2','3','4']..... More

Print this item

  How to make a message if there is a value error
Posted by: theguy007 - Jan-22-2017, 05:40 PM - Forum: General Coding Help - Replies (2)

[python]
import random

secret_num = random.randrange(1, 10)

while True:
       number = int(input("Guess a number between 1 and 10: "))
     ..... More

Print this item

  My sockets are not working
Posted by: Ponomarenko Pavlo - Jan-22-2017, 05:31 PM - Forum: General Coding Help - Replies (2)

I am testing my server and client with two computers.
This is my server:
[python]import socket
server = socket.socket(socket.AF_INET, socket.SOCK_S..... More

Print this item

  want to print the value of a key
Posted by: johnkennykumar - Jan-22-2017, 05:16 PM - Forum: General Coding Help - Replies (2)

[python]import http.client, urllib.request, urllib.parse, urllib.error

headers = {
    # Request headers
    'Content-Type': 'application/json',..... More

Print this item

  how to convert a string to hex
Posted by: Skaperen - Jan-22-2017, 11:03 AM - Forum: General Coding Help - Replies (4)

what is the best way to convert a string to hexadecimal?

the purpose is to get the character codes to see what is being read in from a file...... More

Print this item

  Return not working
Posted by: Techmokid - Jan-22-2017, 10:42 AM - Forum: General Coding Help - Replies (3)

Hello

I have been working on a program that works as an arduino communicator.
The idea is for the arduino to write to a file on the computer inste..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [WxPython] Let user searc... 5 hours ago Winfried Winfried GUI
  Using EventSource in Pyth... 11 hours ago rbadis snippsat Web Scraping ...
  need help with tracking a... Today, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... Yesterday, 17:26 esoyboy DeaD_EyE Homework
  I have a question Yesterday, 09:26 Clictithe noisefloor General Codin...
  Problème d'exécutable Yesterday, 09:22 Zauf noisefloor General Codin...
  How do select this table ... 06-20, 19:21 MarkMan snippsat Web Scraping ...
  [split] Simple webbot for... 06-20, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... 06-20, 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...
Most views
  The best Prog... 572301
  Tutorial Requ... 484815
  Web Scraping ... 436835
  Newbie with P... 379665
  Thread remain... 351227
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 7340
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
jahedulalamsameer Today
Cio Today
Harsh Today
gqdeep01 Today
woefdram Yesterday

User Panel Messages

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