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,239
» Latest member: racingsubby
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Apple, AOL, Google Image

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
51 minutes ago
» Replies: 1
» Views: 19
Data Science
Forum: Data Science
Last Post: mamta25
1 hour ago
» Replies: 3
» Views: 2,563
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
8 hours ago
» Replies: 1
» Views: 95
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 146
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 124
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 126
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,273
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,378
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,578
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 205

 
  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

  import requests gives me error
Posted by: blckpstv - Jan-22-2017, 10:19 AM - Forum: General Coding Help - Replies (1)

When importing requests after installing succesfully with pip install requests (osx mac sierra) (python 2.7.13)

I get 

>>> import requests

[c..... More

Print this item

  why do most algorithm only take number between -1 and 1 as input or output?
Posted by: hsunteik - Jan-22-2017, 09:37 AM - Forum: Bar - Replies (5)

Why do algorithm like Perlin noise and neural network and many more algorithm must have the input and output to be between -1 and 1,is there a reason ..... More

Print this item

  Where is the loophole in my code
Posted by: landlord1984 - Jan-22-2017, 04:05 AM - Forum: Homework - Replies (15)

Question is:

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements...... More

Print this item

  Why is this multiplication not working?
Posted by: klopeks - Jan-21-2017, 11:54 PM - Forum: General Coding Help - Replies (4)

Hello,I'm very new to Python, and I'm having trouble with some basic math.  I've getting a user to input a number and assigning it to a variable.  The..... More

Print this item

  Dear friends, i need your help pls!
Posted by: Josh_Harmony - Jan-21-2017, 08:45 PM - Forum: Web Scraping & Web Development - Replies (4)

My name is Joshua. I am a developer. I do most of my programming using vb.net (visual studio). Until my new roommate introduced me to an entire new la..... More

Print this item

  How to write user defined exceptions
Posted by: kvc4 - Jan-21-2017, 03:01 PM - Forum: General Coding Help - Replies (1)

Hello...I am new to Python...

Please lemme know how to write user defined exceptions in python and how to use them in other classes?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 51 minutes ago Reema Gribouillis General Codin...
  Data Science 1 hour ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 8 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578720
  Tutorial Requ... 509379
  Web Scraping ... 441865
  Newbie with P... 385821
  New Users Int... 375273
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
racingsubby Today
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08

User Panel Messages

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