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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 46 Guest(s)
Google, Bing, AOL

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Today, 10:18 AM
» Replies: 1
» Views: 55
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Today, 09:52 AM
» Replies: 11
» Views: 266
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 09:41 AM
» Replies: 3
» Views: 108
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 236
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 92
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,603
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 190
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 174
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,919
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,410

 
  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

  Match a table with sub-total values to its detail value table
Posted by: klllmmm - May-13-2017, 05:52 AM - Forum: Data Science - Replies (2)

I have two tables one with details (Date & Value) & the other with sub totals (Date, SubTotalValue & Referance).
I'm searching for a way to match the..... More

Print this item

  getters and setters
Posted by: Skaperen - May-13-2017, 01:06 AM - Forum: General Coding Help - Replies (10)

the "Raymond Hettinger - Beyond PEP 8 -- Best practices for beautiful intelligible code - PyCon 2015[[url=https://python-forum.io/thread-3307.html]..... More

Print this item

  Saving data from each row into separate txt
Posted by: kiton - May-12-2017, 09:23 PM - Forum: Data Science - Replies (7)

Hello dear forum members,

I am seeking your help with the following task. I have a data frame, in which column -fips- contains a 5 digit number and..... More

Print this item

  What is the difference between parenthesis and no parenthesis in head and tail?
Posted by: kulimer - May-12-2017, 07:48 PM - Forum: Data Science - Replies (7)

My first week using Python. I am a little confused about if I should use parenthesis or not when doing head and tail

Suppose I have variable df as a ..... More

Print this item

  Get return text from a failed script
Posted by: jonesin1974 - May-12-2017, 07:10 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm new to Python and I'm trying to run a their script.  It works a treat, however, if I use it too much, I get an error saying I've breached t..... More

Print this item

  Use OpenCV within FLASK
Posted by: Krokizo - May-12-2017, 06:12 PM - Forum: General Coding Help - Replies (3)

Hi everyone, I would like to know if it is possible to run this code in my Flask app and turn on users camera to detect their faces. I tried but the s..... More

Print this item

  dice game im stuck
Posted by: sylerr - May-12-2017, 05:59 PM - Forum: Homework - Replies (3)

Hey, I just joined this forum and I have a controlled assessment which we're allowed to use the internet for help and my question is, how would I allo..... More

Print this item

  probably a easy problem for you
Posted by: krheigh - May-12-2017, 05:58 PM - Forum: General Coding Help - Replies (4)

hi
im a total noob on this! but anyway... im trying to build a temp monitor for my reef tank. 
based on a rpi with lcd hat (non rgb)




[pytho..... More

Print this item

  Python3x, from_import(name, from) function
Posted by: harun2525 - May-12-2017, 05:32 PM - Forum: General Coding Help - Replies (6)

is there a function like this ?

change_directory_func = from_import("chdir", "os")

Print this item

  Search and Sort Shapefiles
Posted by: babakkasraie - May-12-2017, 03:39 PM - Forum: General Coding Help - Replies (5)

Hello 
How can I search my shapefiles using python codes to find all shapefiles that start with for instance "landuse" and show the results in a mess..... More

Print this item

  incomplete registration
Posted by: Low_Ki_ - May-12-2017, 12:08 AM - Forum: General Coding Help - Replies (5)

I know you guys have seen me post questions on registration programs... This is, I have not completed one that I actually like. It will be the start o..... More

Print this item

  PIR Sensor to control screensaver
Posted by: toothie96 - May-11-2017, 09:29 PM - Forum: General Coding Help - Replies (5)

Hi All!

I'm fairly new to programming, and am currently trying to build a 'magic mirror' for my partners 21st birthday present. As part of this i'm..... More

Print this item

  Slicing to a file
Posted by: Liquid_Ocelot - May-11-2017, 09:05 PM - Forum: Homework - Replies (11)

Hey everyone just a quick question. I need to omit lines from a file where the number of lines is dictated by the user input then save it as a new fil..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Today, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Today, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Today, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578806
  Tutorial Requ... 509766
  Web Scraping ... 441908
  Newbie with P... 385899
  New Users Int... 375919
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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