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 352 online users.
» 0 Member(s) | 342 Guest(s)
Applebot, Google, Baidu, Bing, Yandex, Facebook

Latest Threads
List[] in Python needs so...
Forum: Game Development
Last Post: DeaD_EyE
3 hours ago
» Replies: 3
» Views: 363
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: AlluminumFoil
6 hours ago
» Replies: 4
» Views: 1,848
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
9 hours ago
» Replies: 2
» Views: 2,758
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: barrelmarble
9 hours ago
» Replies: 1
» Views: 1,866
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 08:17 PM
» Replies: 2
» Views: 3,066
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:09 AM
» Replies: 2
» Views: 2,083
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 05:53 AM
» Replies: 2
» Views: 242
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 500
[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,394

 
  Underscores And You, A Guide To Turning Magic Into Science
Posted by: nilamo - May-24-2017, 08:00 PM - Forum: Tutorials - Replies (2)

Source: https://medium.com/embrace-technology/th...63c86b8c0d

Print this item

  Change color of a row of a QTableView?
Posted by: panoss - May-24-2017, 05:21 PM - Forum: GUI - Replies (7)

How can I change the color of a row of QTableView which has as model a QStandardItemModel?

I tried this with no success:
[python]index = self.game..... More

Print this item

  Cancel update of text of QPlainTextEdit if terms not satisfied
Posted by: panoss - May-24-2017, 05:11 PM - Forum: GUI - No Replies

I have a QPlainTextEdit 's textChanged event connected to _criterion_txt_textChanged function.
I want the user not to able to enter a value grater th..... More

Print this item

  Help? I can't figure this out.
Posted by: hentera - May-24-2017, 05:04 PM - Forum: General Coding Help - Replies (4)

If a line in my program contains the word murder, how can I get my program to replace the word murder with "-------")?
[python]import sys


file =..... More

Print this item

  Django with socket-io
Posted by: charlesprince - May-24-2017, 03:25 PM - Forum: Web Scraping & Web Development - Replies (1)

I am going to create socket io server with Django, is there any example to make it.

Print this item

  Simple Browser
Posted by: Turry - May-24-2017, 02:50 PM - Forum: Web Scraping & Web Development - No Replies

I did a simple browser using Tkinter and requests.
It's not the best and I can really improve on it but atleast it works.
[python]import tkinter
fr..... More

Print this item

  Randomise network while maintaining topology of nodes using edge-swap approach
Posted by: Tom1988 - May-24-2017, 02:30 PM - Forum: General Coding Help - Replies (3)

I have an array of nodes and edges like this (in reality, there are over 200,000 edges):

[size=medium][python][101_123,12312_23..... More

Print this item

  Help with code
Posted by: BNB - May-24-2017, 12:07 PM - Forum: General Coding Help - Replies (3)

Hello,
*sorry about the subject, unable to edit it*
I am new to Python and trying to figure out a way to start. I have a large section of code that wa..... More

Print this item

  Python module cx_Oracle ld installation issue on Solaris11U3 SPARC: fatal: file /orac
Posted by: sameernatekar - May-24-2017, 10:47 AM - Forum: News and Discussions - No Replies

Trying to install cx_Oracle on Solaris11U3 but getting ld: fatal: file /oracle/database/lib/libclntsh.so: wrong ELF class: ELFCLASS64 error
 
# pyth..... More

Print this item

  List repetition
Posted by: ashwin - May-24-2017, 10:35 AM - Forum: General Coding Help - Replies (3)

my question here
I was experimenting with lists and this particular behavior of python caused me some confusion. Can anyone please clarify if what i ..... More

Print this item

  wxPython phoenix install step by step
Posted by: Larz60+ - May-24-2017, 10:32 AM - Forum: GUI tutorials - Replies (1)

The following was done on windows 7 using python 3.6, it assumes you are starting from scratch
Phoenix is the code name of for the new version of wxP..... More

Print this item

  Could not load module
Posted by: Bani - May-24-2017, 10:12 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a below error on line 756 of this file. What should I d..... More

Print this item

  PyCharm cannot post unformatted code
Posted by: sylas - May-24-2017, 06:10 AM - Forum: News and Discussions - Replies (3)

my question here: I bougt "Python Machine Learning", by Sebastian Raschka. Editor Packt. No one word on tuples, lists; This book is of no use for me. ..... More

Print this item

  Python Application Starter
Posted by: MistakenGuru - May-24-2017, 03:45 AM - Forum: General Coding Help - Replies (3)

Hello, let me start by stating that I am a complete beginner in Python, or coding in general, and as so I need your help.
I am trying to create a scr..... More

Print this item

  Help Building Repository
Posted by: shakeandbake5555 - May-23-2017, 09:33 PM - Forum: General Coding Help - Replies (2)

Hi, I am very new to Python so fumbling around in the dark. Here is my problem, I would be grateful for any help.

I am trying to use some code called..... More

Print this item

  Vertical columns Text file Pyhton
Posted by: Joker92 - May-23-2017, 08:14 PM - Forum: Data Science - Replies (1)

Hi everybody !!


I was coding using Pandas modules...and i obtained this text file :

Time of acquisition ch1


[output]['00:15:00', '00:30:0..... More

Print this item

  Help with Quiz
Posted by: Learning2teach - May-23-2017, 07:34 PM - Forum: General Coding Help - Replies (1)

Hello I am trying to create a basic quiz of 5 questions .
I am really new to programming and so any help with be fantastic .
The code needs to be ve..... More

Print this item

  Updating & Accessing a "Static" List
Posted by: Bass - May-23-2017, 03:33 PM - Forum: General Coding Help - Replies (4)

Hi,

Help with creating a control record as a program variable.

I am writing a script to call ~10 APIs and analyse the data on frequent basis (>10 & ..... More

Print this item

  [Hiring] Python Full Stack / Django / JS Professional.
Posted by: joelosteen - May-23-2017, 02:14 PM - Forum: Jobs - Replies (2)

Hello guys,

I'm looking for someone who's experienced in Full Stack Python, Django and JavaScript at an intermediate level. It's going to be a one-..... More

Print this item

  CSV import results in listing of all letters of elements
Posted by: Bigshow23 - May-23-2017, 02:06 PM - Forum: General Coding Help - Replies (3)

My bank statement is a CSV with two different delimiters namely '|' and ’;' . I wanted to write a script, that makes me a 2-dimensional list (lines+ro..... More

Print this item

  How to pass value from method to function
Posted by: iFunKtion - May-23-2017, 01:03 PM - Forum: General Coding Help - Replies (11)

Hi there,

I have been tasked with writing a function that returns the length of an unknown list. I have successfully done the algorithm for it, and ..... More

Print this item

  python import module or namespace from namepsace variable ?
Posted by: harun2525 - May-23-2017, 12:30 PM - Forum: General Coding Help - Replies (11)

this is very important to me, i want import a module or package (namespace) from another namespace variable.

example

[python]

import mydir # import..... More

Print this item

  Checking whether program is installed
Posted by: Kaelmi - May-23-2017, 12:16 PM - Forum: General Coding Help - Replies (2)

Hey guys,

Is there an option to check with python script whether program is installed on computer or not? And give feedback in form of messagebox?..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  List[] in Python needs so... 3 hours ago Codingdesigner12 DeaD_EyE Game Developm...
  Web scraping confusion 6 hours ago keifin AlluminumFoil Web Scraping ...
  Problem Converting Tradin... 9 hours ago kralxs wallneradam General Codin...
  2D-Cube-Tic-Tac-Toe 9 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... 572351
  Tutorial Requ... 485021
  Web Scraping ... 436880
  Newbie with P... 379716
  Thread remain... 351240
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