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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 36 Guest(s)
Google, Internet Archive, AOL

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 1
» Views: 66
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,169
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 07:53 PM
» Replies: 1
» Views: 74
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,621
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 178
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,613
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 255
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,631
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 226
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 373

 
  Walking the python call stack without leaks
Posted by: Larz60+ - May-16-2017, 05:28 PM - Forum: Code sharing - No Replies

If you ever wondered how the call traceback works, you need to know how the python code stack
is structured.

Each frame in the python call stack i..... More

Print this item

  Noob question about python and Maxplus
Posted by: Strator - May-16-2017, 05:07 PM - Forum: General Coding Help - No Replies

Hi guys :)

I hope I'm the right place to ask my question! Sorry i'm VERY noob at this so be gentle :p

I try to do a tool in python. So I managed..... More

Print this item

  IndexEroor : index out of range
Posted by: adithyakrish - May-16-2017, 04:55 PM - Forum: Data Science - Replies (7)

This is the error I get when I try running a certain program. The fun part is the program runs successfully in Windows but displays this error in Ubun..... More

Print this item

  Encryption service
Posted by: ahoneycutt - May-16-2017, 04:21 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I have recently made an encryption service in django and am interested in having some people try it out. I'm testing to see how usable this ..... More

Print this item

  sqlite3 insert issue
Posted by: gohanzdad - May-16-2017, 04:19 PM - Forum: General Coding Help - Replies (1)

I am playing around with the sqlite3 module in preparation for a project I'm going to be working on.  I've used pymysql before without issues, but for..... More

Print this item

  How do you make my code continue going ?
Posted by: TheSpalekUk - May-16-2017, 03:35 PM - Forum: General Coding Help - Replies (2)

Hello! i just coded a rock paper scissors game but i have one issue...
The whole code is completely okay but when i input Rock paper or Scissors in i..... More

Print this item

  Automatically updated graph in jupyter notebook using qt5
Posted by: capponero - May-16-2017, 03:08 PM - Forum: Data Science - No Replies

Hey guys,

how to do this in jupyter notebook:

[python]

%matplotlib notebook
import numpy as np
import matplotlib.pyplot as plt
 
m = 100..... More

Print this item

  Recursive function
Posted by: janek30 - May-16-2017, 02:51 PM - Forum: Homework - Replies (1)

How to change this code to recursive code...

[python]def search(myList, number):
    for i in myList:
        if i[0] == number:
            ret..... More

Print this item

  error no 2: no such file
Posted by: panoss - May-16-2017, 12:10 PM - Forum: General Coding Help - Replies (4)

I 've made an exe with Pyinstaller.
But when I try to run it, I get an error: error no 2: no such file or directory: 'betws.ui'
This is the name of ..... More

Print this item

  access a very large file? As an array or as a dataframe?
Posted by: Angelika - May-16-2017, 11:53 AM - Forum: Data Science - Replies (5)

Good morning. I have just found this forum and I am really very glad.
I have a project to do which relates to unsupervised machine learning so I use ..... More

Print this item

  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1
Posted by: bmohanraj91 - May-16-2017, 11:35 AM - Forum: General Coding Help - Replies (6)

Hi all,

In my linux pepper mint system there are three versions of python installed

Python 2.7.12

Python 3.5.2

Python 3.6.1

I needed s..... More

Print this item

  How to include folder in exe with Pyinstaller?
Posted by: panoss - May-16-2017, 11:02 AM - Forum: Web Scraping & Web Development - No Replies

I 'm trying to include a folder containing phantomjs in my exe I' making with Pyinstaller.
I' using this code: [color=#000000][font=Courier New]Tree(..... More

Print this item

  CSV file with irregular structure
Posted by: ulrich48155 - May-16-2017, 10:40 AM - Forum: Homework - Replies (9)

[color=#222222]I got a CSV file with about 500.000 lines of twitter tweets. The file is structured as follows:..... More

Print this item

  Someone explains to me how this works please
Posted by: franklee809 - May-16-2017, 08:37 AM - Forum: Homework - Replies (2)

my question here

Q4.  Ask the user for a sentence and print out a table of words in that sentence. The words should be printed alphabetically with ..... More

Print this item

  a preferred choice os the two lines?
Posted by: Skaperen - May-16-2017, 06:29 AM - Forum: General Coding Help - Replies (9)

is there a preferred way of coding stuff like this (choose one line of these two):

[python]working_column = self.columns[-1] if len(self.columns) >..... More

Print this item

  I can't locate Python Text Editor
Posted by: Rahulsunv - May-16-2017, 01:55 AM - Forum: General Coding Help - Replies (2)

I have downloaded Python version 3.4.3 
Shell and IDLE are both available but can't locate Python Text Editor. May be it isnt downloaded.
Please hel..... More

Print this item

  QIcon not displaying
Posted by: metulburr - May-16-2017, 01:35 AM - Forum: GUI - Replies (7)

Im running through PyQt5 tuts and came across a couple of tutorials that use QIcon. I cant get anything given to QIcon to work at all whether its thro..... More

Print this item

  Python for Scientists and Engineers now free
Posted by: nilamo - May-16-2017, 12:52 AM - Forum: News and Discussions - No Replies

http://pythonforengineers.com/python-for...engineers/

Print this item

  PyGtk3, No Module Named gi, on python3.5 on Windows
Posted by: harun2525 - May-15-2017, 10:34 PM - Forum: GUI - Replies (8)

hi i have a great problem I insalled python3.5 and deleted python3.4 and installed pygobject3.18.2 on python3.5 64 bit but after installation, when I ..... More

Print this item

  I need help with my code!
Posted by: TheSpalekUk - May-15-2017, 04:59 PM - Forum: General Coding Help - Replies (3)

i was trying to make a code that would ask me to register my email username and password.
the register part on this code goes well... but i have one i..... More

Print this item

  How to use a module as dict ?
Posted by: harun2525 - May-15-2017, 04:58 PM - Forum: General Coding Help - Replies (4)

is it possible to add dictionary property to module.  we can add dictionary property to classes with adding __getitem__ method. i hope we can do that ..... More

Print this item

  How to get parent directory from existing func not user func ?
Posted by: harun2525 - May-15-2017, 02:45 PM - Forum: General Coding Help - Replies (3)

i know we can make us own function for do this with several os.path functions. but if there is a any existing function for do this, i want to use it

..... More

Print this item

  Pandas null values
Posted by: rmichalowski - May-15-2017, 02:09 PM - Forum: Data Science - Replies (3)

Hello,

I want to iterate through a dataframe and check for a null value:

for i, row in df.iterrows():
   if row['Some column'] is not null:
  ..... More

Print this item

  Can't figure this one out
Posted by: Stefython - May-14-2017, 07:39 PM - Forum: General Coding Help - Replies (6)

I'm brand new to programming, busy practicing some coding. What am I doing wrong here? Confused 

[python]
>>>farm_equipment = ["jd r4038", "jd..... More

Print this item

  Sentiment Analysis with NLTK Vader - Writing data in one row
Posted by: ulrich48155 - May-14-2017, 07:02 PM - Forum: Homework - Replies (1)

Hello python experts,

for an university project I want to do an sentiment analysis of twitter tweets with the NLTK package. Therefore, my code look..... More

Print this item

  Remainder Operation
Posted by: Babbare - May-14-2017, 04:19 PM - Forum: Homework - Replies (1)

Here's the question and below I will post my response, but I am having a difficult time using the % operation.
4. Write a program named [b]program24...... More

Print this item

  decorate an imported function?
Posted by: Skaperen - May-14-2017, 09:46 AM - Forum: General Coding Help - Replies (3)

is it possible to decorate a function that came with an imported module?  if so ... how?  what can be done this way?

Print this item

  what is this doc page for
Posted by: Skaperen - May-14-2017, 05:49 AM - Forum: News and Discussions - Replies (8)

i ran across this page while reading about decorators, can someone tell me what it is f..... More

Print this item

  thread pool
Posted by: Frankie - May-14-2017, 03:50 AM - Forum: Data Science - Replies (5)

I want to use thread pool to speed up the process. Though there is no error in compilation, 'entering calc' is not displayed. Is my code correct?
Mor..... More

Print this item

  String to Floating Point Question
Posted by: Babbare - May-14-2017, 01:22 AM - Forum: Homework - Replies (2)

What is the name of the function that converts a string to a floating point number?

I have read about 40-pages of my textbook for this answer, and ..... More

Print this item

  Function Help
Posted by: gygy8 - May-13-2017, 09:52 PM - Forum: Homework - Replies (1)

Can someone write a guide to these questions in English?

https://youtu.be/FQw_npHtpXI

1. Write a function that accepts 2 lists of numbers. The funct..... More

Print this item

  igraph and jgraph
Posted by: Bani - May-13-2017, 07:25 PM - Forum: General Coding Help - Replies (4)

Hi,

I use linux xubuntu (32 bit).
I have python 3.5. I installed igraph using the command below:

[python]sudo apt-get install python3-pip
sudo pip3 ..... More

Print this item

  I can't import own package of file from file.
Posted by: harun2525 - May-13-2017, 07:06 PM - Forum: General Coding Help - Replies (4)

[python] 
myapp
  | subdir
  |   |  myfile.py
  |   |
  | sample.py


# myfile.py
from .. import subdir # giving relative import error!

[/..... More

Print this item

  Image : center and resizing
Posted by: vvv - May-13-2017, 06:52 PM - Forum: General Coding Help - Replies (1)

Hi All,

i am trying to resizing the handwritten letter to 30x30 pixel using python.

In mspaint , i draw a letter "A" and try to resize the lette..... More

Print this item

  Heat equation (not stationary)
Posted by: Zulian - May-13-2017, 07:19 AM - Forum: Homework - Replies (8)

Good morning,

I would be very greatful if someone take the time to help me.
I have a scientific research study to deal with, my topic is : The the ev..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 5 hours ago BioNanoTech Pedroski55 General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Check if running from she... Yesterday, 19:53 rjdegraff42 DeaD_EyE General Codin...
  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... 580465
  Tutorial Requ... 519982
  Web Scraping ... 442797
  Newbie with P... 387013
  New Users Int... 386758
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
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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