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: CarlApome
» Forum threads: 38,824
» Forum posts: 176,032

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Mojeek

Latest Threads
IP address for users
Forum: Networking
Last Post: DeaD_EyE
44 minutes ago
» Replies: 6
» Views: 7,146
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
53 minutes ago
» Replies: 1
» Views: 26
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Today, 07:58 AM
» Replies: 28
» Views: 15,589
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 145
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,611
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 224
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,627
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 196
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 345
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 10,002

 
  If elif else alternative
Posted by: brocq_18 - Apr-11-2017, 11:35 AM - Forum: General Coding Help - Replies (13)

What is a more Pythonic way of doing this? I've seen some examples using tuples and dictionaries but they don't seem to return the same varialbe.

[..... More

Print this item

  Question window
Posted by: John_paul - Apr-11-2017, 11:11 AM - Forum: Homework - Replies (1)

Hello, i have python 3.4.3, is it normal when i run this module, nothing happens ?
It is not supposed to create a window ?


[python]
# -*- cod..... More

Print this item

  maybe you could tell me why my script stops
Posted by: komarek - Apr-11-2017, 10:59 AM - Forum: General Coding Help - Replies (6)

i have this script on raspbian
and  sometimes it fails and stops
could you help me to understand what's the problem?

here is the log of the scrip..... More

Print this item

  Text classification
Posted by: Casper - Apr-11-2017, 10:20 AM - Forum: General Coding Help - Replies (2)

Hi, I'm further exploring machine learning and would like to create a model classifier for sentiment analysis of'tweets' using supervised learning tex..... More

Print this item

  How to install my Python application as an Arch Linux Program
Posted by: BigMan - Apr-11-2017, 09:39 AM - Forum: General Coding Help - Replies (1)

Hi,

currently I start my self-written Python application on my Arch Linux Desktop from the terminal like this:
$ python <path to .py file>

But ..... More

Print this item

  matplotlib legend and x axis interval
Posted by: metalray - Apr-11-2017, 08:58 AM - Forum: Homework - Replies (5)

Dear Python Experts,

I got pretty far with my chart but I am stuck at showing every single day 1 to 365) on the x -axis rather than in steps of 50...... More

Print this item

  How do you get PyGame?
Posted by: SpeedyZapGaming - Apr-11-2017, 08:28 AM - Forum: Game Development - Replies (16)

How do you actually get PyGame
Please help me, I really want to use my experience in python to create games.

?  If you can,..... More

Print this item

  General questions
Posted by: PappaBear - Apr-11-2017, 05:57 AM - Forum: News and Discussions - Replies (9)

Prologue::: 
Old guy here... been doing I.T. (Networking) for over 25 years now... and for the most part had a "scripter" on the team, so I never HAD..... More

Print this item

  Safeway's Monopoly
Posted by: ichabod801 - Apr-10-2017, 06:59 PM - Forum: Code sharing - Replies (1)

I wrote some code to keep track of Safeway's current Monopoly game:

[python]
"""
monopoly.py

Code for Safeway's Monopoly game (Series MON-10, ..... More

Print this item

  Collecting Data from Twitter with Tweepy and MongoDB
Posted by: fatony - Apr-10-2017, 05:42 PM - Forum: General Coding Help - Replies (1)

Hi everyone! 

I am a beginner in python programing language and my first project is to build a script which collects twitter tweets with specific p..... More

Print this item

  Classes ?
Posted by: kyukky - Apr-10-2017, 02:17 PM - Forum: Homework - Replies (2)

Hello, I have to do a model of a disease spreading in a population. As a beginner in python, my teacher gave us most of the code. I can't understand t..... More

Print this item

  Monty Python challenge. Sort of...
Posted by: buran - Apr-10-2017, 01:26 PM - Forum: Bar - Replies (4)

Taking on from the other recent thread - https://python-forum.io/Thread-How-is-it...renchman-I?
I would like to ask ..... More

Print this item

  Just learned that Unity is gone
Posted by: wavic - Apr-10-2017, 11:32 AM - Forum: Bar - Replies (10)

I am sad. Maybe this was the last chance for an open mobile OS. Now what? What is the lesser evil to chose it. iOS or Android...
If there is any furt..... More

Print this item

  How is it possible direction names me"silly frenchman". I?
Posted by: sylas - Apr-10-2017, 10:11 AM - Forum: Board - Replies (6)

my question here I saw I am not the only one!

Print this item

  a program i want to create: a vnc proxy for switching
Posted by: Skaperen - Apr-10-2017, 06:54 AM - Forum: Bar - Replies (1)

this program would have a list of vnc servers to connect to.  when a vnc client connects to it, it makes connections to all the servers in the list.  ..... More

Print this item

  Jupyter Notebook 5.0 released
Posted by: Larz60+ - Apr-09-2017, 05:13 PM - Forum: News and Discussions - No Replies

see: http://blog.jupyter.org/2017/04/04/jupyt...ebook-5-0/

To install update:

pip install --upgrade notebook

Print this item

  Something strange happening here !?
Posted by: TerryRitchie - Apr-09-2017, 04:25 PM - Forum: General Coding Help - Replies (4)

The code below that I created seems simple enough. Create a list that holds current line info, add that current line list to a master list, then draw ..... More

Print this item

  Accumulative list
Posted by: py7 - Apr-09-2017, 04:11 PM - Forum: Homework - Replies (2)

I need some help in a function that I am developing
It's a function that receives three parameters a function, a list and an element and returns a li..... More

Print this item

  how to destroy or remove object rendered with opengl from the screen?
Posted by: hsunteik - Apr-09-2017, 11:51 AM - Forum: General Coding Help - Replies (1)

There are many ways to render object on the screen,such as using  VAO/VBO and glbegin/glend,but how do I destroy them or remove them from the scene?
..... More

Print this item

  Scrollbar problem & general organization
Posted by: weatherman - Apr-09-2017, 09:54 AM - Forum: GUI - Replies (13)

Below is the relevant portion of code that I would like some assistance with. Eventually I throw a ton of scale widgets on the Frame, but I am unable ..... More

Print this item

  Why do we learn singletons in python?
Posted by: Qubayel - Apr-09-2017, 09:02 AM - Forum: General Coding Help - Replies (3)

my question here
I just learn singletons and what i know is the main purpose is that you can create a unique instance of a particular type

But wha..... More

Print this item

  [Pygame] Avoid SentDex pygame tutorials
Posted by: georgecoopers - Apr-09-2017, 08:26 AM - Forum: Game Development - Replies (1)

Yesterday I created this game, called "Space Invader Attack". After feedback from a previous game i made i realized that the techniques and concepts i..... More

Print this item

  [Flask]Bootstrap node npm gulp bower
Posted by: snippsat - Apr-08-2017, 11:25 PM - Forum: Web Tutorials - Replies (1)

In this tutorial gone run a Bootstrap template in Flask,just pick one on first ..... More

Print this item

  Desigining Data-Intensive Applications
Posted by: Larz60+ - Apr-08-2017, 09:42 PM - Forum: News and Discussions - No Replies

Walked into Barnes and Noble this afternoon (which is always an expensive stop), and
walked out with a newly published book (title is post heading). ..... More

Print this item

  Help with "getopt" module
Posted by: fastfusion - Apr-08-2017, 09:00 PM - Forum: General Coding Help - Replies (4)

I really need help with the getopt module.
I'm trying to follow the "Blackhat Python" book and I am trying to make a Netcat replacement.
In it, I need..... More

Print this item

  Exception not thrown in python3
Posted by: ONEoo7 - Apr-08-2017, 08:34 PM - Forum: General Coding Help - Replies (7)

Why does the call of inclusive_range() at line 71 not throw an exception and instead it prints "Test FAILED"?

[python]
def test(*args):
    print..... More

Print this item

  RPG game trouble
Posted by: J125 - Apr-08-2017, 05:38 PM - Forum: Homework - Replies (8)

Hi, 

I'm a bit out of my depth here, but suppose that's the best way to learn. I'm trying to create an RPG game where a hero goes against 6 enemies..... More

Print this item

  Low level
Posted by: harrington40 - Apr-08-2017, 04:36 PM - Forum: General Coding Help - Replies (1)

Hello 
 I have a small and short questions. I'm  familar with python ,however I have no idea
how to manipulate python in linux, specially dealing wi..... More

Print this item

  Opportunity in Portland: Sr. Python Engineer
Posted by: DavidatSDS - Apr-08-2017, 03:10 PM - Forum: Jobs - No Replies

Senior Python Software Engineer
Portland, Oregon, United States

Looking to be part of the future in artificial intelligence and machine learning? ..... More

Print this item

  bash to python: keep.py
Posted by: Skaperen - Apr-08-2017, 07:27 AM - Forum: Code sharing - No Replies

this is my latest rewrite of a bash script which is a command called keep which is a quick command to keep a spare copy of a file.  i am..... More

Print this item

  snippet: dp and pv
Posted by: Skaperen - Apr-08-2017, 07:17 AM - Forum: Code sharing - No Replies

i have this saved as dppv,py ready to insert into projects where i need this level of debugging.  the dp() function is just like print except that if ..... More

Print this item

  help in hoemwork
Posted by: maayan11 - Apr-08-2017, 05:47 AM - Forum: Homework - Replies (15)

hello:)
in my home work I need to write a code that sum the digits of number.
for example if the original number is 563 the function will return- 5 ..... More

Print this item

  Temperature Code help?
Posted by: 20AJ0931 - Apr-07-2017, 11:22 PM - Forum: General Coding Help - Replies (2)

Why is this working? -

[python]
import wmi

w = wmi.WMI(namespace="root\OpenHardwareMonitor")
    temperature_infos = w.Sensor()
    for senso..... More

Print this item

  Automation Scripts
Posted by: Teej82 - Apr-07-2017, 08:59 PM - Forum: Web Scraping & Web Development - Replies (4)

[color=#555555][size=x-small][font=Arial, sans-serif][size=xx-large][size=medium]I'm interested in seeing if I can write a software testing automation..... More

Print this item

  how to dynamically add objects to pyqt window
Posted by: LavaCreeperKing - Apr-07-2017, 08:43 PM - Forum: GUI - Replies (1)

I need to be able to dynamically add an object like a label to my window. How do I do that? Here is the code that I have.
[python]class Main(QtGui.QM..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 44 minutes ago Robots DeaD_EyE Networking
  Check if running from she... 53 minutes ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Today, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 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...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580460
  Tutorial Requ... 519890
  Web Scraping ... 442794
  Newbie with P... 387005
  New Users Int... 386716
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
CarlApome Today
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday

User Panel Messages

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