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,303
» Latest member: TimTom420
» Forum threads: 38,797
» Forum posts: 175,898

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google, Mojeek, Facebook, Applebot

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 2
» Views: 73
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,799
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Yesterday, 02:09 AM
» Replies: 7
» Views: 628
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 123
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 103
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 183
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,209
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 300
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 186
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 114

 
  HELP! writing to csv file repeats, but code looks good.
Posted by: TheBeast - Mar-26-2019, 08:21 PM - Forum: Data Science - Replies (2)

###If you run the code before the two "write" chuncks, then everything works out. What in the heck is going wrong when the scrape is coped to excel?!?..... More

Print this item

  Package Update without Internet Access on Host
Posted by: pythonator - Mar-26-2019, 07:24 PM - Forum: News and Discussions - Replies (3)

I can't seem to find an answer to the question of how to update packages when I cannot use pip due to no internet access on box. I have been installi..... More

Print this item

  Appending To Files Challenge
Posted by: erfanakbari1 - Mar-26-2019, 06:17 PM - Forum: Homework - Replies (3)

# I Write a program to append the times table for our poem in sample.txt .
So , this is all of my code

[python]
numbers = ..... More

Print this item

  please help me TypeError: unsupported operand type(s) for +=: 'int' and 'list'
Posted by: aankrose - Mar-26-2019, 04:05 PM - Forum: General Coding Help - Replies (2)

Question:
File input.txt contains numbers separated by comma as shown below,

Output:
6,8 7,6 2,8 9,5 9,6
a. Write a function co..... More

Print this item

  Save code with output to HTML file type
Posted by: agohir - Mar-26-2019, 03:29 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm new to using JupyterLab and was wondering if someone knows how I can save my code & output as HTML so I can view it later.

Unfortunat..... More

Print this item

  Pandas .rolling() with some calculations inside
Posted by: irmscher - Mar-26-2019, 03:29 PM - Forum: Data Science - Replies (5)

Hey guys

So in short, my Pandas dataframe is something like this:

https://www.dropb[url=https://python-forum.io/thread-17054.html]..... More

Print this item

  Getting syntax error, no clue why
Posted by: KaynRyu - Mar-26-2019, 02:08 PM - Forum: General Coding Help - Replies (4)

I dont know if I am just dumb and not seeing what is going on but I am so confused.....

the issue I am having is
[python] birthday = input("Have ..... More

Print this item

  Background Execution Process
Posted by: sunnyarora - Mar-26-2019, 02:08 PM - Forum: Bar - Replies (3)

Hi Could you please explain how can we see live execution process of codes in PyCharm?

Print this item

  how to code in Python "where" clause of SAS
Posted by: FelixS - Mar-26-2019, 01:47 PM - Forum: General Coding Help - Replies (2)

I am newcomer in Python, I am expert in SAS, I have heard that Python is much more ... better than SAS.
I am now trying to create in Python product..... More

Print this item

  Trouble converting JSON String to Dictionary
Posted by: RBeck22 - Mar-26-2019, 12:36 PM - Forum: General Coding Help - Replies (7)

Hello All:

I am fairly new to python, so

I have a small app that pulls data from REST using requests this returns a response object that I conve..... More

Print this item

  recursion
Posted by: mcgrim - Mar-26-2019, 11:00 AM - Forum: Data Science - Replies (1)

I am writing a program dealing with recursion, so far the info given is
n, n+1, n+2, n+3. I have to reach 1000.
I have done it by using the list m..... More

Print this item

  Any good source to learn GUI
Posted by: rturus - Mar-26-2019, 10:49 AM - Forum: GUI - Replies (2)

Hi all,

Any good source to learn GUI with Tkinter? Websites will be useful but any other source will be appreciated.

Thanks.

Print this item

  Print random musik to wav file
Posted by: Pereskia - Mar-26-2019, 10:25 AM - Forum: General Coding Help - Replies (2)

I need to generate a set of random music files in wav format. I need to save information about which notes I play and the duration it have in a separa..... More

Print this item

  Return not vowels list
Posted by: erfanakbari1 - Mar-26-2019, 08:47 AM - Forum: Homework - Replies (2)

Hey there !
Since today , I've been trying to write a program doing this thing below :

[python]
'''
Create a program that takes some text and re..... More

Print this item

  str in str == True
Posted by: speedskis777 - Mar-26-2019, 08:15 AM - Forum: General Coding Help - Replies (7)

Why do my 3rd and 4th lines give different results? 3 prints True, 4 prints False.

Thanks!

[python]blue = "lm"
my_size = "l"
print(my_size in..... More

Print this item

  Help on locating strings somewhere in the screen
Posted by: samsonite - Mar-26-2019, 08:01 AM - Forum: General Coding Help - Replies (2)

The following code, taken as an example, shows the string in left upper corner while the time flows:
[code]
# ------- loctime.py -------------
impo..... More

Print this item

  Download images generated by user input
Posted by: one_of_us - Mar-26-2019, 07:58 AM - Forum: Web Scraping & Web Development - No Replies

I'm building an web app that allows users to download images based on they input. The main url is constant, the filename is known by user and is used ..... More

Print this item

  How to use pandas.rolling mean for 3D input array?
Posted by: Prv_Yadv - Mar-26-2019, 05:02 AM - Forum: Data Science - Replies (1)

For 1D I can use:

a=np.array([1,2,3,4])
b=pandas.Series(a).rolling(window=3,center=True).mean()
But the problem is, if I have ar..... More

Print this item

  Error when trying to use Selenium
Posted by: ejected - Mar-26-2019, 02:14 AM - Forum: Web Scraping & Web Development - Replies (1)

Pretty sure it has something to do with the run permissions of it but I don't know how to fix it. I'm very new to Python so please dumb down your repl..... More

Print this item

  Please help to the beginer
Posted by: polo - Mar-26-2019, 02:06 AM - Forum: General Coding Help - Replies (4)

Hi all,
I am struggling with making
this code:

[python]text = open('input.txt', 'r', encoding='utf8')
for i in text.readlines():
print(re...... More

Print this item

  Easiest way to log into a site for web scraping?
Posted by: ejected - Mar-26-2019, 12:24 AM - Forum: General Coding Help - Replies (2)

What is the easiest way to log into a site to web scrape some data?

I tried using RoboBrowser and I can't get it to log in. What are some other way..... More

Print this item

  Playing mp3 file to specific device
Posted by: treii28 - Mar-25-2019, 09:07 PM - Forum: General Coding Help - Replies (3)

I'm new to python but want to try converting an ESP32 project to work on a Raspberry pi and most suggestions say python is the way to go for IoT devel..... More

Print this item

  Today is one of those days
Posted by: Larz60+ - Mar-25-2019, 09:07 PM - Forum: Bar - Replies (6)

If I drank alcohol, I'd order a stiff one!

There's a solid Granite hill directly across the street from me, and a new business that moved in a mont..... More

Print this item

  How do I use this? TypeError: 'NoneType' object does not support item assignment
Posted by: ejected - Mar-25-2019, 08:20 PM - Forum: General Coding Help - Replies (9)

form['user_password'] = config.DATACOUP_PASSWORD
I want to put my own password in there. WITHOUT the config.py file

So I want t..... More

Print this item

  How to plot histogram from 2 arrays?
Posted by: python_newbie09 - Mar-25-2019, 08:12 PM - Forum: General Coding Help - Replies (5)

I have two arrays where the first array shows the unique values extracted from a column and the second array stores the frequency of these unique valu..... More

Print this item

  I get this when trying to install a module - SyntaxError: invalid syntax ?
Posted by: ejected - Mar-25-2019, 07:34 PM - Forum: General Coding Help - Replies (2)

I'm trying to install robobrowser, but when I type this into Python I get an error

[python]>>> easy_install robobrowser
File "<stdin>", line 1
..... More

Print this item

  Running script pops up python.exe but blank
Posted by: Beerendar - Mar-25-2019, 05:40 PM - Forum: General Coding Help - Replies (9)

Hi, I have python 3.7.2 and atom IDE installed on my lenevo laptop AMD processor. Just to see everything works fine i started with "Hello World" progr..... More

Print this item

  Manipulating Series in Dataframe (Pandas)
Posted by: wendysling - Mar-25-2019, 04:24 PM - Forum: Data Science - Replies (2)

Hi,

I have a date column in a data frame that looks like this:

(Year-Month-Day)
2017-09-21
2018-11-25

I am trying to create a function that consid..... More

Print this item

  Join Predicted values with test dataset
Posted by: bhuwan - Mar-25-2019, 04:21 PM - Forum: Data Science - Replies (4)

I am a beginner in machine learning and write my first machine learning code. I have trained a model and got y_pred. Now I want to join x_test with y_..... More

Print this item

  Print out the tuple from the function main
Posted by: whatloop - Mar-25-2019, 09:49 AM - Forum: General Coding Help - Replies (2)

Here i created a function main where i have a list of tuple which store 'Science', 'Math', 'Computer' but when i call the function in line 5 it does..... More

Print this item

  Please point me to some game example projects
Posted by: SugarBoxing - Mar-25-2019, 09:06 AM - Forum: Game Development - Replies (1)

Hi guys

I am just wondering if you can point me towards good and simple examples of python projects.
I did google, but it did not work exac..... More

Print this item

  Cant move object in game
Posted by: mrsneakys - Mar-25-2019, 07:27 AM - Forum: Homework - Replies (1)

Hi guys,
I am working on a "shooting game" where there are 2 players moving up and down and shooting. But i can not make moving single shots.
They a..... More

Print this item

  A dynamically updating screen for PyQt GUI from URL
Posted by: bescf - Mar-25-2019, 06:58 AM - Forum: GUI - No Replies

I work on about developing a Qt GUI using Qt5 and PyQt. I am trying to implement a display screen to Raspberry Pi that will dynamically "live update" ..... More

Print this item

  Read Byte Array from Zigbee coordinator using python
Posted by: jenkins43 - Mar-25-2019, 06:40 AM - Forum: General Coding Help - Replies (3)

Hey, to interface Zigbee coordinator wit..... More

Print this item

  Problem with tkinter search widget
Posted by: poopcupine - Mar-25-2019, 05:22 AM - Forum: GUI - Replies (1)

Hi all,

I am trying to highlight similar documents using tkinter GUI.
I have a dictionary that reads from 2 documents and put similar words into the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 4 hours ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Yesterday, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
Most views
  The best Prog... 579421
  Tutorial Requ... 512498
  Web Scraping ... 442306
  Newbie with P... 386357
  New Users Int... 380534
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday
matt 11-26

User Panel Messages

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