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,626
» Latest member: ChauHaiCim9904
» Forum threads: 38,637
» Forum posts: 175,063

Full Statistics

Online Users
There are currently 345 online users.
» 0 Member(s) | 339 Guest(s)
Applebot, Baidu, Google, Bing, Yandex

Latest Threads
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
1 hour ago
» Replies: 3
» Views: 359
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
3 hours ago
» Replies: 4
» Views: 1,842
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
7 hours ago
» Replies: 2
» Views: 2,752
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: barrelmarble
7 hours ago
» Replies: 1
» Views: 1,863
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 08:17 PM
» Replies: 2
» Views: 3,062
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:09 AM
» Replies: 2
» Views: 2,081
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 05:53 AM
» Replies: 2
» Views: 240
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 499
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 198
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,393

 
  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

  strange change of the indention to 3 spaces
Posted by: buran - May-19-2017, 06:41 AM - Forum: Board - Replies (31)

I noticed strange behaviour when post code. Sometimes it change the indention to 3 spaces, instead of 4. FYI, I use Firefox, in case it is browser spe..... More

Print this item

  Outfancy - Print tables in Terminal (and (#Highly experimental) charts)
Posted by: carlosplanchon - May-19-2017, 05:47 AM - Forum: GUI - Replies (1)

That's my first post here, and I come with this project to show.

Any help or sugerence is welcome. (english or spanish)

Repository:

http://github.c..... More

Print this item

  Trying to use ctypes.wintypes.HINSTANCE
Posted by: muskyInk - May-18-2017, 11:22 PM - Forum: General Coding Help - No Replies

I am trying to call a function from a dll(A) that is loaded by another dll(B). (A) has a function exposed getDLL that returns a winapi handle to (B). ..... More

Print this item

  PyCon 2017
Posted by: snippsat - May-18-2017, 10:31 PM - Forum: News and Discussions - Replies (6)

PyCon 2017 is under way.
If any interesting videos post link here.

This one is worth watching,the best and m..... More

Print this item

  FFT
Posted by: GiPa - May-18-2017, 10:21 PM - Forum: General Coding Help - No Replies

I have a question about the FFT, sorry if it is quite trivial but I've not reaaly understand where is the mistake.
I want calculte the FFT of the nor..... More

Print this item

  How good is appJar?
Posted by: kennybassett - May-18-2017, 08:29 PM - Forum: GUI - Replies (4)

I started learning python about 1 week ago, so I'm not sure if the path I'm taking for creating gui's will be a good one. I heard that appJar was pret..... More

Print this item

  Regarding guidance for a Newbie in Python and Django
Posted by: ravindersingh13 - May-18-2017, 06:29 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello All,

Greetings !!

I am a newbie in Python. I am really passionate about learning Python and then learn Django. Have tried basic tutorials ..... More

Print this item

  necrobumping
Posted by: metulburr - May-18-2017, 04:22 PM - Forum: Board - Replies (11)

I was having an argument with someone the other day about necrobumping (posting in old threads). I was pro-necrobumping.

We havent had a lot of sw..... More

Print this item

  CSV Reader
Posted by: soundcw - May-18-2017, 02:53 PM - Forum: General Coding Help - Replies (1)

Hi

I am a new programmer with Python and do appreciate any help or suggestions - a virtual beer is offered :)

I am running my program and get th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  List[] in Python needs so... 1 hour ago Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 3 hours ago keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 7 hours ago kralxs wallneradam General Codin...
  2D-Cube-Tic-Tac-Toe 7 hours ago freethrownucleus barrelmarble Game Developm...
  [PyQt] PyQT5 Thread crash... Yesterday, 20:17 Suresh Axel_Erfurt GUI
  Unable to install pygame ... Yesterday, 08:09 garthE Thatedge Game Developm...
  can't use pyrepl: bad mag... Yesterday, 05:53 eliastw85 Plyth News and Disc...
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
Most views
  The best Prog... 572350
  Tutorial Requ... 485016
  Web Scraping ... 436875
  Newbie with P... 379713
  Thread remain... 351239
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+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
ChauHaiCim9904 Today
barrelmarble Today
wallneradam Today
spokedge Today
avilla Today

User Panel Messages

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