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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 37 Guest(s)
Apple, Bing, Google, AOL, AOL, Twitter

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
1 hour ago
» Replies: 2
» Views: 846
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
4 hours ago
» Replies: 0
» Views: 39
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
9 hours ago
» Replies: 1
» Views: 352
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,428
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,510
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 365
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 115
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,875
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,127
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 812

 
  create a movie with python
Posted by: masoud - May-23-2017, 10:51 AM - Forum: Data Science - Replies (4)

Dear all

I have some binary files with names ('Den_car_resample' +'sdf'+ str(n)+'.dat') where n changes from 0 to 25. 
I wrote a code to read thes..... More

Print this item

  New to coding
Posted by: allwinchris - May-23-2017, 10:31 AM - Forum: General Coding Help - Replies (3)

I am new to python, if someones help or guide will be the great thankful.

Need to read file which has content like (aaa,bbb,ccc,ddd,.....) this may..... More

Print this item

  Django examples
Posted by: Skaperen - May-23-2017, 05:37 AM - Forum: Web Scraping & Web Development - Replies (10)

i have installed Django version 1.5.3 on Ubuntu 16.04.2 using Ubuntu packages.  i want to set up a web page on port 80 with it that reports the client..... More

Print this item

  binary data in source code form
Posted by: Skaperen - May-23-2017, 05:18 AM - Forum: General Coding Help - Replies (4)

i have some big binary data i need to embed in a python source file with the intention that it will be written to a binary file.  one way to do this i..... More

Print this item

  Type float doesn't have expected attribute '__div__'
Posted by: sparkz_alot - May-22-2017, 08:04 PM - Forum: General Coding Help - Replies (8)

I'm playing with some formulas and I ran across this warning
 Type float doesn't have expected attribute '__div__' with the  "resist_..... More

Print this item

  Invoking user interface design
Posted by: 12203276 - May-22-2017, 06:39 PM - Forum: GUI - Replies (1)

Hey everyone, I am currently teaching myself to use PyQt4 and I have one problem that I do not know how to fix.

When I design my interface in PyQt4..... More

Print this item

  From noun to verb
Posted by: MattaFX - May-22-2017, 03:23 PM - Forum: General Coding Help - Replies (18)

Hi everybody

I'm currently working on a language project. My actual task consists in finding verb forms of given nouns. Not in English, but in Germ..... More

Print this item

  Game inputs skipping
Posted by: Azazel - May-22-2017, 02:14 PM - Forum: General Coding Help - Replies (2)

Hey, I am trying to make a game in python. I am by no means a good programmer so I am very sorry if my terminology is incorrect, or my code is just no..... More

Print this item

  posts remain in Unread Posts after read
Posted by: Larz60+ - May-22-2017, 01:22 PM - Forum: Board - Replies (27)

Hello,

Something (i suspect the images) in snippsat's tutorials:

https://python-forum.io/Thread-PyGtk3-No...-on-Window..... More

Print this item

  AttributeError: 'Namespace' object has no attribute 'brokeName'
Posted by: kikilalongue - May-22-2017, 10:03 AM - Forum: General Coding Help - Replies (4)

People! Greetings from Suriname!!
I try to get this up. What's the way to run this up?



The piece of code :

[python]
#!/usr/bin/pyth..... More

Print this item

  list comprehension with regular expression
Posted by: aibrain - May-22-2017, 08:37 AM - Forum: General Coding Help - Replies (1)

Wanted to do something like this:
# get rid of negative values for age
[python]
raw={'name': ['a', 'b', 'c', 'd', 'e'], 'age': [20,21,-1,22,-1]}
d..... More

Print this item

  Django
Posted by: Skaperen - May-22-2017, 06:31 AM - Forum: Bar - Replies (4)

how many Django hanging out around these forums?  is there any reason i should not use Django?  i need to set up a website that allows users to sign u..... More

Print this item

  setconfig setting
Posted by: pydeveloper - May-22-2017, 04:20 AM - Forum: General Coding Help - Replies (5)

[python]import yaml
import sys
import traceback

class YAMLConfigReader:
def __init__(self, configFile):
if configFile.strip() == ""..... More

Print this item

  GRG Nonlinear maximize
Posted by: swtimd - May-22-2017, 02:17 AM - Forum: Board - Replies (3)

Hello,

Looking for the equivalent of a GRG nonlinear excel solver for Python.  It is to determine the optimal stock plan.

As input there would be on..... More

Print this item

  [Part-1]Linux Python 3 environment
Posted by: snippsat - May-21-2017, 10:41 PM - Forum: Python Installation and Execution - Replies (1)

This will be similar to starting Python in Windows Part[url=https://python-forum.io/thread-3408.html]..... More

Print this item

  inserting data into oracle db using python
Posted by: sahilsiddharth - May-21-2017, 08:42 PM - Forum: General Coding Help - Replies (9)

my question here

my code here
I am unable to insert date into table by using variable in python 3.6.1. 
If i pass the value ha..... More

Print this item

  Is there a specialist in error handling ?
Posted by: sylas - May-21-2017, 07:48 PM - Forum: Homework - Replies (9)

my question here:Please help me to finish with this file. I am a beginner and I am unable to use "try" and "except"
[python]# file2.py
size = 40
pr..... More

Print this item

  Hiring Python Programmer (2.7.9)
Posted by: Backyard - May-21-2017, 05:32 PM - Forum: Web Scraping & Web Development - Replies (4)

I need a python program recoded and turned into a .exe with a IP whitelist pulled from a discord channel or some other form or simple database solutio..... More

Print this item

  Recommendation for Python IDE (with debugger, Windows platform)
Posted by: vadim_datascience - May-21-2017, 04:28 PM - Forum: General Coding Help - Replies (6)

Dear all,

I am looking for a Python IDE with debugger on Windows. I use Python for data analysis, so no need in web/mobile applications development..... More

Print this item

  Removing punctuation from strings in lists
Posted by: iFunKtion - May-21-2017, 02:30 PM - Forum: General Coding Help - Replies (3)

Hi,

Stdin reads any text entered in, into a list, so a limerick, 5 lines of text, will be read into a list of 5 comma separated list items. How ca..... More

Print this item

  How to simulate this block diagram with python control library?
Posted by: nugrohoav - May-21-2017, 09:48 AM - Forum: Homework - Replies (1)

[Image: QmD8s.png]
And  G(s)c is a PD Controller. The value of P controller is 973.14 and [b]D contro..... More

Print this item

  async for
Posted by: wavic - May-21-2017, 08:22 AM - Forum: Web Scraping & Web Development - Replies (7)

Well I have a list of URLs and I want to iterate over it so do get the pages as fast as it's possible.
I know that there is async for loop but can't ..... More

Print this item

  still working on page columnizer
Posted by: Skaperen - May-21-2017, 08:10 AM - Forum: News and Discussions - Replies (4)

i'm still working on a page columnizer.  you call put() passing it short lines, such as names files.  it forms the lines into columns and lines them u..... More

Print this item

  Homework problem
Posted by: Dem_Prorammer - May-20-2017, 07:13 PM - Forum: Homework - Replies (1)

(Basically the task)
Write a program that displays n flags for a given number n from 1 to 9. The image of one flag has a size of 4 × 4 characters, and..... More

Print this item

  [Part-2]Python environment Windows
Posted by: snippsat - May-20-2017, 06:30 PM - Forum: Python Installation and Execution - Replies (4)

[size=medium]Part-1 is here,which contend basic i..... More

Print this item

  calculate specified column or row mean
Posted by: SriRajesh - May-20-2017, 12:53 PM - Forum: Data Science - Replies (2)

Hi,

I have the data pandas.DataFrame as below:
I want to compute column 3 mean and row 4 mean.
[code]test:

AAB   BT     2     5  5.1
0  YUT  HYT  89..... More

Print this item

  python How to import All modules from namespace
Posted by: harun2525 - May-20-2017, 09:57 AM - Forum: General Coding Help - Replies (1)

i tried to import all modules of namespaces but no modules imported.  how can I import all ?

example
[python]
# myfolder
#  | mymodule1.py
#  | mymod..... More

Print this item

  No module named 'ConfigParser'
Posted by: Bani - May-20-2017, 05:35 AM - Forum: General Coding Help - Replies (13)

Hi,

When I want to install some pachakes, I have "ImportError: No module named 'ConfigParser'" error.
I use Python3.5 and used the below command t..... More

Print this item

  Having my output links become clickable
Posted by: bigmit37 - May-20-2017, 12:10 AM - Forum: General Coding Help - Replies (8)

I scraped a site and got a list of links.
I  can call the list object to output the links, but they are just in text format in my shell. They are not..... More

Print this item

  Python Errors
Posted by: kendias - May-19-2017, 09:23 PM - Forum: General Coding Help - Replies (26)

my question here
I am using a python program from a link but am getting errors on simple lines of code (below). Get errors on the first, second lines ..... More

Print this item

  A little help please?
Posted by: TiffanyButterfly23 - May-19-2017, 06:53 PM - Forum: General Coding Help - Replies (1)

Hi! I am kind of new to python and I don't really know where to start. I am trying to making a game where you are a butterfly and you have to fly thro..... More

Print this item

  Pandas| iterrows | csv.replace
Posted by: BeerLover - May-19-2017, 05:39 PM - Forum: Homework - Replies (1)

Hello forum,

I wanted to ask you to check what is wrong this piece of code: 

[python]
import pandas as pd
import requests
import io

csv = ..... More

Print this item

  Rock, Paper, Scissors game help..
Posted by: hentera - May-19-2017, 05:15 PM - Forum: Homework - Replies (3)

I'm having a very minor issue that I can't seem to figure out. When the user enters "quit" I want the program to display their wins/losses. What am I ..... More

Print this item

  instruction refused on a "while loop"
Posted by: sylas - May-19-2017, 05:00 PM - Forum: General Coding Help - Replies (11)

my question here:Why the following tiny  file of 4 lines works well? 1. value =5.5...    2.total=0.0....3. total=value+total....4...print(total)....Th..... More

Print this item

  Print if all checkboxes marked
Posted by: Kaelmi - May-19-2017, 02:31 PM - Forum: GUI - Replies (10)

Hi guys,
I'm starting my adventure with python and well - programming at all and I've got a small problem for which I can't find any answer.

I wro..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 1 hour ago RonR RonR GUI
  How Reliable Is Assignmen... 4 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... 9 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575810
  Tutorial Requ... 497067
  Web Scraping ... 439823
  Newbie with P... 383518
  New Users Int... 365358
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 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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