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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

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

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
58 minutes ago
» Replies: 2
» Views: 93
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 2
» Views: 84
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,631
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 184
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 269
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,632
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 242
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 383

 
  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

  Matrix with bounded random numbers
Posted by: Felipe - May-19-2017, 11:36 AM - Forum: Data Science - Replies (2)

Hi everyone, 

I want to construct a matrix with aleatory numbers that are limited by previously determined values. These values are gave in arrays ..... More

Print this item

  ssh + mysql connection python 3.4.3
Posted by: desudesu - May-19-2017, 11:24 AM - Forum: General Coding Help - Replies (9)

Hello, im having a problem connecting to remote mysql database. i am able to manually ssh to the server and connect to mysql using same authentication..... More

Print this item

  Random Sentance Generator
Posted by: Liquid_Ocelot - May-19-2017, 07:21 AM - Forum: Homework - Replies (1)

Hey guys so I need to write a Random Sentance Generator that reads 
nouns.
adjectives,
adverbs,
conjunctions,
Intransitive verbs,
Leadin,
Nounm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 58 minutes ago rjdegraff42 noisefloor General Codin...
  Sorry Help 1 hour ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580473
  Tutorial Requ... 520007
  Web Scraping ... 442797
  Newbie with P... 387014
  New Users Int... 386779
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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