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,939
» Latest member: goodvicent
» Forum threads: 38,723
» Forum posts: 175,512

Full Statistics

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

Latest Threads
NEED HELP, LOST OF INVEST...
Forum: General Coding Help
Last Post: goodvicent
59 minutes ago
» Replies: 0
» Views: 22
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
6 hours ago
» Replies: 11
» Views: 4,019
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 527
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,482
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 877
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,358
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,219
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,428
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,398
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,537

 
  Global vs local variable
Posted by: mquesnel - Jan-12-2018, 03:01 PM - Forum: General Coding Help - Replies (11)

Hi I'm a teacher and I just began learning Python so I can show some tips to my students. I code a little math game and I have an issue with global vs..... More

Print this item

  Data Science and Machine Learning sub-forum
Posted by: Beliavsky - Jan-12-2018, 02:49 PM - Forum: Board - Replies (17)

In the Python Coding forum there are sub-forums for GUI, Game Development, Networking, Web Development. Since Python is one of the main languages used..... More

Print this item

  How to implement OneHotEncoder for Multiple Categorical Columns?
Posted by: python_newbie09 - Jan-12-2018, 01:10 PM - Forum: Data Science - No Replies

Hi, I am trying to convert the car evaluation dataset from the UCI repository to implement a KNN algorithm on it and I need to first convert the categ..... More

Print this item

  Why doesn't this code work?
Posted by: hsezgin - Jan-12-2018, 01:08 PM - Forum: General Coding Help - Replies (4)

Hello everyone,
The following code didn't work while exercising on the lists. Could you tell me why the code doesn't work?

[python]
l=list(range(..... More

Print this item

  Spyder: ndarray object of numpy module error
Posted by: python_newbie09 - Jan-12-2018, 11:11 AM - Forum: Homework - Replies (6)

Hi all,

I am going through the ML A-Z course on udemy to help me solve an assignment and I am at the stage of preprocessing my data at the moment. ..... More

Print this item

  telnet unexpected output printing
Posted by: anna - Jan-12-2018, 11:11 AM - Forum: General Coding Help - Replies (3)

Hi there, manual telnet is showing below output, however my program is not showing telnet output, please suggest changes.

Manual Telnet

C..... More

Print this item

  file upload from windows10 machine using send_key in selenium fails
Posted by: nithya_g - Jan-12-2018, 09:31 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I am using python2.7.6, selenium 3.8.1, Windows 10 and Chrome browser

When I upload a file using selenium send_keys command, it fails with F..... More

Print this item

  Separate python from anaconda in cmd
Posted by: Prince_Bhatia - Jan-12-2018, 08:13 AM - Forum: General Coding Help - Replies (2)

hi,

I was installing anaconda was reading some comments on general websites. it said to run this command (SETX Path "%PATH%;C:\Users\honey\Anaconda..... More


Attached Files

Thumbnail(s)
   
Print this item

  Quod Libet 4.0 (music)
Posted by: dvs1 - Jan-12-2018, 07:34 AM - Forum: News and Discussions - No Replies

[quote]Quod Libet is a music management program. It provides several different ways to view your audio library, as well as support for Internet radio ..... More

Print this item

  about cmp fun
Posted by: Sandesh - Jan-12-2018, 06:54 AM - Forum: General Coding Help - Replies (10)

why cmp() fun wll not work in python 3?

Print this item

  JSON TypeError: list indices must be integers, not str
Posted by: SmoZy - Jan-12-2018, 04:42 AM - Forum: General Coding Help - Replies (1)

Hello, Sorry for disturbing you but I need some help with my code.

I am trying to list all crypto currencies with a Base Volume > 200.
When I try ..... More

Print this item

  setup.py not including file in wheel
Posted by: camerondevine - Jan-12-2018, 02:17 AM - Forum: Data Science - No Replies

I am attempting to write a setup.py file for a python package that is created by compiling C++ code wrapped using SWIG. I currently have the directory..... More

Print this item

  Reddit Bot comes up with no errors but wont actually run
Posted by: Rubix3D - Jan-12-2018, 12:53 AM - Forum: General Coding Help - No Replies

Code can be found here: https://pastebin.com/wwCXV83V

I go into the directory that the .py file is in and type "python TTBot.py" it waits a few sec..... More

Print this item

  need algorithm to strip non-ascii characters from LONG csv file
Posted by: hereathome - Jan-12-2018, 12:00 AM - Forum: General Coding Help - Replies (3)

The Canadian Census offers some interesting csv files that are legally free to download and can lead to some fun doing data analysis. Sadly, these fil..... More

Print this item

  install pdfminer
Posted by: tkj80 - Jan-11-2018, 11:48 PM - Forum: General Coding Help - Replies (2)

Hi,

I tried to install pdfminer.
I used the following code on cmd: C:\Downloads> python -m pip install pdfminer.

However I got the following er..... More

Print this item

  Program fishstore()
Posted by: Truman - Jan-11-2018, 11:27 PM - Forum: Homework - Replies (2)

my assignment is:
create and test fishstore()
fishstore returns a string in sentence form
gather input to fish_entry and price_entry to use in calling..... More

Print this item

  Extract SQL Query Results in Python
Posted by: boobalganesan - Jan-11-2018, 06:58 PM - Forum: General Coding Help - Replies (3)

How to extract query results of an SQL in a comma delimited string variable in Python

conn = ora.connect("HR", "oracle", "localhost/xe")
cur=conn...... More

Print this item

  pandas: assemble data to have samples
Posted by: sdcompanies - Jan-11-2018, 06:41 PM - Forum: Data Science - Replies (2)

Hello to all,
I'm new here, and I admit I'm a newbie about Pandas library.

I'm looking around, and also I read some good books (like ..... More

Print this item

  Unable to select iframe using selenium
Posted by: endejoli - Jan-11-2018, 05:00 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to automate login process for web page https://hpconnected.com/en/us, login form is an iframe and I am trying to switch to iframe using th..... More

Print this item

  Loading HUGE data from Python into SQL SERVER
Posted by: Sandeep - Jan-11-2018, 03:37 PM - Forum: Data Science - Replies (2)

Hi All,

I have used the below python code to insert the data frame from Python to SQL SERVER database.But when I am using one lakh rows to insert t..... More

Print this item

  To keep electronics on or off for longevity
Posted by: metulburr - Jan-11-2018, 12:58 PM - Forum: Bar - Replies (19)

My main question is for a LED LCD TV.

I usually keep all my electronics on 100% of the time. Computers, TVs, monitors, etc.

A couple of months ..... More

Print this item

  sorting a 2 dimensional array
Posted by: MDB - Jan-11-2018, 12:44 PM - Forum: General Coding Help - Replies (1)

Hey Folks,

i want to sort an array by numbers, like this array for example


[python][['B', '-50', '-30', '-8', '1000'],
['T', '-60',..... More

Print this item

  How dont' show hidden system files
Posted by: Mike Ru - Jan-11-2018, 12:30 PM - Forum: General Coding Help - Replies (5)

I'm using Windows now. I would like know how I can don't show hidden files in Windows. For example:
[python]
import os
print(os.listdir(r'C:/Users/..... More

Print this item

  Need to find a mistake in my code
Posted by: boris602 - Jan-11-2018, 12:26 PM - Forum: General Coding Help - Replies (3)

[python]A=Matrix([[1,2,0],[4,5,0],[7,8,9]]);A
def Kostenmatrix(A):
C=Matrix(A.nrows(),[])
for i in range(0.A.nrows()):
for j in ra..... More

Print this item

  stupid > comparison question
Posted by: adetheheat - Jan-11-2018, 12:22 PM - Forum: General Coding Help - Replies (2)

I have a list with a value of 4 at index 2. I compare this with a value of 200 to see if it is greater ... and strangely it says it is:

eg
[python..... More

Print this item

  int(variable) not changing variable to an integer
Posted by: StoopidChicken - Jan-11-2018, 09:59 AM - Forum: General Coding Help - Replies (2)

For whatever reason the below code runs the command int(ans), but ans is not an integer when checked.
[python]def intCheck(num):
try:
i..... More

Print this item

  Outputting a float value in a print() statement
Posted by: RedSkeleton007 - Jan-11-2018, 07:24 AM - Forum: General Coding Help - Replies (2)

For some reason, it's not letting me concatenate a float in my print statement on line 6:

[python]
#!/usr/bin/env python3
#BasicUserInterface.py..... More

Print this item

  Homework - Read from/Write to file (renamed from Help help help)
Posted by: Amitkafle - Jan-11-2018, 07:17 AM - Forum: Homework - Replies (1)

1. Scenario
An electronic store which sells electronic appliances maintains its inventory in
a text file. An application needs to be developed which..... More

Print this item

  Django webascraping
Posted by: Prince_Bhatia - Jan-11-2018, 06:11 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,

I know webscraping in python using BeautifulSoup, but now i wish to create same webscraper in Django? Like after scraping data , display result..... More

Print this item

  How to run unix command in python
Posted by: soubalaji - Jan-11-2018, 05:17 AM - Forum: General Coding Help - Replies (1)

Hi all,

I am new to python and have a query in python as, how to run unix find command and need the output in a list.

I want to run this unix comman..... More

Print this item

  Getting error in finding time.time() value in python
Posted by: Lakshana - Jan-11-2018, 04:35 AM - Forum: General Coding Help - Replies (1)

[python]while True:

Signal=mcp.read_adc(adc_number) # The read_adc function will get the value of the specified channel and the Signal will ho..... More

Print this item

  How do you sort a table by one column?? (of floats)
Posted by: sortedfunctionfails - Jan-11-2018, 03:09 AM - Forum: General Coding Help - Replies (3)

Been struggling all day to figure this out, every guide online only shows how to use the sorted() function to change a table by a column alphabeticall..... More

Print this item

  Code help!
Posted by: aka2d7 - Jan-11-2018, 01:29 AM - Forum: Homework - Replies (7)

Hello Gurus,

I need some help with this experience that can help direct me to completing this exercise, however I need someone that can help me reall..... More

Print this item

  using eclispe and e = xml.etree.ElementTree.parse
Posted by: nickhere - Jan-11-2018, 12:59 AM - Forum: Web Scraping & Web Development - Replies (9)

my code is this
e = xml.etree.ElementTree.parse©.getroot()
under e in the debugger
it shows attrib
under that it shows id
and it a string val..... More

Print this item

  Tkinter widgets driving Arduino uno output pins
Posted by: woodcncwnc - Jan-11-2018, 12:00 AM - Forum: GUI - Replies (3)

Program is partial working. I am able to turn pin 13 on and off. What I am trying to do is have "true" feed back when the pin changes state. I am try..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP, LOST OF INVEST... 59 minutes ago goodvicent goodvicent General Codin...
  403 Error 6 hours ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576382
  Tutorial Requ... 498130
  Web Scraping ... 440278
  Newbie with P... 384148
  New Users Int... 367097
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
goodvicent Today
atylerfraces2254 Today
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday

User Panel Messages

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