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,061

Full Statistics

Online Users
There are currently 447 online users.
» 2 Member(s) | 436 Guest(s)
Applebot, Bing, Baidu, Mojeek, Yandex, Google, Facebook, AOL, ChauHaiCim9904, Gribouillis

Latest Threads
Problem Converting Tradin...
Forum: General Coding Help
Last Post: wallneradam
1 hour ago
» Replies: 2
» Views: 2,738
2D-Cube-Tic-Tac-Toe
Forum: Game Development
Last Post: barrelmarble
1 hour ago
» Replies: 1
» Views: 1,852
PyQT5 Thread crashes afte...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 08:17 PM
» Replies: 2
» Views: 3,053
List[] in Python needs so...
Forum: Game Development
Last Post: miajones
Yesterday, 11:14 AM
» Replies: 2
» Views: 354
Unable to install pygame ...
Forum: Game Development
Last Post: Thatedge
Yesterday, 08:09 AM
» Replies: 2
» Views: 2,075
can't use pyrepl: bad mag...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 05:53 AM
» Replies: 2
» Views: 236
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 494
[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,385
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 142

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Problem Converting Tradin... 1 hour ago kralxs wallneradam General Codin...
  2D-Cube-Tic-Tac-Toe 1 hour ago freethrownucleus barrelmarble Game Developm...
  [PyQt] PyQT5 Thread crash... Yesterday, 20:17 Suresh Axel_Erfurt GUI
  List[] in Python needs so... Yesterday, 11:14 Codingdesigner12 miajones Game Developm...
  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...
  tracking version during r... 06-24, 04:15 Skaperen DeaD_EyE News and Disc...
Most views
  The best Prog... 572347
  Tutorial Requ... 484989
  Web Scraping ... 436871
  Newbie with P... 379707
  Thread remain... 351238
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
metulburr 6
python 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