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,394
» Latest member: zcharlesoogleto9533
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 27 Guest(s)
Google, Bing, Applebot, Mojeek

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 48
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,590
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 183
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,599
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 151
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 296
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,110
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,960
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 180
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 112

 
  reverse generator
Posted by: Skaperen - Jan-10-2017, 09:28 AM - Forum: General Coding Help - Replies (7)

i like the simple way a generator can be created in python.  but i need something that is the opposite.   what i need is the ability to run, keeping i..... More

Print this item

  Cannot close matplot figure
Posted by: landlord1984 - Jan-10-2017, 08:35 AM - Forum: General Coding Help - Replies (5)

I thought it should be easy, but I couldn't get to close my figure.

My code:
[python]
import matplotlib.pyplot as plt
x=[1,2,3]
y=[5,7,4]
x2=[1,2,3]
..... More

Print this item

  datetime.datetime.now
Posted by: Skaperen - Jan-10-2017, 04:06 AM - Forum: General Coding Help - Replies (4)

i want to import the datetime.datetime.now function, only.  how can i do that?  i still don't understand the package module system.

Print this item

  Ho can I get the first parent of a class?
Posted by: panoss - Jan-09-2017, 01:10 PM - Forum: GUI - Replies (2)

I have a main class.
This creates another class, achild.
achild creates another class, bchild.
bchild can get it's parent (ach..... More

Print this item

  print pandas's df
Posted by: landlord1984 - Jan-09-2017, 08:03 AM - Forum: Data Science - Replies (4)

Here is my code:

import pandas as pd
web_stats={'Day':[1,2,3,4,5,6],
           'Visitor':[43,34,65,56,29,76],
           'Bounce Rate':[65,67,7..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'str'
Posted by: rmpadilla73 - Jan-09-2017, 03:28 AM - Forum: Homework - Replies (4)

Hello, I'm new to Python and I'm trying to type some code for an assignment.  It seemed relatively easy but it turned out being a hassle.
I get the f..... More

Print this item

  Installation problems
Posted by: leap - Jan-09-2017, 01:27 AM - Forum: Game Development - Replies (4)

Hi, I have a bit of a dilemma. I need both pygame and python on my computer. I have read the forums available and I have tried many suggestions availa..... More

Print this item

  Installation of bs4 and BeatifulSoup
Posted by: landlord1984 - Jan-08-2017, 11:42 PM - Forum: Web Scraping & Web Development - Replies (7)

I am trying to use BeatifulSoup from bs4. I am using eclipse IDE.

I followed the installation guide. Install by $ pip install beautifulsoup4:

Re..... More

Print this item

  Python 3.6 installation on Windows 10
Posted by: Python72 - Jan-08-2017, 09:29 PM - Forum: General Coding Help - Replies (7)

I installed Python 3.6 on my desktop with Windows 10. I put a shortcut on the desktop but when I double click it nothing happens. Advice would be grea..... More

Print this item

  Help on Hopfield Neural Network
Posted by: gabrielw6 - Jan-08-2017, 08:44 PM - Forum: General Coding Help - Replies (1)

Hi all,

I've been working on making a python script for a Hopfield Network for the resolution of the shortest path problem, and I have found no suc..... More

Print this item

  Final exam calculator
Posted by: iliketocode - Jan-08-2017, 06:29 PM - Forum: General Coding Help - Replies (1)

Hi guys, I am trying to create a program that tells you what you need to get on an assignment to get a certain grade. However, if you need to get a ne..... More

Print this item

  Subprocess lib
Posted by: peterkl - Jan-08-2017, 05:42 PM - Forum: General Coding Help - Replies (2)

Hello guys,

I've been experimenting with the subprocess library in python 3.5 on linux.

I've been able to run a few commands with success, but..... More

Print this item

  Ouestion on Python Loop
Posted by: GOPI56 - Jan-08-2017, 01:25 PM - Forum: General Coding Help - Replies (2)

Hi All,
I have a question on this python which i have attached below. My question is i want the python script "PIRoncall.py" script to be run once bu..... More

Print this item

  Phyton Beginner Debug a File Python 2.7
Posted by: Darknet - Jan-08-2017, 12:59 PM - Forum: General Coding Help - Replies (1)

How can I start to Debugu a Python File 2.7

Print this item

  Scrapy install error with pip
Posted by: Darknet - Jan-08-2017, 12:20 PM - Forum: Web Scraping & Web Development - Replies (5)

I want to install scrapy.org

But wen i start install with pip install scrapy
I get these error:

visual c++ for python cl.exe failed with exit s..... More

Print this item

  pythondialog windows
Posted by: Mix3rn - Jan-08-2017, 11:48 AM - Forum: GUI - Replies (1)

Hello.
I want to create "unix like" dialogs using python in Windows.
I found pythondialog but it's only for unix/linux (  pythondialog.sourceforge.net..... More

Print this item

  dictionary, list and iteration
Posted by: Annie - Jan-08-2017, 09:50 AM - Forum: General Coding Help - Replies (2)

a = {7: 0.1, 8: 0.2, 11: 0.1, 12:0.2, 13:0.1, 14: 0.2}
b = [   100,              200,             300         ]
c = {}
expected re..... More

Print this item

  What is the capacity of console to display print conent?
Posted by: landlord1984 - Jan-08-2017, 04:41 AM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to print the source content of a website (by using urlopen the object and then print the object's read()).

Initially what it printed in..... More

Print this item

  How to parse pdfs in Python
Posted by: CharType - Jan-08-2017, 03:17 AM - Forum: General Coding Help - Replies (2)

I'm trying to write a program that gets and analyzes text from a pdf document, and I'm wondering what the best way is to do this in python. I download..... More

Print this item

  Promoted QGroupBoxes take data one from the other
Posted by: panoss - Jan-07-2017, 01:26 PM - Forum: GUI - Replies (1)

I 've made a class:
[python]
from PyQt4 import QtGui


class myClass(QtGui.QGroupBox):
   my_children = []

   def __init__(self, parent):
..... More

Print this item

  Recursive function not returning expected output...(Python speech recog module)
Posted by: bigmit37 - Jan-07-2017, 03:20 AM - Forum: General Coding Help - Replies (4)

Windows 7, Python 2.7, Bing text-to-speech API.


I' m having  trouble understanding why when I run the function it seems to be outputting


`N..... More

Print this item

  how to loop data in urllib?
Posted by: pythonlover - Jan-06-2017, 10:29 PM - Forum: General Coding Help - Replies (4)

Hello PyLovers,
I was trying to pass each line of the file as a value to the data. I am just pasting that part of the file. Please advise.

[line r..... More

Print this item

  Google Home
Posted by: micseydel - Jan-06-2017, 09:33 PM - Forum: Bar - Replies (2)

I just thought everyone should be aware of this:
https://www.twitch.tv/seebotschat

Print this item

  How can I get rid of the line following the sprites?
Posted by: Houston11 - Jan-06-2017, 09:20 PM - Forum: Game Development - Replies (1)

So I've been following along with a tutorial I found online, basically this code allows me to spawn in sprites and have them move across the screen. I..... More

Print this item

  I have a Toplevel button in tkinker that I want to close the window and then perform
Posted by: Bloodypizza17 - Jan-06-2017, 06:17 PM - Forum: GUI - Replies (2)

So far I have created a frame with some functioning buttons/menus. One of my menu buttons opens a new Toplevel window. This new Toplevel window is bas..... More

Print this item

  Find IP of a device on a local network
Posted by: mrburnzie - Jan-06-2017, 05:15 PM - Forum: General Coding Help - Replies (4)

Hello!


I'm working on a project for which I need to get a devices IP, but I know the host name aka. ID.

What kind of module should I use for t..... More

Print this item

  TypeError: string indices must be integers, not str
Posted by: hanieh - Jan-06-2017, 05:08 PM - Forum: Homework - Replies (4)

Hi,

I have a piece of code with the following type error:

Error:
TypeError: string indices must be integers, not str
I am new to Python..... More

Print this item

  Regular Expression (re module)
Posted by: ichabod801 - Jan-06-2017, 04:53 PM - Forum: Web Scraping - Replies (2)

Regular expressions are an excellent tool that all programmers should learn. They provide a compact syntax for expressing complicated text searches. T..... More

Print this item

  School assignment
Posted by: Ronaldo - Jan-06-2017, 04:29 PM - Forum: Homework - Replies (5)

Hi guys,

I need to develop the following.

A program that prompts the user for their age, on basis of their age the program needs to calculate ho..... More

Print this item

  Build a multi-variable dictionary
Posted by: birdieman - Jan-06-2017, 01:57 PM - Forum: General Coding Help - Replies (4)

I want to build a multi-variable dictionary.  Below is an abbreviated version:
[python]
Table = {BA: 5000, 6000, 7000, 8000, 10000, .5, .6, .8, .5, .4..... More

Print this item

  Having trouble installing self built package and install_requires
Posted by: blueslow - Jan-06-2017, 01:46 PM - Forum: Web Scraping & Web Development - Replies (8)

Hi,

I have built a sdist package with python2.7 setup.py sdist. The package is built. However when installing at localmachine, local machine virtua..... More

Print this item

  how to generate random 3d world (like minecraft) in python
Posted by: hsunteik - Jan-06-2017, 11:36 AM - Forum: General Coding Help - Replies (3)

how to generate a random 3d world (like minecraft) ?

Print this item

  Issues running Selenium to download zip file
Posted by: davehughes87 - Jan-06-2017, 11:00 AM - Forum: Web Scraping & Web Development - Replies (4)

[color=#242729][size=small][font=Arial,]Hi all. Self-taught Python noob here. I'm trying to write a short python script to visit a web page and simula..... More

Print this item

  looking 4 py code: line up columns
Posted by: Skaperen - Jan-06-2017, 06:25 AM - Forum: Bar - Replies (8)

i am looking for a program to line up (white-space by default, otherwise specified string) separated columns, given in a list of strings (lines..... More

Print this item

  no protocol header version error
Posted by: mjudhandoyo - Jan-06-2017, 06:15 AM - Forum: Networking - Replies (2)

excuse me.

i am new in python programming language

i try to input data from csv file to hadoop hbase with python script

but everytime i try t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 4 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 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... 580410
  Tutorial Requ... 519553
  Web Scraping ... 442785
  Newbie with P... 386984
  New Users Int... 386536
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
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday
RockHound_Z12 Yesterday
braillescribe 12-28

User Panel Messages

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