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 32 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, AOL, Apple

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
52 minutes ago
» Replies: 2
» Views: 93
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
57 minutes 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: 267
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

 
  How to embed mp3 file with Pyinstaller
Posted by: panoss - May-25-2017, 05:22 PM - Forum: General Coding Help - Replies (2)

I 'm tryin to use an mp3 in my app.
This is how:
[python]
def _response_to_alert(self):
if getattr(sys, 'frozen', False):
# we are running ..... More

Print this item

  Nested Loop to Generate Triangle
Posted by: Babbare - May-25-2017, 04:13 PM - Forum: Homework - Replies (12)

I need the triangle to be in reverse. The assignment requires a nested loop to generate a triangle with the user input of how many lines.

Currently..... More

Print this item

  Graphic of total different connection opened by one ip (per seconds) by time
Posted by: FoxModem56k - May-25-2017, 03:27 PM - Forum: General Coding Help - No Replies

Graphic of total different connection opened by one ip (per seconds) by time (slowloris attack)

I have a network dump (PCAP file) from a "conversat..... More

Print this item

  How can I get Colors of current GTK theme?
Posted by: ondoho - May-25-2017, 02:40 PM - Forum: GUI - Replies (2)

Hello,
On ArchLinux, I'm trying to get the Colors of the current GTK3 theme, but without opening a gtk window.
All I want the script to do is g..... More

Print this item

  How to find the cosine of an angle
Posted by: sylas - May-25-2017, 01:23 PM - Forum: General Coding Help - Replies (6)

my question here:Hi all. I have not received my book yet, so I am unable to go on.

[python]#file2.py
#module
# Import built-in module math
impor..... More

Print this item

  Jython for music
Posted by: RoseRodent - May-25-2017, 08:57 AM - Forum: General Coding Help - No Replies

Background My apologies if this isn't even python! I have been trying to look up what the differences and similarities are and people tell me t..... More

Print this item

  National Flood Hazard Layer (NFHL) files extraction
Posted by: sirgeo - May-25-2017, 04:53 AM - Forum: Homework - Replies (2)

Noob looking for some guidance with the following task.

Use Python to extract flood hazard info from ..... More

Print this item

  Mini-Web Framework
Posted by: nilamo - May-25-2017, 03:34 AM - Forum: Code sharing - Replies (12)

So I've had an idea running around my head for a while, and I decided to finally do something about it and try it out.  The basics of the mini framewo..... More

Print this item

  splitting or parsing control characters
Posted by: Skaperen - May-25-2017, 02:57 AM - Forum: General Coding Help - Replies (19)

i would like to do a split on a string (including bytes) such that it splits control characters as classes.  for example if a string is [inline]'foo\n..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 52 minutes ago rjdegraff42 noisefloor General Codin...
  Sorry Help 57 minutes 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... 386778
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